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.001118/0.001118, allocations: 113.9 kB / 18.94 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.001011/0.001011, allocations: 217.2 kB / 22.26 MB, free: 3.699 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.9535/0.9535, allocations: 230.6 MB / 256 MB, free: 9.805 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.7912/0.7912, allocations: 203.8 MB / 0.5042 GB, free: 10.71 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.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: 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.0009449/0.0009449, allocations: 61.81 kB / 0.7182 GB, free: 4.336 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5505/0.5515, allocations: 102 MB / 0.8179 GB, free: 1.25 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Edge): time 0.001488/0.553, allocations: 0.7281 MB / 0.8186 GB, free: 0.7891 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001012/0.554, allocations: 1.198 MB / 0.8198 GB, free: 15.91 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.14e-05/0.554, allocations: 0 / 0.8198 GB, free: 15.91 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 3.069e-05/0.5541, allocations: 4.781 kB / 0.8198 GB, free: 15.91 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 8.079e-05/0.5542, allocations: 15.48 kB / 0.8198 GB, free: 15.9 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004167/0.5546, allocations: 137.4 kB / 0.8199 GB, free: 15.83 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001546/0.5547, allocations: 119.8 kB / 0.82 GB, free: 15.77 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 8.885e-05/0.5548, allocations: 10.41 kB / 0.82 GB, free: 15.77 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 8.401e-05/0.5549, allocations: 47.98 kB / 0.8201 GB, free: 15.75 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 9.039e-05/0.555, allocations: 46.27 kB / 0.8201 GB, free: 15.73 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.889e-05/0.555, allocations: 11.06 kB / 0.8201 GB, free: 15.73 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 6.222e-05/0.5551, allocations: 22.31 kB / 0.8202 GB, free: 15.73 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.016e-05/0.5551, allocations: 12.88 kB / 0.8202 GB, free: 15.72 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 5.613e-05/0.5551, allocations: 48.06 kB / 0.8202 GB, free: 15.69 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001736/0.5553, allocations: 111.7 kB / 0.8203 GB, free: 15.66 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.437e-06/0.5553, allocations: 4 kB / 0.8203 GB, free: 15.65 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.082e-06/0.5553, allocations: 3.938 kB / 0.8203 GB, free: 15.65 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.091e-06/0.5553, allocations: 0.5 kB / 0.8203 GB, free: 15.65 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.0007162/0.556, allocations: 336.7 kB / 0.8206 GB, free: 15.33 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.918e-05/0.5561, allocations: 10.53 kB / 0.8207 GB, free: 15.33 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.638e-05/0.5561, allocations: 33.75 kB / 0.8207 GB, free: 15.29 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.276e-05/0.5562, allocations: 10.8 kB / 0.8207 GB, free: 15.29 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.118e-05/0.5562, allocations: 115.4 kB / 0.8208 GB, free: 15.15 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.353e-05/0.5562, allocations: 12.28 kB / 0.8208 GB, free: 15.14 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.909e-05/0.5563, allocations: 7.578 kB / 0.8208 GB, free: 15.14 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001395/0.5564, allocations: 63.44 kB / 0.8209 GB, free: 15.11 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.977e-06/0.5564, allocations: 7.922 kB / 0.8209 GB, free: 15.1 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.697e-06/0.5564, allocations: 4.547 kB / 0.8209 GB, free: 15.09 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.54e-06/0.5564, allocations: 3.5 kB / 0.8209 GB, free: 15.09 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.78e-05/0.5565, allocations: 40.94 kB / 0.8209 GB, free: 15.09 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004111/0.5569, allocations: 314 kB / 0.8212 GB, free: 14.81 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001242/0.5571, allocations: 56.36 kB / 0.8213 GB, free: 14.77 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.296e-05/0.5571, allocations: 34.25 kB / 0.8213 GB, free: 14.76 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.012e-05/0.5571, allocations: 0 / 0.8213 GB, free: 14.76 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001668/0.5573, allocations: 87.67 kB / 0.8214 GB, free: 14.7 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=8): time 1.082e-06/0.5573, allocations: 0 / 0.8214 GB, free: 14.7 MB / 0.6198 GB Notification: Performance of matching and sorting (n=8): time 0.0002885/0.5576, allocations: 144.2 kB / 0.8215 GB, free: 14.64 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.62e-05/0.5576, allocations: 54.91 kB / 0.8216 GB, free: 14.57 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.829e-05/0.5577, allocations: 122.9 kB / 0.8217 GB, free: 14.46 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.134e-05/0.5577, allocations: 34.33 kB / 0.8218 GB, free: 14.43 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.933e-05/0.5578, allocations: 91.33 kB / 0.8218 GB, free: 14.34 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.993e-05/0.5578, allocations: 20.64 kB / 0.8219 GB, free: 14.32 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.084e-05/0.5578, allocations: 38.16 kB / 0.8219 GB, free: 14.3 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.134e-05/0.5579, allocations: 319.9 kB / 0.8222 GB, free: 13.98 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001021/0.558, allocations: 57.31 kB / 0.8223 GB, free: 13.96 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001227/0.5582, allocations: 88.8 kB / 0.8223 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000183/0.5583, allocations: 139.7 kB / 0.8225 GB, free: 13.8 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-06/0.5583, allocations: 1.281 kB / 0.8225 GB, free: 13.8 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.00029/0.5586, allocations: 209.6 kB / 0.8227 GB, free: 13.7 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 3.643e-05/0.5587, allocations: 39.02 kB / 0.8227 GB, free: 13.66 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/0.5587, allocations: 64 / 0.8227 GB, free: 13.66 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.38e-05/0.5587, allocations: 4 kB / 0.8227 GB, free: 13.66 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.661e-05/0.5588, allocations: 17.52 kB / 0.8227 GB, free: 13.66 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.317e-06/0.5588, allocations: 7.844 kB / 0.8227 GB, free: 13.65 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000103/0.5589, allocations: 36.27 kB / 0.8228 GB, free: 13.64 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.588e-05/0.5589, allocations: 8.719 kB / 0.8228 GB, free: 13.64 MB / 0.6198 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 7.514e-05/0.559, allocations: 121.1 kB / 0.8229 GB, free: 13.52 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.897e-06/0.559, allocations: 7.484 kB / 0.8229 GB, free: 13.52 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.705e-05/0.559, allocations: 13.59 kB / 0.8229 GB, free: 13.5 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.285e-06/0.559, allocations: 4.25 kB / 0.8229 GB, free: 13.5 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.429e-06/0.559, allocations: 0 / 0.8229 GB, free: 13.5 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.559, allocations: 0 / 0.8229 GB, free: 13.5 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003344/0.5593, allocations: 344.1 kB / 0.8232 GB, free: 13.21 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.5593, allocations: 0 / 0.8232 GB, free: 13.21 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.844e-05/0.5594, allocations: 15.7 kB / 0.8233 GB, free: 13.2 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.903e-06/0.5594, allocations: 3.938 kB / 0.8233 GB, free: 13.2 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.953e-06/0.5594, allocations: 4.75 kB / 0.8233 GB, free: 13.2 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.52e-07/0.5594, allocations: 0 / 0.8233 GB, free: 13.2 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.5594, allocations: 0 / 0.8233 GB, free: 13.2 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000169/0.5595, allocations: 212.8 kB / 0.8235 GB, free: 13.04 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 9.047e-06/0.5596, allocations: 7.625 kB / 0.8235 GB, free: 13.03 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.331e-05/0.5596, allocations: 5.156 kB / 0.8235 GB, free: 13.03 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.533e-05/0.5596, allocations: 11.05 kB / 0.8235 GB, free: 13.02 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.513e-05/0.5597, allocations: 10.67 kB / 0.8235 GB, free: 13.02 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.752e-06/0.5597, allocations: 2.562 kB / 0.8235 GB, free: 13.02 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.995e-05/0.5597, allocations: 98.72 kB / 0.8236 GB, free: 12.93 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.5597, allocations: 1.406 kB / 0.8236 GB, free: 12.93 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001739/0.5599, allocations: 20.14 kB / 0.8236 GB, free: 12.93 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: 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.0003969/0.5603, allocations: 0.75 MB / 0.8244 GB, free: 12.24 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002524/0.5605, allocations: 161.7 kB / 0.8245 GB, free: 12.15 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.5605, allocations: 0 / 0.8245 GB, free: 12.15 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 7.152e-05/0.5606, allocations: 43.14 kB / 0.8246 GB, free: 12.14 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001979/0.5608, allocations: 20.05 kB / 0.8246 GB, free: 12.13 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001446/0.5622, allocations: 1.684 MB / 0.8262 GB, free: 10.7 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001861/0.5624, allocations: 0.6885 MB / 0.8269 GB, free: 10 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.063e-05/0.5625, allocations: 12.95 kB / 0.8269 GB, free: 9.996 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.893e-05/0.5625, allocations: 22.38 kB / 0.8269 GB, free: 9.98 MB / 0.6198 GB Notification: Performance of SimCode: time 5.21e-07/0.5625, allocations: 0 / 0.8269 GB, free: 9.98 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01789/0.5804, allocations: 2.694 MB / 0.8296 GB, free: 9.473 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.522/7.103, allocations: 3.781 kB / 0.8296 GB, free: 9.473 MB / 0.6198 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: 10.168390457052737] Failed to read output from testmodel.py, exit status != 0: 7.179806231055409 7.191228136 6.633921575 Calling exit ...