Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.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.0008139/0.0008139, 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.0008414/0.0008414, 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.926/0.926, allocations: 177.1 MB / 202.8 MB, free: 5.746 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.72/0.72, allocations: 154.6 MB / 413.7 MB, free: 0.8281 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.Discrete.Validation.TriggeredMax,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Discrete_Validation_TriggeredMax",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredMax,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Discrete_Validation_TriggeredMax",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.945e-06/2.945e-06, allocations: 0 / 0.618 GB, free: 13.76 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.341e-05/2.636e-05, allocations: 5.516 kB / 0.618 GB, free: 13.75 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredMax): time 0.001875/0.001902, allocations: 0.7018 MB / 0.6187 GB, free: 13.05 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.00158/0.003482, allocations: 1.217 MB / 0.6199 GB, free: 11.82 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.061e-05/0.003542, allocations: 7.938 kB / 0.6199 GB, free: 11.82 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 3.455e-05/0.003577, allocations: 3.938 kB / 0.6199 GB, free: 11.81 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 7.794e-05/0.003655, allocations: 7.938 kB / 0.6199 GB, free: 11.8 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004872/0.004142, allocations: 158.1 kB / 0.6201 GB, free: 11.66 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0001506/0.004293, allocations: 115.7 kB / 0.6202 GB, free: 11.54 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 9.736e-05/0.00439, allocations: 11.98 kB / 0.6202 GB, free: 11.53 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001014/0.004491, allocations: 63.89 kB / 0.6203 GB, free: 11.47 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 7.737e-05/0.004569, allocations: 35.94 kB / 0.6203 GB, free: 11.43 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.198e-05/0.004591, allocations: 12 kB / 0.6203 GB, free: 11.42 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 6.181e-05/0.004653, allocations: 27.98 kB / 0.6203 GB, free: 11.39 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 2.401e-05/0.004677, allocations: 15.91 kB / 0.6203 GB, free: 11.38 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 4.461e-05/0.004721, allocations: 31.98 kB / 0.6204 GB, free: 11.35 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001614/0.004882, allocations: 135.6 kB / 0.6205 GB, free: 11.21 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.224e-06/0.004885, allocations: 0 / 0.6205 GB, free: 11.21 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.633e-06/0.004886, allocations: 0 / 0.6205 GB, free: 11.21 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 3.817e-06/0.00489, allocations: 0 / 0.6205 GB, free: 11.21 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.000451/0.005341, allocations: 327.8 kB / 0.6208 GB, free: 10.86 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.809e-05/0.005379, allocations: 13.47 kB / 0.6208 GB, free: 10.84 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.712e-05/0.005406, allocations: 34.75 kB / 0.6209 GB, free: 10.8 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.271e-05/0.005479, allocations: 16.81 kB / 0.6209 GB, free: 10.79 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.34e-05/0.005553, allocations: 113.7 kB / 0.621 GB, free: 10.65 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.427e-05/0.005567, allocations: 8.375 kB / 0.621 GB, free: 10.64 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.689e-05/0.005584, allocations: 12.38 kB / 0.621 GB, free: 10.63 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00014/0.005724, allocations: 62.22 kB / 0.6211 GB, free: 10.56 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.072e-06/0.00573, allocations: 4.188 kB / 0.6211 GB, free: 10.56 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.336e-06/0.005738, allocations: 384 / 0.6211 GB, free: 10.56 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.97e-06/0.005743, allocations: 4.125 kB / 0.6211 GB, free: 10.55 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.728e-05/0.00584, allocations: 39.95 kB / 0.6211 GB, free: 10.52 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003645/0.006205, allocations: 275.8 kB / 0.6214 GB, free: 10.2 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00012/0.006325, allocations: 50.55 kB / 0.6214 GB, free: 10.14 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.916e-05/0.006394, allocations: 32.86 kB / 0.6215 GB, free: 10.11 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 2.01e-05/0.006414, allocations: 3.938 kB / 0.6215 GB, free: 10.11 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002122/0.006626, allocations: 91.25 kB / 0.6215 GB, free: 10 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=7): time 1.173e-06/0.006628, allocations: 3.938 kB / 0.6215 GB, free: 10 MB / 0.5886 GB Notification: Performance of matching and sorting (n=7): time 0.0002795/0.006907, allocations: 137.7 kB / 0.6217 GB, free: 9.859 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.552e-05/0.006943, allocations: 55.41 kB / 0.6217 GB, free: 9.793 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.675e-05/0.007009, allocations: 117.8 kB / 0.6218 GB, free: 9.668 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.72e-05/0.007026, allocations: 25.7 kB / 0.6219 GB, free: 9.637 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 4.348e-05/0.00707, allocations: 92.12 kB / 0.622 GB, free: 9.543 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.742e-05/0.007087, allocations: 15.91 kB / 0.622 GB, free: 9.527 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.846e-05/0.007136, allocations: 33.7 kB / 0.622 GB, free: 9.488 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.85e-05/0.007214, allocations: 318.8 kB / 0.6223 GB, free: 9.168 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001046/0.007319, allocations: 89.59 kB / 0.6224 GB, free: 9.074 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001005/0.007419, allocations: 105.1 kB / 0.6225 GB, free: 8.953 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001479/0.007567, allocations: 129 kB / 0.6226 GB, free: 8.809 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.007571, allocations: 3.938 kB / 0.6226 GB, free: 8.805 MB / 0.5886 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002551/0.007826, allocations: 229 kB / 0.6228 GB, free: 8.562 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 3.041e-05/0.007856, allocations: 37.69 kB / 0.6229 GB, free: 8.52 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.549e-06/0.007861, allocations: 0 / 0.6229 GB, free: 8.52 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.05e-05/0.007871, allocations: 4 kB / 0.6229 GB, free: 8.516 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.316e-05/0.007934, allocations: 11.98 kB / 0.6229 GB, free: 8.504 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.112e-06/0.00794, allocations: 3.938 kB / 0.6229 GB, free: 8.5 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001022/0.008043, allocations: 43.84 kB / 0.6229 GB, free: 8.457 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.414e-05/0.008057, allocations: 8.094 kB / 0.6229 GB, free: 8.449 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition2,$whenCondition3,booPul.y,$PRE.booPul.y,$whenCondition1,triggeredMax.y,$PRE.triggeredMax.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 8 * 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.013e-05/0.008127, allocations: 122.8 kB / 0.6231 GB, free: 8.32 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.006e-05/0.008137, allocations: 7.984 kB / 0.6231 GB, free: 8.312 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001887/0.008326, allocations: 126.4 kB / 0.6232 GB, free: 8.18 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-06/0.008328, allocations: 0 / 0.6232 GB, free: 8.18 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.008332, allocations: 0 / 0.6232 GB, free: 8.18 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.008335, allocations: 0 / 0.6232 GB, free: 8.18 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002582/0.008593, allocations: 333.6 kB / 0.6235 GB, free: 7.805 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.008594, allocations: 4.469 kB / 0.6235 GB, free: 7.801 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.269e-05/0.008627, allocations: 8 kB / 0.6235 GB, free: 7.793 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.966e-06/0.00863, allocations: 3.984 kB / 0.6235 GB, free: 7.789 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.943e-06/0.008637, allocations: 0 / 0.6235 GB, free: 7.789 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.264e-06/0.008639, allocations: 7.938 kB / 0.6235 GB, free: 7.781 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.462e-06/0.00864, allocations: 3.938 kB / 0.6235 GB, free: 7.777 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000161/0.008801, allocations: 207.3 kB / 0.6237 GB, free: 7.559 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 7.684e-06/0.008809, allocations: 3.953 kB / 0.6237 GB, free: 7.555 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.239e-05/0.008821, allocations: 4 kB / 0.6237 GB, free: 7.551 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.376e-05/0.008865, allocations: 11.98 kB / 0.6237 GB, free: 7.539 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.192e-05/0.008897, allocations: 7.984 kB / 0.6238 GB, free: 7.531 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.752e-06/0.008904, allocations: 4 kB / 0.6238 GB, free: 7.527 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 3.399e-05/0.008938, allocations: 91.27 kB / 0.6238 GB, free: 7.438 MB / 0.5886 GB Notification: Performance of sort global known variables: time 6.1e-08/0.008938, allocations: 0 / 0.6238 GB, free: 7.438 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001814/0.009119, allocations: 20 kB / 0.6239 GB, free: 7.418 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: 5 ($whenCondition2,$whenCondition3,$whenCondition1,triggeredMax.y,booPul.y) * Number of discrete states: 1 (triggeredMax.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * 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.0003932/0.009513, allocations: 0.7435 MB / 0.6246 GB, free: 6.648 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0002393/0.009752, allocations: 193 kB / 0.6248 GB, free: 6.441 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.433e-06/0.009753, allocations: 0 / 0.6248 GB, free: 6.441 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 5.921e-05/0.009813, allocations: 27.98 kB / 0.6248 GB, free: 6.414 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002031/0.01002, allocations: 13.86 kB / 0.6248 GB, free: 6.402 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001354/0.01137, allocations: 1.752 MB / 0.6265 GB, free: 4.516 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.886e-05/0.01142, allocations: 67.34 kB / 0.6266 GB, free: 4.43 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 2.898e-05/0.01145, allocations: 11.92 kB / 0.6266 GB, free: 4.418 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.53e-05/0.01148, allocations: 16.5 kB / 0.6266 GB, free: 4.402 MB / 0.5886 GB Notification: Performance of SimCode: time 5.81e-07/0.01148, allocations: 4 kB / 0.6266 GB, free: 4.398 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01792/0.0294, allocations: 3.225 MB / 0.6298 GB, free: 1.355 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.81/6.839, allocations: 6.188 kB / 0.6298 GB, free: 1.352 MB / 0.5886 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Controls_OBC_CDL_Discrete_Validation_TriggeredMax_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Controls_OBC_CDL_Discrete_Validation_TriggeredMax.fmu > IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.574740855023265] Failed to read output from testmodel.py, exit status != 0: 6.922134759835899 6.930623967 6.924032065 Calling exit ...