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.0007546/0.0007546, allocations: 80.44 kB / 19.17 MB, free: 0.7461 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.0007945/0.0007945, allocations: 165.9 kB / 22.45 MB, free: 2.109 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.8954/0.8954, 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.7298/0.7298, 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.705e-06/2.705e-06, allocations: 0 / 0.6181 GB, free: 13.69 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.843e-05/2.113e-05, allocations: 8.531 kB / 0.6181 GB, free: 13.68 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Change): time 0.001954/0.001975, allocations: 0.7206 MB / 0.6188 GB, free: 12.96 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001976/0.003951, allocations: 1.182 MB / 0.62 GB, free: 11.76 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.465e-05/0.004015, allocations: 4 kB / 0.62 GB, free: 11.76 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 3.765e-05/0.004053, allocations: 3.938 kB / 0.62 GB, free: 11.75 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 8.813e-05/0.004141, allocations: 15.86 kB / 0.62 GB, free: 11.74 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005661/0.004707, allocations: 134.3 kB / 0.6201 GB, free: 11.61 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0001867/0.004894, allocations: 115.8 kB / 0.6202 GB, free: 11.5 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001071/0.005001, allocations: 15.97 kB / 0.6202 GB, free: 11.48 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001357/0.005137, allocations: 59.95 kB / 0.6203 GB, free: 11.42 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 9.739e-05/0.005234, allocations: 43.81 kB / 0.6203 GB, free: 11.38 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.898e-05/0.005263, allocations: 16 kB / 0.6204 GB, free: 11.36 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 6.815e-05/0.005331, allocations: 19.98 kB / 0.6204 GB, free: 11.34 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 2.782e-05/0.005359, allocations: 11.92 kB / 0.6204 GB, free: 11.33 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 6.206e-05/0.005421, allocations: 35.97 kB / 0.6204 GB, free: 11.3 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0002197/0.005641, allocations: 135.6 kB / 0.6206 GB, free: 11.16 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.823e-06/0.005643, allocations: 0 / 0.6206 GB, free: 11.16 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.232e-06/0.005644, allocations: 0 / 0.6206 GB, free: 11.16 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.228e-06/0.005648, allocations: 0 / 0.6206 GB, free: 11.16 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.0005722/0.00622, allocations: 335.8 kB / 0.6209 GB, free: 10.8 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 5.206e-05/0.006273, allocations: 8.031 kB / 0.6209 GB, free: 10.79 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.073e-05/0.006313, allocations: 42.73 kB / 0.6209 GB, free: 10.74 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.839e-05/0.006362, allocations: 8.891 kB / 0.6209 GB, free: 10.73 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.585e-05/0.006458, allocations: 105.8 kB / 0.621 GB, free: 10.6 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.867e-05/0.006476, allocations: 8.375 kB / 0.621 GB, free: 10.59 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.422e-05/0.0065, allocations: 8.375 kB / 0.621 GB, free: 10.59 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002013/0.006702, allocations: 62.22 kB / 0.6211 GB, free: 10.52 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.01e-05/0.006712, allocations: 192 / 0.6211 GB, free: 10.52 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.067e-05/0.006723, allocations: 384 / 0.6211 GB, free: 10.52 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.857e-06/0.006731, allocations: 8.125 kB / 0.6211 GB, free: 10.51 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001568/0.006888, allocations: 47.89 kB / 0.6212 GB, free: 10.46 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005232/0.007411, allocations: 279.9 kB / 0.6214 GB, free: 10.15 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001708/0.007582, allocations: 62.55 kB / 0.6215 GB, free: 10.08 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.101e-05/0.007663, allocations: 24.97 kB / 0.6215 GB, free: 10.05 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.34e-05/0.007677, allocations: 7.938 kB / 0.6215 GB, free: 10.04 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002041/0.007881, allocations: 91.3 kB / 0.6216 GB, free: 9.941 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=8): time 1.593e-06/0.007882, allocations: 0 / 0.6216 GB, free: 9.941 MB / 0.5886 GB Notification: Performance of matching and sorting (n=8): time 0.0003922/0.008274, allocations: 145.5 kB / 0.6217 GB, free: 9.793 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.25e-05/0.008317, allocations: 51.41 kB / 0.6218 GB, free: 9.73 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.817e-05/0.008405, allocations: 125.8 kB / 0.6219 GB, free: 9.598 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 2.709e-05/0.008432, allocations: 29.7 kB / 0.6219 GB, free: 9.562 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 7.256e-05/0.008505, allocations: 96.09 kB / 0.622 GB, free: 9.465 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.364e-05/0.008528, allocations: 15.95 kB / 0.6221 GB, free: 9.449 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.335e-05/0.008602, allocations: 41.7 kB / 0.6221 GB, free: 9.402 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001007/0.008702, allocations: 322.8 kB / 0.6224 GB, free: 9.078 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001691/0.008872, allocations: 77.67 kB / 0.6225 GB, free: 8.996 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001744/0.009046, allocations: 125.9 kB / 0.6226 GB, free: 8.852 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002223/0.009268, allocations: 141.9 kB / 0.6227 GB, free: 8.691 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.564e-06/0.009271, allocations: 0 / 0.6227 GB, free: 8.691 MB / 0.5886 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003995/0.00967, allocations: 240.8 kB / 0.623 GB, free: 8.438 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 3.693e-05/0.009707, allocations: 45.62 kB / 0.623 GB, free: 8.387 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/0.009713, allocations: 0 / 0.623 GB, free: 8.387 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.366e-05/0.009726, allocations: 0 / 0.623 GB, free: 8.387 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.208e-05/0.009799, allocations: 12.11 kB / 0.623 GB, free: 8.375 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.723e-06/0.009805, allocations: 8.312 kB / 0.623 GB, free: 8.367 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000154/0.009959, allocations: 27.97 kB / 0.623 GB, free: 8.34 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.313e-05/0.009982, allocations: 19.92 kB / 0.6231 GB, free: 8.32 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 8.906e-05/0.01007, allocations: 118.8 kB / 0.6232 GB, free: 8.195 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.666e-05/0.01009, allocations: 11.89 kB / 0.6232 GB, free: 8.184 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.99e-05/0.01012, allocations: 12.44 kB / 0.6232 GB, free: 8.168 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/0.01012, allocations: 0 / 0.6232 GB, free: 8.168 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.58e-06/0.01013, allocations: 4 kB / 0.6232 GB, free: 8.164 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/0.01013, allocations: 3.984 kB / 0.6232 GB, free: 8.16 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004249/0.01056, allocations: 353.5 kB / 0.6235 GB, free: 7.766 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/0.01056, allocations: 4 kB / 0.6236 GB, free: 7.762 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.321e-05/0.0106, allocations: 7.984 kB / 0.6236 GB, free: 7.754 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.01061, allocations: 0 / 0.6236 GB, free: 7.754 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.077e-06/0.01061, allocations: 0 / 0.6236 GB, free: 7.754 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.973e-06/0.01062, allocations: 4 kB / 0.6236 GB, free: 7.75 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.01062, allocations: 0 / 0.6236 GB, free: 7.75 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002471/0.01086, allocations: 211.4 kB / 0.6238 GB, free: 7.527 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 1.402e-05/0.01088, allocations: 11.95 kB / 0.6238 GB, free: 7.516 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.599e-05/0.01089, allocations: 0 / 0.6238 GB, free: 7.516 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.093e-05/0.01097, allocations: 7.984 kB / 0.6238 GB, free: 7.508 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.157e-05/0.01101, allocations: 7.984 kB / 0.6238 GB, free: 7.5 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.738e-06/0.01102, allocations: 8 kB / 0.6238 GB, free: 7.492 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 4.606e-05/0.01106, allocations: 94.44 kB / 0.6239 GB, free: 7.402 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1e-07/0.01106, allocations: 0 / 0.6239 GB, free: 7.402 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0002756/0.01134, allocations: 24 kB / 0.6239 GB, free: 7.379 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.0005009/0.01184, allocations: 0.7428 MB / 0.6246 GB, free: 6.613 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0003125/0.01215, allocations: 197 kB / 0.6248 GB, free: 6.402 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.01215, allocations: 3.938 kB / 0.6248 GB, free: 6.398 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 8.368e-05/0.01224, allocations: 32.23 kB / 0.6249 GB, free: 6.367 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002608/0.0125, allocations: 19.92 kB / 0.6249 GB, free: 6.348 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001701/0.0142, allocations: 1.807 MB / 0.6266 GB, free: 4.398 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.362e-05/0.01426, allocations: 79.33 kB / 0.6267 GB, free: 4.301 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 3.082e-05/0.01429, allocations: 4 kB / 0.6267 GB, free: 4.297 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.742e-05/0.01434, allocations: 28.42 kB / 0.6267 GB, free: 4.27 MB / 0.5886 GB Notification: Performance of SimCode: time 4.91e-07/0.01434, allocations: 0 / 0.6267 GB, free: 4.27 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01509/0.02943, allocations: 3.326 MB / 0.63 GB, free: 1.129 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.007/7.037, allocations: 8.328 kB / 0.63 GB, free: 1.129 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 & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Change_res.csv --start-time 0 --stop-time 5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.002 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.853509400039911] Failed to read output from testmodel.py, exit status != 0: 7.1210114331915975 7.131625544 7.124272501 Calling exit ...