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.001004/0.001004, allocations: 101.5 kB / 18.95 MB, free: 1.184 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.0009657/0.0009657, allocations: 209.2 kB / 22.24 MB, free: 3.59 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.9461/0.9461, allocations: 230.6 MB / 256 MB, free: 9.586 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.8095/0.8095, allocations: 203.8 MB / 0.5042 GB, free: 10.42 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.000994/0.000994, allocations: 74.27 kB / 0.7181 GB, free: 4.062 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5368/0.5378, allocations: 102 MB / 0.8178 GB, free: 1.043 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredMax): time 0.001587/0.5393, allocations: 0.7121 MB / 0.8185 GB, free: 0.5938 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.00128/0.5406, allocations: 1.221 MB / 0.8197 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.807e-05/0.5407, allocations: 0 / 0.8197 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 3.219e-05/0.5407, allocations: 7.609 kB / 0.8197 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 7.252e-05/0.5408, allocations: 5.297 kB / 0.8197 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004701/0.5412, allocations: 148.5 kB / 0.8198 GB, free: 15.63 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001794/0.5414, allocations: 119.7 kB / 0.8199 GB, free: 15.58 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001057/0.5415, allocations: 12.78 kB / 0.8199 GB, free: 15.58 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 9.854e-05/0.5416, allocations: 51.06 kB / 0.82 GB, free: 15.55 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 9.93e-05/0.5417, allocations: 46.42 kB / 0.82 GB, free: 15.54 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.992e-05/0.5418, allocations: 8.5 kB / 0.82 GB, free: 15.54 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 7.421e-05/0.5418, allocations: 26.75 kB / 0.8201 GB, free: 15.53 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.852e-05/0.5419, allocations: 12.5 kB / 0.8201 GB, free: 15.52 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 5.969e-05/0.5419, allocations: 36.56 kB / 0.8201 GB, free: 15.51 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.000208/0.5421, allocations: 113.9 kB / 0.8202 GB, free: 15.47 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.071e-06/0.5421, allocations: 0 / 0.8202 GB, free: 15.47 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.665e-06/0.5421, allocations: 0 / 0.8202 GB, free: 15.47 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.983e-06/0.5421, allocations: 0 / 0.8202 GB, free: 15.47 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.0005855/0.5427, allocations: 339.4 kB / 0.8205 GB, free: 15.14 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.838e-05/0.5428, allocations: 14.66 kB / 0.8206 GB, free: 15.14 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.326e-05/0.5428, allocations: 32.02 kB / 0.8206 GB, free: 15.1 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.32e-05/0.5429, allocations: 12.19 kB / 0.8206 GB, free: 15.1 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.499e-05/0.543, allocations: 111 kB / 0.8207 GB, free: 14.97 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.77e-05/0.543, allocations: 10.06 kB / 0.8207 GB, free: 14.96 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.809e-05/0.543, allocations: 10.91 kB / 0.8207 GB, free: 14.96 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001748/0.5432, allocations: 67.88 kB / 0.8208 GB, free: 14.92 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.147e-06/0.5432, allocations: 3.938 kB / 0.8208 GB, free: 14.91 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.045e-05/0.5432, allocations: 0.6562 kB / 0.8208 GB, free: 14.91 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.42e-06/0.5432, allocations: 3.406 kB / 0.8208 GB, free: 14.91 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001093/0.5433, allocations: 44.12 kB / 0.8208 GB, free: 14.9 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004462/0.5438, allocations: 282.6 kB / 0.8211 GB, free: 14.64 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001262/0.5439, allocations: 48.12 kB / 0.8212 GB, free: 14.61 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.077e-05/0.544, allocations: 28.2 kB / 0.8212 GB, free: 14.59 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.11e-05/0.544, allocations: 0.7031 kB / 0.8212 GB, free: 14.59 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002361/0.5442, allocations: 95.19 kB / 0.8213 GB, free: 14.53 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 2.334e-06/0.5442, allocations: 0 / 0.8213 GB, free: 14.53 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0003305/0.5446, allocations: 135.9 kB / 0.8214 GB, free: 14.47 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.802e-05/0.5446, allocations: 57.41 kB / 0.8215 GB, free: 14.41 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.427e-05/0.5447, allocations: 109.5 kB / 0.8216 GB, free: 14.3 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.198e-05/0.5447, allocations: 32.73 kB / 0.8216 GB, free: 14.27 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.564e-05/0.5448, allocations: 93.89 kB / 0.8217 GB, free: 14.18 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.919e-05/0.5448, allocations: 13.16 kB / 0.8217 GB, free: 14.17 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.707e-05/0.5448, allocations: 38.95 kB / 0.8217 GB, free: 14.14 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0002856/0.5451, allocations: 327.2 kB / 0.822 GB, free: 13.82 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000141/0.5453, allocations: 77.47 kB / 0.8221 GB, free: 13.78 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000129/0.5454, allocations: 104.3 kB / 0.8222 GB, free: 13.7 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001834/0.5456, allocations: 130.3 kB / 0.8223 GB, free: 13.61 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.5456, allocations: 5.062 kB / 0.8223 GB, free: 13.61 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003416/0.5459, allocations: 236.7 kB / 0.8226 GB, free: 13.46 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 5.009e-05/0.546, allocations: 34.98 kB / 0.8226 GB, free: 13.43 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.666e-06/0.546, allocations: 1.25 kB / 0.8226 GB, free: 13.43 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.77e-05/0.546, allocations: 5.281 kB / 0.8226 GB, free: 13.43 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.809e-05/0.5461, allocations: 16.06 kB / 0.8226 GB, free: 13.42 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.468e-06/0.5461, allocations: 7.297 kB / 0.8226 GB, free: 13.42 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000125/0.5462, allocations: 33.81 kB / 0.8227 GB, free: 13.41 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.219e-05/0.5463, allocations: 6.703 kB / 0.8227 GB, free: 13.41 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 9.66e-05/0.5463, allocations: 129.8 kB / 0.8228 GB, free: 13.29 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.422e-05/0.5464, allocations: 7.891 kB / 0.8228 GB, free: 13.28 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002627/0.5466, allocations: 120.4 kB / 0.8229 GB, free: 13.21 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.288e-06/0.5466, allocations: 1.125 kB / 0.8229 GB, free: 13.21 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.384e-06/0.5466, allocations: 1.766 kB / 0.8229 GB, free: 13.21 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/0.5466, allocations: 4 kB / 0.8229 GB, free: 13.21 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003334/0.547, allocations: 329.7 kB / 0.8232 GB, free: 12.92 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.026e-06/0.547, allocations: 0 / 0.8232 GB, free: 12.92 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.236e-05/0.547, allocations: 13.61 kB / 0.8233 GB, free: 12.91 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.286e-06/0.547, allocations: 0 / 0.8233 GB, free: 12.91 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.008e-05/0.547, allocations: 1.844 kB / 0.8233 GB, free: 12.91 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.146e-06/0.547, allocations: 1.594 kB / 0.8233 GB, free: 12.91 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.547, allocations: 3.938 kB / 0.8233 GB, free: 12.91 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002004/0.5472, allocations: 207.7 kB / 0.8235 GB, free: 12.75 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.247e-05/0.5473, allocations: 11.25 kB / 0.8235 GB, free: 12.75 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.843e-05/0.5473, allocations: 3.266 kB / 0.8235 GB, free: 12.75 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.453e-05/0.5473, allocations: 5.25 kB / 0.8235 GB, free: 12.75 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.682e-05/0.5474, allocations: 9.531 kB / 0.8235 GB, free: 12.74 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.061e-05/0.5474, allocations: 7.781 kB / 0.8235 GB, free: 12.74 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.805e-05/0.5474, allocations: 85.16 kB / 0.8236 GB, free: 12.66 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.5474, allocations: 0 / 0.8236 GB, free: 12.66 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001809/0.5476, allocations: 28.19 kB / 0.8236 GB, free: 12.66 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.0004614/0.5481, allocations: 0.736 MB / 0.8243 GB, free: 11.98 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002643/0.5483, allocations: 185 kB / 0.8245 GB, free: 11.86 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.5483, allocations: 288 / 0.8245 GB, free: 11.86 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 6.85e-05/0.5484, allocations: 32.77 kB / 0.8245 GB, free: 11.85 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002314/0.5486, allocations: 27.58 kB / 0.8246 GB, free: 11.83 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001764/0.5504, allocations: 1.767 MB / 0.8263 GB, free: 10.3 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.995e-05/0.5505, allocations: 74.03 kB / 0.8264 GB, free: 10.22 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 4.277e-05/0.5505, allocations: 5.016 kB / 0.8264 GB, free: 10.22 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.213e-05/0.5506, allocations: 16.81 kB / 0.8264 GB, free: 10.21 MB / 0.6198 GB Notification: Performance of SimCode: time 1.382e-06/0.5506, allocations: 0 / 0.8264 GB, free: 10.21 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02185/0.5724, allocations: 3.1 MB / 0.8294 GB, free: 9.262 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.713/7.285, allocations: 8.141 kB / 0.8294 GB, free: 9.258 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 & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredMax_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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.359973677899688] Failed to read output from testmodel.py, exit status != 0: 7.3649927619844675 7.380239022 6.835311723 Calling exit ...