Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Max.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008577/0.0008577, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008048/0.0008048, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9357/0.9357, allocations: 177.1 MB / 202.8 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:686:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.7358/0.7358, allocations: 154.6 MB / 413.8 MB, free: 0.8086 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Integers.Validation.Max,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Integers_Validation_Max",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Integers.Validation.Max,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Integers_Validation_Max",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.894e-06/1.894e-06, allocations: 0 / 0.6181 GB, free: 13.67 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.434e-05/1.623e-05, allocations: 7.016 kB / 0.6181 GB, free: 13.66 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Validation.Max): time 0.001277/0.001293, allocations: 0.7432 MB / 0.6188 GB, free: 12.93 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001009/0.002302, allocations: 0.8938 MB / 0.6197 GB, free: 12.02 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.557e-05/0.002348, allocations: 0 / 0.6197 GB, free: 12.02 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 3.476e-05/0.002382, allocations: 11.86 kB / 0.6197 GB, free: 12.01 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 7.646e-05/0.002459, allocations: 11.88 kB / 0.6197 GB, free: 12 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001612/0.00262, allocations: 39.89 kB / 0.6198 GB, free: 11.96 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 9.304e-05/0.002713, allocations: 83.81 kB / 0.6199 GB, free: 11.88 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001153/0.002828, allocations: 19.97 kB / 0.6199 GB, free: 11.86 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 9.359e-05/0.002922, allocations: 51.89 kB / 0.6199 GB, free: 11.8 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 8.05e-05/0.003003, allocations: 43.88 kB / 0.62 GB, free: 11.76 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 3.418e-05/0.003037, allocations: 8 kB / 0.62 GB, free: 11.75 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 1.771e-05/0.003054, allocations: 12 kB / 0.62 GB, free: 11.74 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 2.958e-05/0.003084, allocations: 19.91 kB / 0.62 GB, free: 11.72 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 3.508e-05/0.003119, allocations: 23.92 kB / 0.62 GB, free: 11.7 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001219/0.003241, allocations: 107.6 kB / 0.6201 GB, free: 11.59 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.274e-06/0.003243, allocations: 0 / 0.6201 GB, free: 11.59 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.814e-06/0.003245, allocations: 0 / 0.6201 GB, free: 11.59 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.298e-06/0.003249, allocations: 0 / 0.6201 GB, free: 11.59 MB / 0.5886 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0004191/0.003668, allocations: 310.1 kB / 0.6204 GB, free: 11.26 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.633e-05/0.003705, allocations: 8.031 kB / 0.6204 GB, free: 11.25 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.384e-05/0.003739, allocations: 42.75 kB / 0.6205 GB, free: 11.2 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.557e-05/0.003764, allocations: 8.891 kB / 0.6205 GB, free: 11.2 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000101/0.003865, allocations: 117.7 kB / 0.6206 GB, free: 11.05 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.571e-05/0.003881, allocations: 4.375 kB / 0.6206 GB, free: 11.05 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.319e-05/0.003894, allocations: 12.3 kB / 0.6206 GB, free: 11.04 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001914/0.004085, allocations: 109.9 kB / 0.6207 GB, free: 10.93 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.444e-06/0.004093, allocations: 4 kB / 0.6207 GB, free: 10.92 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.03e-05/0.004103, allocations: 0 / 0.6207 GB, free: 10.92 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.609e-06/0.004108, allocations: 0 / 0.6207 GB, free: 10.92 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001882/0.004296, allocations: 95.91 kB / 0.6208 GB, free: 10.83 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003715/0.004668, allocations: 299.8 kB / 0.6211 GB, free: 10.49 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003587/0.005026, allocations: 114.6 kB / 0.6212 GB, free: 10.37 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.713e-05/0.005123, allocations: 56.81 kB / 0.6213 GB, free: 10.31 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.833e-05/0.005142, allocations: 3.938 kB / 0.6213 GB, free: 10.31 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.817e-05/0.00516, allocations: 34.56 kB / 0.6213 GB, free: 10.27 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=7): time 1.102e-06/0.005161, allocations: 0 / 0.6213 GB, free: 10.27 MB / 0.5886 GB Notification: Performance of matching and sorting (n=7): time 0.0003709/0.005532, allocations: 177.5 kB / 0.6215 GB, free: 10.09 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.079e-05/0.005563, allocations: 67.33 kB / 0.6215 GB, free: 10.01 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.916e-05/0.005632, allocations: 121.8 kB / 0.6216 GB, free: 9.879 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.415e-05/0.005646, allocations: 29.7 kB / 0.6217 GB, free: 9.844 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 4.089e-05/0.005687, allocations: 96.06 kB / 0.6218 GB, free: 9.746 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.804e-05/0.005705, allocations: 15.86 kB / 0.6218 GB, free: 9.73 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.565e-05/0.00574, allocations: 25.7 kB / 0.6218 GB, free: 9.699 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.685e-05/0.005817, allocations: 318.8 kB / 0.6221 GB, free: 9.379 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.927e-05/0.005907, allocations: 47.94 kB / 0.6222 GB, free: 9.332 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.046e-05/0.005997, allocations: 55.94 kB / 0.6222 GB, free: 9.277 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001735/0.006171, allocations: 96.72 kB / 0.6223 GB, free: 9.18 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.006172, allocations: 0 / 0.6223 GB, free: 9.18 MB / 0.5886 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002106/0.006383, allocations: 137.5 kB / 0.6224 GB, free: 9.039 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.187e-05/0.006395, allocations: 4 kB / 0.6224 GB, free: 9.035 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.359e-06/0.006399, allocations: 0 / 0.6224 GB, free: 9.035 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.057e-05/0.00641, allocations: 0 / 0.6224 GB, free: 9.035 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.559e-05/0.006485, allocations: 27.97 kB / 0.6225 GB, free: 9.008 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.809e-06/0.00649, allocations: 4 kB / 0.6225 GB, free: 9.004 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.826e-05/0.006538, allocations: 11.92 kB / 0.6225 GB, free: 8.992 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.557e-06/0.006547, allocations: 15.92 kB / 0.6225 GB, free: 8.977 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (reaToInt1.y,reaToInt.y,max1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.506e-05/0.006612, allocations: 118.8 kB / 0.6226 GB, free: 8.852 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.657e-05/0.006629, allocations: 15.89 kB / 0.6226 GB, free: 8.836 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002545/0.006883, allocations: 142 kB / 0.6228 GB, free: 8.688 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.006885, allocations: 0 / 0.6228 GB, free: 8.688 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.489e-06/0.00689, allocations: 4 kB / 0.6228 GB, free: 8.684 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.006893, allocations: 0 / 0.6228 GB, free: 8.684 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001494/0.007042, allocations: 168.6 kB / 0.6229 GB, free: 8.477 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.007044, allocations: 4 kB / 0.6229 GB, free: 8.473 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.825e-05/0.007112, allocations: 23.97 kB / 0.6229 GB, free: 8.449 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.126e-06/0.007115, allocations: 4 kB / 0.623 GB, free: 8.445 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.948e-06/0.007125, allocations: 0 / 0.623 GB, free: 8.445 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.007126, allocations: 0 / 0.623 GB, free: 8.445 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-06/0.007129, allocations: 0.625 kB / 0.623 GB, free: 8.445 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002693/0.007398, allocations: 239.3 kB / 0.6232 GB, free: 8.195 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 1.119e-05/0.007409, allocations: 11.95 kB / 0.6232 GB, free: 8.184 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.417e-05/0.007423, allocations: 4 kB / 0.6232 GB, free: 8.18 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.355e-05/0.007487, allocations: 15.97 kB / 0.6232 GB, free: 8.164 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.345e-05/0.00755, allocations: 23.97 kB / 0.6232 GB, free: 8.141 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.819e-06/0.007555, allocations: 0 / 0.6232 GB, free: 8.141 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 3.866e-05/0.007594, allocations: 95.27 kB / 0.6233 GB, free: 8.047 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.007594, allocations: 0 / 0.6233 GB, free: 8.047 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001629/0.007757, allocations: 19.94 kB / 0.6233 GB, free: 8.027 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (max1.y,reaToInt.y,reaToInt1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005019/0.008259, allocations: 0.7631 MB / 0.6241 GB, free: 7.238 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0002442/0.008503, allocations: 111.8 kB / 0.6242 GB, free: 7.129 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.472e-06/0.008504, allocations: 0 / 0.6242 GB, free: 7.129 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0001046/0.008609, allocations: 63.89 kB / 0.6243 GB, free: 7.066 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002167/0.008826, allocations: 7.984 kB / 0.6243 GB, free: 7.059 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001399/0.01022, allocations: 1.539 MB / 0.6258 GB, free: 5.438 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.775e-05/0.01028, allocations: 75.33 kB / 0.6258 GB, free: 5.344 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 4.84e-05/0.01033, allocations: 12 kB / 0.6259 GB, free: 5.332 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.601e-05/0.0104, allocations: 28.48 kB / 0.6259 GB, free: 5.305 MB / 0.5886 GB Notification: Performance of SimCode: time 7.52e-07/0.0104, allocations: 0 / 0.6259 GB, free: 5.305 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01615/0.02655, allocations: 3.476 MB / 0.6293 GB, free: 2 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.893/6.92, allocations: 7.281 kB / 0.6293 GB, free: 1.996 MB / 0.5886 GB " [Timeout remaining time 653] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Max.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Max.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Max.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Max.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Max_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_IDEAS_Controls_OBC_CDL_Integers_Validation_Max.fmu > IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Max.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.764783596619964] Failed to read output from testmodel.py, exit status != 0: 7.0005925465375185 7.015518767 7.010371641 Calling exit ...