Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.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.0009893/0.0009893, 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.0008456/0.0008456, 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.9322/0.9322, allocations: 230.6 MB / 256 MB, free: 9.594 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:686:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.7671/0.7671, allocations: 203.5 MB / 0.5039 GB, free: 10.69 MB / 410.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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.Integers.Sources.Validation.Pulse,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Integers_Sources_Validation_Pulse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.Pulse,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Integers_Sources_Validation_Pulse",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.001005/0.001005, allocations: 73.23 kB / 0.7178 GB, free: 4.367 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4685/0.4695, allocations: 102 MB / 0.8174 GB, free: 1.219 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.Pulse): time 0.001502/0.471, allocations: 0.9112 MB / 0.8183 GB, free: 0.6484 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001375/0.4723, allocations: 1.452 MB / 0.8197 GB, free: 15.59 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.664e-05/0.4724, allocations: 3.656 kB / 0.8197 GB, free: 15.59 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 5.197e-05/0.4725, allocations: 17.3 kB / 0.8197 GB, free: 15.58 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001398/0.4726, allocations: 59.28 kB / 0.8198 GB, free: 15.54 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009972/0.4736, allocations: 448.8 kB / 0.8202 GB, free: 15.3 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.00052/0.4741, allocations: 492.7 kB / 0.8207 GB, free: 15.07 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001335/0.4743, allocations: 29.39 kB / 0.8207 GB, free: 15.06 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002093/0.4745, allocations: 186.5 kB / 0.8209 GB, free: 14.97 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002167/0.4747, allocations: 152.9 kB / 0.821 GB, free: 14.91 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 5.149e-05/0.4747, allocations: 51.03 kB / 0.8211 GB, free: 14.91 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001023/0.4748, allocations: 57.52 kB / 0.8211 GB, free: 14.91 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 4.07e-05/0.4749, allocations: 39.86 kB / 0.8212 GB, free: 14.88 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001326/0.475, allocations: 151.5 kB / 0.8213 GB, free: 14.8 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0004535/0.4755, allocations: 0.4921 MB / 0.8218 GB, free: 14.62 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.86e-06/0.4755, allocations: 0 / 0.8218 GB, free: 14.62 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.724e-06/0.4755, allocations: 0 / 0.8218 GB, free: 14.62 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.624e-06/0.4755, allocations: 1.812 kB / 0.8218 GB, free: 14.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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0007314/0.4762, allocations: 0.5631 MB / 0.8223 GB, free: 14.12 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.222e-05/0.4763, allocations: 8.125 kB / 0.8224 GB, free: 14.12 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.335e-05/0.4763, allocations: 39.86 kB / 0.8224 GB, free: 14.08 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.513e-05/0.4764, allocations: 31.45 kB / 0.8224 GB, free: 14.07 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001702/0.4766, allocations: 176 kB / 0.8226 GB, free: 13.9 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.153e-05/0.4766, allocations: 12.56 kB / 0.8226 GB, free: 13.9 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.052e-05/0.4766, allocations: 23.2 kB / 0.8226 GB, free: 13.89 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002531/0.4769, allocations: 122.3 kB / 0.8227 GB, free: 13.8 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.385e-05/0.4769, allocations: 3.938 kB / 0.8227 GB, free: 13.8 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.554e-05/0.4769, allocations: 4.031 kB / 0.8227 GB, free: 13.8 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.474e-06/0.4769, allocations: 1.156 kB / 0.8227 GB, free: 13.8 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001254/0.4771, allocations: 57.66 kB / 0.8228 GB, free: 13.78 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007688/0.4778, allocations: 0.7451 MB / 0.8235 GB, free: 13.16 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001331/0.478, allocations: 120.5 kB / 0.8236 GB, free: 13.04 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.72e-05/0.478, allocations: 48.06 kB / 0.8237 GB, free: 13 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.06e-05/0.478, allocations: 1.406 kB / 0.8237 GB, free: 13 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002799/0.4783, allocations: 192.5 kB / 0.8239 GB, free: 12.88 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=16): time 1.332e-06/0.4783, allocations: 0 / 0.8239 GB, free: 12.88 MB / 0.6198 GB Notification: Performance of matching and sorting (n=16): time 0.0003797/0.4787, allocations: 223.9 kB / 0.8241 GB, free: 12.78 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.586e-05/0.4788, allocations: 138.3 kB / 0.8242 GB, free: 12.62 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002242/0.479, allocations: 247.6 kB / 0.8245 GB, free: 12.46 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 4.589e-05/0.479, allocations: 38.8 kB / 0.8245 GB, free: 12.43 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 8.749e-05/0.4791, allocations: 127.7 kB / 0.8246 GB, free: 12.31 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.907e-05/0.4791, allocations: 36.39 kB / 0.8247 GB, free: 12.29 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001298/0.4793, allocations: 95.78 kB / 0.8247 GB, free: 12.25 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001057/0.4794, allocations: 336.3 kB / 0.8251 GB, free: 11.92 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003018/0.4797, allocations: 270.5 kB / 0.8253 GB, free: 11.73 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003071/0.48, allocations: 352.8 kB / 0.8257 GB, free: 11.43 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003284/0.4803, allocations: 370.2 kB / 0.826 GB, free: 11.12 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.068e-06/0.4803, allocations: 1.5 kB / 0.826 GB, free: 11.12 MB / 0.6198 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0007311/0.4811, allocations: 0.6854 MB / 0.8267 GB, free: 10.66 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 7.904e-05/0.4811, allocations: 136.8 kB / 0.8268 GB, free: 10.52 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.544e-06/0.4811, allocations: 7 kB / 0.8268 GB, free: 10.52 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.618e-05/0.4812, allocations: 1.844 kB / 0.8268 GB, free: 10.52 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.011e-05/0.4812, allocations: 16.94 kB / 0.8268 GB, free: 10.52 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.017e-06/0.4812, allocations: 7.406 kB / 0.8268 GB, free: 10.51 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003731/0.4816, allocations: 112.6 kB / 0.8269 GB, free: 10.5 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.947e-05/0.4816, allocations: 29.23 kB / 0.827 GB, free: 10.49 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 20 ($whenCondition7,$whenCondition8,pul3.booPul.y,$PRE.pul3.booPul.y,pul3.y,$whenCondition5,$whenCondition6,pul1.booPul.y,$PRE.pul1.booPul.y,pul1.y,$whenCondition3,$whenCondition4,pul2.booPul.y,$PRE.pul2.booPul.y,pul2.y,$whenCondition1,$whenCondition2,pul.booPul.y,$PRE.pul.booPul.y,pul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 4 * 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 0.0001207/0.4818, allocations: 146.8 kB / 0.8271 GB, free: 10.36 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.695e-05/0.4818, allocations: 23.84 kB / 0.8271 GB, free: 10.35 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.029e-05/0.4818, allocations: 28.33 kB / 0.8272 GB, free: 10.32 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.4818, allocations: 0 / 0.8272 GB, free: 10.32 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.875e-06/0.4818, allocations: 1.25 kB / 0.8272 GB, free: 10.32 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.444e-06/0.4819, allocations: 9.156 kB / 0.8272 GB, free: 10.32 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001976/0.482, allocations: 210 kB / 0.8274 GB, free: 10.12 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.516e-06/0.4821, allocations: 3.094 kB / 0.8274 GB, free: 10.12 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.842e-05/0.4821, allocations: 11.53 kB / 0.8274 GB, free: 10.12 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.836e-06/0.4821, allocations: 3.156 kB / 0.8274 GB, free: 10.12 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.401e-05/0.4821, allocations: 8.297 kB / 0.8274 GB, free: 10.12 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.375e-06/0.4821, allocations: 2.188 kB / 0.8274 GB, free: 10.12 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.4821, allocations: 0 / 0.8274 GB, free: 10.12 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002391/0.4823, allocations: 221.2 kB / 0.8276 GB, free: 9.973 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.934e-05/0.4824, allocations: 24.62 kB / 0.8276 GB, free: 9.957 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.971e-05/0.4824, allocations: 4.141 kB / 0.8276 GB, free: 9.957 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.554e-05/0.4824, allocations: 9.891 kB / 0.8277 GB, free: 9.949 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.353e-05/0.4825, allocations: 16.61 kB / 0.8277 GB, free: 9.945 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.681e-05/0.4825, allocations: 15.98 kB / 0.8277 GB, free: 9.938 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001849/0.4827, allocations: 165.9 kB / 0.8278 GB, free: 9.836 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1e-07/0.4827, allocations: 0 / 0.8278 GB, free: 9.836 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0004035/0.4831, allocations: 71.89 kB / 0.8279 GB, free: 9.824 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 16 ($whenCondition7,$whenCondition8,pul3.y,pul3.booPul.y,$whenCondition5,$whenCondition6,pul1.y,pul1.booPul.y,$whenCondition3,$whenCondition4,pul2.y,pul2.booPul.y,$whenCondition1,$whenCondition2,pul.y,pul.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.000558/0.4836, allocations: 0.7644 MB / 0.8287 GB, free: 9.145 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0006695/0.4843, allocations: 0.6136 MB / 0.8293 GB, free: 8.641 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.4843, allocations: 0 / 0.8293 GB, free: 8.641 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 8.551e-05/0.4844, allocations: 59.86 kB / 0.8293 GB, free: 8.621 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003463/0.4847, allocations: 65.67 kB / 0.8294 GB, free: 8.602 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003285/0.488, allocations: 3.54 MB / 0.8328 GB, free: 5.898 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.466e-05/0.4881, allocations: 125 kB / 0.833 GB, free: 5.816 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 6.567e-05/0.4882, allocations: 17.81 kB / 0.833 GB, free: 5.812 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.737e-05/0.4882, allocations: 60.08 kB / 0.833 GB, free: 5.77 MB / 0.6198 GB Notification: Performance of SimCode: time 7.51e-07/0.4882, allocations: 0 / 0.833 GB, free: 5.77 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02038/0.5086, allocations: 7.52 MB / 0.8404 GB, free: 3.27 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.944/7.452, allocations: 2.781 kB / 0.8404 GB, free: 3.27 MB / 0.6198 GB " [Timeout remaining time 652] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.Pulse_res.csv --start-time 0 --stop-time 5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.002 IDEAS_IDEAS_Controls_OBC_CDL_Integers_Sources_Validation_Pulse.fmu > IDEAS_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.390189475845546] Failed to read output from testmodel.py, exit status != 0: 7.533375276252627 7.548522098 7.071021501 Calling exit ...