Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Edge.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.001059/0.001059, 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.001045/0.001045, 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.9102/0.9102, allocations: 177.1 MB / 202.8 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.758/0.758, allocations: 154.6 MB / 413.7 MB, free: 0.8242 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 master/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.Edge,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Logical_Validation_Edge",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Logical.Validation.Edge,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Logical_Validation_Edge",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.236e-06/3.236e-06, allocations: 0 / 0.618 GB, free: 12.59 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.036e-05/2.36e-05, allocations: 2.281 kB / 0.618 GB, free: 12.59 MB / 0.5417 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Edge): time 0.001803/0.001826, allocations: 0.7238 MB / 0.6188 GB, free: 11.87 MB / 0.5417 GB Notification: Performance of NFInst.instExpressions: time 0.001487/0.003313, allocations: 1.17 MB / 0.6199 GB, free: 10.68 MB / 0.5417 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.696e-05/0.00337, allocations: 0 / 0.6199 GB, free: 10.68 MB / 0.5417 GB Notification: Performance of NFTyping.typeComponents: time 3.305e-05/0.003403, allocations: 3.938 kB / 0.6199 GB, free: 10.68 MB / 0.5417 GB Notification: Performance of NFTyping.typeBindings: time 7.613e-05/0.00348, allocations: 15.86 kB / 0.6199 GB, free: 10.66 MB / 0.5417 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005059/0.003985, allocations: 136.9 kB / 0.62 GB, free: 10.54 MB / 0.5417 GB Notification: Performance of NFFlatten.flatten: time 0.0001831/0.004169, allocations: 123.7 kB / 0.6202 GB, free: 10.41 MB / 0.5417 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001149/0.004283, allocations: 15.98 kB / 0.6202 GB, free: 10.4 MB / 0.5417 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001261/0.004409, allocations: 63.94 kB / 0.6202 GB, free: 10.34 MB / 0.5417 GB Notification: Performance of NFSimplifyModel.simplify: time 8.797e-05/0.004497, allocations: 35.83 kB / 0.6203 GB, free: 10.3 MB / 0.5417 GB Notification: Performance of NFPackage.collectConstants: time 2.852e-05/0.004526, allocations: 8 kB / 0.6203 GB, free: 10.29 MB / 0.5417 GB Notification: Performance of NFFlatten.collectFunctions: time 6.525e-05/0.004591, allocations: 23.98 kB / 0.6203 GB, free: 10.27 MB / 0.5417 GB Notification: Performance of NFScalarize.scalarize: time 2.636e-05/0.004618, allocations: 11.98 kB / 0.6203 GB, free: 10.26 MB / 0.5417 GB Notification: Performance of NFVerifyModel.verify: time 5.972e-05/0.004677, allocations: 35.91 kB / 0.6204 GB, free: 10.22 MB / 0.5417 GB Notification: Performance of NFConvertDAE.convert: time 0.0002044/0.004882, allocations: 131.6 kB / 0.6205 GB, free: 10.09 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.004885, allocations: 0 / 0.6205 GB, free: 10.09 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.753e-06/0.004887, allocations: 0 / 0.6205 GB, free: 10.09 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 5.309e-06/0.004892, allocations: 8 kB / 0.6205 GB, free: 10.09 MB / 0.5417 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.0005739/0.005466, allocations: 343.7 kB / 0.6208 GB, free: 9.711 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.413e-05/0.00551, allocations: 9.469 kB / 0.6208 GB, free: 9.703 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.254e-05/0.005543, allocations: 30.75 kB / 0.6209 GB, free: 9.664 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.45e-05/0.005588, allocations: 8.938 kB / 0.6209 GB, free: 9.656 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.244e-05/0.00568, allocations: 117.1 kB / 0.621 GB, free: 9.52 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.67e-05/0.005697, allocations: 8.375 kB / 0.621 GB, free: 9.512 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.822e-05/0.005715, allocations: 4.375 kB / 0.621 GB, free: 9.508 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001875/0.005902, allocations: 70.16 kB / 0.621 GB, free: 9.434 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.075e-06/0.00591, allocations: 4.188 kB / 0.6211 GB, free: 9.43 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.03e-05/0.005921, allocations: 384 / 0.6211 GB, free: 9.43 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.713e-06/0.005927, allocations: 8.062 kB / 0.6211 GB, free: 9.422 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001274/0.006055, allocations: 47.94 kB / 0.6211 GB, free: 9.375 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004799/0.006535, allocations: 275.8 kB / 0.6214 GB, free: 9.062 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003986/0.006933, allocations: 58.55 kB / 0.6214 GB, free: 8.996 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.317e-05/0.007007, allocations: 36.95 kB / 0.6215 GB, free: 8.957 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 1.298e-05/0.007019, allocations: 3.938 kB / 0.6215 GB, free: 8.953 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002285/0.007248, allocations: 87.36 kB / 0.6215 GB, free: 8.855 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=8): time 1.412e-06/0.007249, allocations: 0 / 0.6215 GB, free: 8.855 MB / 0.5417 GB Notification: Performance of matching and sorting (n=8): time 0.000348/0.007597, allocations: 149.6 kB / 0.6217 GB, free: 8.703 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.051e-05/0.007638, allocations: 59.34 kB / 0.6217 GB, free: 8.633 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.893e-05/0.007717, allocations: 121.8 kB / 0.6219 GB, free: 8.504 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 2.31e-05/0.00774, allocations: 29.7 kB / 0.6219 GB, free: 8.469 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 4.929e-05/0.007789, allocations: 88.14 kB / 0.622 GB, free: 8.379 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 2.271e-05/0.007812, allocations: 23.84 kB / 0.622 GB, free: 8.355 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.268e-05/0.007875, allocations: 37.7 kB / 0.622 GB, free: 8.312 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 9.367e-05/0.007968, allocations: 314.8 kB / 0.6223 GB, free: 7.996 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001478/0.008116, allocations: 85.66 kB / 0.6224 GB, free: 7.906 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001437/0.00826, allocations: 110 kB / 0.6225 GB, free: 7.777 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002078/0.008468, allocations: 154.2 kB / 0.6227 GB, free: 7.605 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.00847, allocations: 0 / 0.6227 GB, free: 7.605 MB / 0.5417 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003619/0.008832, allocations: 244.8 kB / 0.6229 GB, free: 7.348 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 3.5e-05/0.008867, allocations: 37.81 kB / 0.6229 GB, free: 7.305 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.043e-06/0.008874, allocations: 8 kB / 0.6229 GB, free: 7.297 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.517e-05/0.008889, allocations: 0 / 0.6229 GB, free: 7.297 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.394e-05/0.008963, allocations: 15.94 kB / 0.623 GB, free: 7.281 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.414e-06/0.008971, allocations: 3.984 kB / 0.623 GB, free: 7.277 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001444/0.009115, allocations: 31.97 kB / 0.623 GB, free: 7.246 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.026e-05/0.009135, allocations: 7.984 kB / 0.623 GB, free: 7.238 MB / 0.5417 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,edge1.y,edge1.u,$PRE.edge1.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 9.424e-05/0.00923, allocations: 126.8 kB / 0.6231 GB, free: 7.105 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.717e-05/0.009247, allocations: 15.95 kB / 0.6231 GB, free: 7.09 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.919e-05/0.009276, allocations: 12.44 kB / 0.6232 GB, free: 7.074 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.009279, allocations: 0 / 0.6232 GB, free: 7.074 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.181e-06/0.009285, allocations: 4 kB / 0.6232 GB, free: 7.07 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.009289, allocations: 0 / 0.6232 GB, free: 7.07 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000395/0.009684, allocations: 341.5 kB / 0.6235 GB, free: 6.688 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.009685, allocations: 0 / 0.6235 GB, free: 6.688 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.925e-05/0.009724, allocations: 15.98 kB / 0.6235 GB, free: 6.672 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.805e-06/0.009727, allocations: 7.938 kB / 0.6235 GB, free: 6.664 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.406e-06/0.009736, allocations: 0 / 0.6235 GB, free: 6.664 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.023e-06/0.009738, allocations: 0 / 0.6235 GB, free: 6.664 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.009739, allocations: 0 / 0.6235 GB, free: 6.664 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000217/0.009956, allocations: 207.4 kB / 0.6237 GB, free: 6.445 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 1.093e-05/0.009967, allocations: 11.89 kB / 0.6237 GB, free: 6.434 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.494e-05/0.009982, allocations: 0 / 0.6237 GB, free: 6.434 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.738e-05/0.01005, allocations: 11.98 kB / 0.6237 GB, free: 6.422 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.106e-05/0.01009, allocations: 7.984 kB / 0.6237 GB, free: 6.414 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.742e-06/0.0101, allocations: 4 kB / 0.6237 GB, free: 6.41 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 4.496e-05/0.01014, allocations: 91.27 kB / 0.6238 GB, free: 6.32 MB / 0.5417 GB Notification: Performance of sort global known variables: time 6e-08/0.01014, allocations: 0 / 0.6238 GB, free: 6.32 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.000277/0.01042, allocations: 28 kB / 0.6238 GB, free: 6.293 MB / 0.5417 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 (edge1.y,$whenCondition3,$whenCondition1,$whenCondition2,booPul.y,edge1.u,triggeredSampler.y) * Number of discrete states: 1 (edge1.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.0005392/0.01096, allocations: 0.7474 MB / 0.6246 GB, free: 5.52 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.000318/0.01128, allocations: 197 kB / 0.6248 GB, free: 5.309 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.383e-06/0.01128, allocations: 0 / 0.6248 GB, free: 5.309 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 8.266e-05/0.01136, allocations: 35.97 kB / 0.6248 GB, free: 5.273 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002855/0.01165, allocations: 10.19 kB / 0.6248 GB, free: 5.266 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001803/0.01345, allocations: 1.819 MB / 0.6266 GB, free: 3.301 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.877e-05/0.01351, allocations: 75.52 kB / 0.6267 GB, free: 3.207 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 3.671e-05/0.01354, allocations: 4 kB / 0.6267 GB, free: 3.203 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.964e-05/0.01359, allocations: 20.48 kB / 0.6267 GB, free: 3.184 MB / 0.5417 GB Notification: Performance of SimCode: time 1.172e-06/0.0136, allocations: 0 / 0.6267 GB, free: 3.184 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02219/0.03578, allocations: 3.339 MB / 0.6299 GB, free: 28 kB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.917/6.953, allocations: 10.56 kB / 0.63 GB, free: 20 kB / 0.5417 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Edge.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Edge.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Edge.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Edge.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Edge_res.csv --start-time 0 --stop-time 5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.002 IDEAS_dev_IDEAS_Controls_OBC_CDL_Logical_Validation_Edge.fmu > IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Edge.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.801828695461154] Failed to read output from testmodel.py, exit status != 0: 7.0344684505835176 7.047590021 7.040167597 Calling exit ...