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.0009431/0.0009431, allocations: 109.9 kB / 18.93 MB, free: 1.27 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.0008871/0.0008871, allocations: 217.7 kB / 22.26 MB, free: 3.703 MB / 13.93 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.9901/0.9901, allocations: 230.6 MB / 256 MB, free: 9.824 MB / 202.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.7899/0.7899, allocations: 203.8 MB / 0.5042 GB, free: 10.75 MB / 410.7 MB " [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: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001452/0.001452, allocations: 70.19 kB / 0.7182 GB, free: 4.371 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5094/0.5109, allocations: 102 MB / 0.8178 GB, free: 1.258 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredMax): time 0.001551/0.5124, allocations: 0.7266 MB / 0.8186 GB, free: 0.793 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001174/0.5136, allocations: 1.243 MB / 0.8198 GB, free: 15.89 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.299e-05/0.5137, allocations: 3.938 kB / 0.8198 GB, free: 15.89 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.755e-05/0.5137, allocations: 4.594 kB / 0.8198 GB, free: 15.88 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 6.548e-05/0.5138, allocations: 12 kB / 0.8198 GB, free: 15.88 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004541/0.5142, allocations: 152.9 kB / 0.8199 GB, free: 15.8 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.000164/0.5144, allocations: 120.8 kB / 0.82 GB, free: 15.74 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 9.678e-05/0.5145, allocations: 17.22 kB / 0.8201 GB, free: 15.73 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 9.398e-05/0.5146, allocations: 42.98 kB / 0.8201 GB, free: 15.72 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 9.229e-05/0.5147, allocations: 46.19 kB / 0.8201 GB, free: 15.7 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.177e-05/0.5147, allocations: 10.31 kB / 0.8202 GB, free: 15.7 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 6.461e-05/0.5147, allocations: 33.91 kB / 0.8202 GB, free: 15.69 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.351e-05/0.5148, allocations: 14.14 kB / 0.8202 GB, free: 15.68 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 5.921e-05/0.5148, allocations: 36.84 kB / 0.8202 GB, free: 15.66 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001848/0.515, allocations: 119 kB / 0.8204 GB, free: 15.62 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.515, allocations: 0 / 0.8204 GB, free: 15.62 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.655e-06/0.515, allocations: 1.25 kB / 0.8204 GB, free: 15.62 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.171e-06/0.515, allocations: 0 / 0.8204 GB, free: 15.62 MB / 0.6198 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.0004924/0.5155, allocations: 337.2 kB / 0.8207 GB, free: 15.3 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.242e-05/0.5156, allocations: 8.312 kB / 0.8207 GB, free: 15.3 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.166e-05/0.5156, allocations: 37.8 kB / 0.8207 GB, free: 15.25 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.284e-05/0.5157, allocations: 10.84 kB / 0.8207 GB, free: 15.25 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002249/0.5159, allocations: 107.2 kB / 0.8208 GB, free: 15.12 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.511e-05/0.5159, allocations: 8.953 kB / 0.8208 GB, free: 15.12 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.802e-05/0.5159, allocations: 10.33 kB / 0.8208 GB, free: 15.12 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001497/0.5161, allocations: 60.94 kB / 0.8209 GB, free: 15.08 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.127e-06/0.5161, allocations: 3.938 kB / 0.8209 GB, free: 15.08 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.818e-06/0.5161, allocations: 5.547 kB / 0.8209 GB, free: 15.07 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.071e-06/0.5161, allocations: 2.188 kB / 0.8209 GB, free: 15.07 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000102/0.5162, allocations: 46.83 kB / 0.821 GB, free: 15.06 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004315/0.5166, allocations: 303.6 kB / 0.8213 GB, free: 14.79 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001077/0.5167, allocations: 51.78 kB / 0.8213 GB, free: 14.75 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.898e-05/0.5168, allocations: 30.92 kB / 0.8213 GB, free: 14.74 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.933e-05/0.5168, allocations: 2.469 kB / 0.8213 GB, free: 14.74 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001932/0.517, allocations: 90.19 kB / 0.8214 GB, free: 14.68 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 1.543e-06/0.517, allocations: 0 / 0.8214 GB, free: 14.68 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.000284/0.5173, allocations: 138.3 kB / 0.8216 GB, free: 14.62 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.819e-05/0.5173, allocations: 53.28 kB / 0.8216 GB, free: 14.55 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.089e-05/0.5174, allocations: 124.3 kB / 0.8217 GB, free: 14.44 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.698e-05/0.5174, allocations: 26.08 kB / 0.8217 GB, free: 14.41 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.297e-05/0.5175, allocations: 93.09 kB / 0.8218 GB, free: 14.32 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.65e-05/0.5175, allocations: 17.33 kB / 0.8219 GB, free: 14.31 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.261e-05/0.5176, allocations: 37.33 kB / 0.8219 GB, free: 14.29 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.689e-05/0.5176, allocations: 325.1 kB / 0.8222 GB, free: 13.96 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.818e-05/0.5177, allocations: 48.56 kB / 0.8222 GB, free: 13.95 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001006/0.5178, allocations: 79.64 kB / 0.8223 GB, free: 13.9 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001546/0.518, allocations: 132.3 kB / 0.8224 GB, free: 13.81 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.518, allocations: 0 / 0.8224 GB, free: 13.81 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002649/0.5183, allocations: 198 kB / 0.8226 GB, free: 13.7 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 3.327e-05/0.5183, allocations: 35.83 kB / 0.8227 GB, free: 13.67 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.192e-06/0.5183, allocations: 1.969 kB / 0.8227 GB, free: 13.67 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.27e-05/0.5183, allocations: 0.7031 kB / 0.8227 GB, free: 13.67 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.288e-05/0.5184, allocations: 15.22 kB / 0.8227 GB, free: 13.67 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.594e-06/0.5184, allocations: 5.344 kB / 0.8227 GB, free: 13.67 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001062/0.5185, allocations: 37.5 kB / 0.8227 GB, free: 13.66 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.434e-05/0.5185, allocations: 5.781 kB / 0.8227 GB, free: 13.66 MB / 0.6198 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.654e-05/0.5186, allocations: 131 kB / 0.8229 GB, free: 13.53 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.033e-05/0.5186, allocations: 4.609 kB / 0.8229 GB, free: 13.53 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002016/0.5188, allocations: 125.1 kB / 0.823 GB, free: 13.46 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.447e-06/0.5188, allocations: 1.344 kB / 0.823 GB, free: 13.46 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.5188, allocations: 0 / 0.823 GB, free: 13.46 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.967e-06/0.5188, allocations: 4.891 kB / 0.823 GB, free: 13.45 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002751/0.5191, allocations: 329 kB / 0.8233 GB, free: 13.16 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.5191, allocations: 1.188 kB / 0.8233 GB, free: 13.16 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.806e-05/0.5191, allocations: 10.25 kB / 0.8233 GB, free: 13.16 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.514e-06/0.5191, allocations: 0 / 0.8233 GB, free: 13.16 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.757e-06/0.5191, allocations: 2.047 kB / 0.8233 GB, free: 13.16 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.835e-06/0.5191, allocations: 9 kB / 0.8233 GB, free: 13.16 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.933e-06/0.5191, allocations: 3.938 kB / 0.8233 GB, free: 13.15 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001819/0.5193, allocations: 212.4 kB / 0.8235 GB, free: 12.99 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 8.717e-06/0.5193, allocations: 5.234 kB / 0.8235 GB, free: 12.99 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.424e-05/0.5194, allocations: 2.922 kB / 0.8235 GB, free: 12.99 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.49e-05/0.5194, allocations: 6.75 kB / 0.8235 GB, free: 12.99 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.169e-05/0.5194, allocations: 12.34 kB / 0.8236 GB, free: 12.98 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.412e-06/0.5194, allocations: 6.156 kB / 0.8236 GB, free: 12.98 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.653e-05/0.5195, allocations: 93.53 kB / 0.8236 GB, free: 12.9 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5.1e-08/0.5195, allocations: 0 / 0.8236 GB, free: 12.9 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.000179/0.5197, allocations: 25 kB / 0.8237 GB, free: 12.89 MB / 0.6198 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.0003909/0.5201, allocations: 0.7328 MB / 0.8244 GB, free: 12.21 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002565/0.5203, allocations: 153.8 kB / 0.8245 GB, free: 12.12 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.5203, allocations: 1.094 kB / 0.8245 GB, free: 12.12 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 6.879e-05/0.5204, allocations: 35.19 kB / 0.8246 GB, free: 12.12 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002249/0.5206, allocations: 12.08 kB / 0.8246 GB, free: 12.11 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001409/0.522, allocations: 1.646 MB / 0.8262 GB, free: 10.71 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001904/0.5222, allocations: 0.6853 MB / 0.8269 GB, free: 10.01 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 4.053e-05/0.5222, allocations: 5.75 kB / 0.8269 GB, free: 10.01 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.433e-05/0.5223, allocations: 23.83 kB / 0.8269 GB, free: 9.996 MB / 0.6198 GB Notification: Performance of SimCode: time 9.32e-07/0.5223, allocations: 0 / 0.8269 GB, free: 9.996 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02111/0.5434, allocations: 2.57 MB / 0.8294 GB, free: 9.512 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.729/7.273, allocations: 7.844 kB / 0.8294 GB, free: 9.508 MB / 0.6198 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: 10.27247216599062] Failed to read output from testmodel.py, exit status != 0: 7.353599126916379 7.36722211 6.850112277 Calling exit ...