Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Change.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.0008239/0.0008239, 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.0009098/0.0009098, allocations: 165.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.9259/0.9259, allocations: 177.1 MB / 202.8 MB, free: 5.758 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.7428/0.7428, 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.Logical.Validation.Change,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Logical_Validation_Change",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Logical.Validation.Change,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Logical_Validation_Change",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.725e-06/2.725e-06, allocations: 0 / 0.6181 GB, free: 13.64 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.957e-05/2.229e-05, allocations: 8.172 kB / 0.6181 GB, free: 13.64 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Change): time 0.001402/0.001425, allocations: 0.7165 MB / 0.6188 GB, free: 12.92 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001173/0.002597, allocations: 1.178 MB / 0.62 GB, free: 11.73 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.579e-05/0.002643, allocations: 7.938 kB / 0.62 GB, free: 11.72 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.691e-05/0.00267, allocations: 3.938 kB / 0.62 GB, free: 11.72 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 6.455e-05/0.002735, allocations: 15.84 kB / 0.62 GB, free: 11.7 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004132/0.003148, allocations: 130.7 kB / 0.6201 GB, free: 11.58 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0001456/0.003293, allocations: 123.7 kB / 0.6202 GB, free: 11.46 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001012/0.003395, allocations: 11.98 kB / 0.6202 GB, free: 11.45 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001069/0.003501, allocations: 63.89 kB / 0.6203 GB, free: 11.38 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 7.684e-05/0.003578, allocations: 39.92 kB / 0.6203 GB, free: 11.34 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.153e-05/0.0036, allocations: 12 kB / 0.6204 GB, free: 11.33 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 5.513e-05/0.003655, allocations: 16 kB / 0.6204 GB, free: 11.32 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 2.544e-05/0.00368, allocations: 23.84 kB / 0.6204 GB, free: 11.29 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 4.434e-05/0.003725, allocations: 27.98 kB / 0.6204 GB, free: 11.27 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001639/0.003889, allocations: 131.6 kB / 0.6205 GB, free: 11.14 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.625e-06/0.003891, allocations: 0 / 0.6205 GB, free: 11.14 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.042e-06/0.003892, allocations: 0 / 0.6205 GB, free: 11.14 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.949e-06/0.003897, allocations: 4 kB / 0.6206 GB, free: 11.13 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004733/0.004371, allocations: 335.8 kB / 0.6209 GB, free: 10.77 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.123e-05/0.004412, allocations: 12.03 kB / 0.6209 GB, free: 10.75 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.832e-05/0.00444, allocations: 34.73 kB / 0.6209 GB, free: 10.71 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.603e-05/0.004476, allocations: 8.891 kB / 0.6209 GB, free: 10.7 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.423e-05/0.00455, allocations: 109.8 kB / 0.621 GB, free: 10.57 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.309e-05/0.004563, allocations: 4.375 kB / 0.621 GB, free: 10.57 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.639e-05/0.00458, allocations: 8.375 kB / 0.621 GB, free: 10.56 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000138/0.004718, allocations: 70.09 kB / 0.6211 GB, free: 10.48 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.194e-06/0.004725, allocations: 8.172 kB / 0.6211 GB, free: 10.48 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.158e-06/0.004734, allocations: 4.375 kB / 0.6211 GB, free: 10.47 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.882e-06/0.00474, allocations: 4.125 kB / 0.6211 GB, free: 10.47 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.744e-05/0.004837, allocations: 43.95 kB / 0.6212 GB, free: 10.43 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003876/0.005225, allocations: 283.8 kB / 0.6214 GB, free: 10.11 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001218/0.005347, allocations: 58.55 kB / 0.6215 GB, free: 10.04 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.461e-05/0.005402, allocations: 32.97 kB / 0.6215 GB, free: 10 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.084e-05/0.005412, allocations: 3.938 kB / 0.6215 GB, free: 10 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001633/0.005576, allocations: 87.36 kB / 0.6216 GB, free: 9.902 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=8): time 1.292e-06/0.005577, allocations: 0 / 0.6216 GB, free: 9.902 MB / 0.5886 GB Notification: Performance of matching and sorting (n=8): time 0.0002711/0.005848, allocations: 145.6 kB / 0.6218 GB, free: 9.754 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.157e-05/0.00588, allocations: 55.41 kB / 0.6218 GB, free: 9.688 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.598e-05/0.005946, allocations: 124.7 kB / 0.6219 GB, free: 9.559 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.804e-05/0.005964, allocations: 33.7 kB / 0.622 GB, free: 9.52 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 4.161e-05/0.006005, allocations: 92.09 kB / 0.622 GB, free: 9.426 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.621e-05/0.006022, allocations: 19.89 kB / 0.6221 GB, free: 9.406 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.83e-05/0.00607, allocations: 37.64 kB / 0.6221 GB, free: 9.363 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.576e-05/0.006146, allocations: 318.8 kB / 0.6224 GB, free: 9.043 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000112/0.006258, allocations: 77.67 kB / 0.6225 GB, free: 8.961 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001133/0.006371, allocations: 125.9 kB / 0.6226 GB, free: 8.816 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001568/0.006528, allocations: 141.9 kB / 0.6227 GB, free: 8.656 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.00653, allocations: 0 / 0.6227 GB, free: 8.656 MB / 0.5886 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002679/0.006798, allocations: 240.8 kB / 0.623 GB, free: 8.402 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 3.195e-05/0.006829, allocations: 41.81 kB / 0.623 GB, free: 8.355 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.006835, allocations: 4 kB / 0.623 GB, free: 8.352 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.301e-05/0.006848, allocations: 4 kB / 0.623 GB, free: 8.348 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.192e-05/0.00691, allocations: 11.98 kB / 0.623 GB, free: 8.336 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.392e-06/0.006916, allocations: 8.188 kB / 0.623 GB, free: 8.328 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001078/0.007024, allocations: 31.91 kB / 0.6231 GB, free: 8.297 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.854e-05/0.007042, allocations: 15.98 kB / 0.6231 GB, free: 8.281 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 10 (triggeredSampler.y,$PRE.triggeredSampler.y,$whenCondition1,$whenCondition2,change.y,change.u,$PRE.change.u,booPul.y,$PRE.booPul.y,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 1 * 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 7.675e-05/0.007119, allocations: 123.7 kB / 0.6232 GB, free: 8.152 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.638e-06/0.007129, allocations: 7.891 kB / 0.6232 GB, free: 8.145 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.99e-05/0.007159, allocations: 12.44 kB / 0.6232 GB, free: 8.129 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.804e-06/0.00716, allocations: 0 / 0.6232 GB, free: 8.129 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.007165, allocations: 0 / 0.6232 GB, free: 8.129 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.007169, allocations: 3.984 kB / 0.6232 GB, free: 8.125 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003128/0.007481, allocations: 349.5 kB / 0.6235 GB, free: 7.734 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.007484, allocations: 4 kB / 0.6236 GB, free: 7.73 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.716e-05/0.007511, allocations: 7.984 kB / 0.6236 GB, free: 7.723 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.874e-06/0.007513, allocations: 4 kB / 0.6236 GB, free: 7.719 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.694e-06/0.007521, allocations: 4 kB / 0.6236 GB, free: 7.715 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.007522, allocations: 0 / 0.6236 GB, free: 7.715 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.007523, allocations: 0 / 0.6236 GB, free: 7.715 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001657/0.007689, allocations: 219.3 kB / 0.6238 GB, free: 7.484 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 6.653e-06/0.007696, allocations: 0 / 0.6238 GB, free: 7.484 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.249e-05/0.007708, allocations: 4 kB / 0.6238 GB, free: 7.48 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.413e-05/0.007752, allocations: 7.984 kB / 0.6238 GB, free: 7.473 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.507e-05/0.007787, allocations: 7.984 kB / 0.6238 GB, free: 7.465 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.615e-06/0.007795, allocations: 8 kB / 0.6238 GB, free: 7.457 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 3.475e-05/0.00783, allocations: 91.27 kB / 0.6239 GB, free: 7.367 MB / 0.5886 GB Notification: Performance of sort global known variables: time 7.1e-08/0.00783, allocations: 0 / 0.6239 GB, free: 7.367 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.000182/0.008012, allocations: 23.94 kB / 0.6239 GB, free: 7.344 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: 7 (change.y,$whenCondition3,$whenCondition1,$whenCondition2,booPul.y,change.u,triggeredSampler.y) * Number of discrete states: 1 (change.u) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0004085/0.00842, allocations: 0.7435 MB / 0.6246 GB, free: 6.574 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.000268/0.008688, allocations: 201 kB / 0.6248 GB, free: 6.359 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.00869, allocations: 0 / 0.6248 GB, free: 6.359 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 6.509e-05/0.008755, allocations: 31.98 kB / 0.6249 GB, free: 6.328 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002153/0.008971, allocations: 15.92 kB / 0.6249 GB, free: 6.312 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001479/0.01045, allocations: 1.811 MB / 0.6266 GB, free: 4.359 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.913e-05/0.0105, allocations: 71.33 kB / 0.6267 GB, free: 4.27 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 3.23e-05/0.01053, allocations: 4 kB / 0.6267 GB, free: 4.266 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.095e-05/0.01058, allocations: 24.48 kB / 0.6267 GB, free: 4.242 MB / 0.5886 GB Notification: Performance of SimCode: time 5.72e-07/0.01058, allocations: 0 / 0.6267 GB, free: 4.242 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01756/0.02814, allocations: 3.333 MB / 0.63 GB, free: 1.102 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.568/6.596, allocations: 7.25 kB / 0.63 GB, free: 1.098 MB / 0.5886 GB " [Timeout remaining time 653] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Change.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Change.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Change.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Change.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Controls_OBC_CDL_Logical_Validation_Change_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Controls_OBC_CDL_Logical_Validation_Change.fmu > IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Change.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.290712451562285] Failed to read output from testmodel.py, exit status != 0: 6.677599985152483 6.686502686 6.680868434 Calling exit ...