Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.0009452/0.0009452, allocations: 105.5 kB / 18.95 MB, free: 1.188 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.001538/0.001538, allocations: 208.1 kB / 22.25 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.9402/0.9402, 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 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.7836/0.7836, allocations: 203.8 MB / 0.5042 GB, free: 10.43 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.Integers.Sources.Validation.Pulse,fileNamePrefix="IDEAS_dev_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_dev_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.0009361/0.0009361, allocations: 66.02 kB / 0.7182 GB, free: 4.008 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4967/0.4976, allocations: 102 MB / 0.8178 GB, free: 1.031 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.Pulse): time 0.001391/0.499, allocations: 0.9194 MB / 0.8187 GB, free: 456 kB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001185/0.5002, allocations: 1.451 MB / 0.8201 GB, free: 15.39 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.164e-05/0.5003, allocations: 10 kB / 0.8201 GB, free: 15.39 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 3.443e-05/0.5003, allocations: 13.31 kB / 0.8201 GB, free: 15.38 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.000112/0.5004, allocations: 59.61 kB / 0.8202 GB, free: 15.33 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006841/0.5011, allocations: 445.3 kB / 0.8206 GB, free: 15.11 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.000366/0.5015, allocations: 0.4891 MB / 0.8211 GB, free: 14.86 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001026/0.5016, allocations: 32 kB / 0.8211 GB, free: 14.85 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001449/0.5017, allocations: 186.6 kB / 0.8213 GB, free: 14.76 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001785/0.5019, allocations: 141.4 kB / 0.8214 GB, free: 14.71 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 5.211e-05/0.502, allocations: 49.41 kB / 0.8215 GB, free: 14.71 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 8.221e-05/0.502, allocations: 66.84 kB / 0.8215 GB, free: 14.7 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 3.388e-05/0.5021, allocations: 40.36 kB / 0.8216 GB, free: 14.67 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001156/0.5022, allocations: 146.2 kB / 0.8217 GB, free: 14.59 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.000388/0.5026, allocations: 0.4961 MB / 0.8222 GB, free: 14.42 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.5026, allocations: 0 / 0.8222 GB, free: 14.42 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.563e-06/0.5026, allocations: 0 / 0.8222 GB, free: 14.42 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.001e-06/0.5026, allocations: 5.375 kB / 0.8222 GB, free: 14.41 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.0006068/0.5032, allocations: 0.5631 MB / 0.8228 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.4e-05/0.5032, allocations: 9.594 kB / 0.8228 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.102e-05/0.5033, allocations: 40.55 kB / 0.8228 GB, free: 13.87 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.324e-05/0.5033, allocations: 35.91 kB / 0.8228 GB, free: 13.85 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001316/0.5034, allocations: 159.5 kB / 0.823 GB, free: 13.7 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.418e-05/0.5035, allocations: 19.33 kB / 0.823 GB, free: 13.69 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.823e-05/0.5035, allocations: 23.94 kB / 0.823 GB, free: 13.69 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001532/0.5037, allocations: 118.7 kB / 0.8232 GB, free: 13.6 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.776e-06/0.5037, allocations: 5 kB / 0.8232 GB, free: 13.6 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.131e-05/0.5037, allocations: 9.906 kB / 0.8232 GB, free: 13.59 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.5e-06/0.5037, allocations: 3.109 kB / 0.8232 GB, free: 13.59 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.837e-05/0.5038, allocations: 59.98 kB / 0.8232 GB, free: 13.56 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006785/0.5045, allocations: 0.7464 MB / 0.824 GB, free: 12.95 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001303/0.5046, allocations: 118.4 kB / 0.8241 GB, free: 12.83 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.133e-05/0.5046, allocations: 45.11 kB / 0.8241 GB, free: 12.79 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.172e-05/0.5047, allocations: 7 kB / 0.8241 GB, free: 12.79 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002246/0.5049, allocations: 180 kB / 0.8243 GB, free: 12.67 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=16): time 1.072e-06/0.5049, allocations: 0 / 0.8243 GB, free: 12.67 MB / 0.6198 GB Notification: Performance of matching and sorting (n=16): time 0.000346/0.5052, allocations: 228.5 kB / 0.8245 GB, free: 12.57 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.211e-05/0.5053, allocations: 133.6 kB / 0.8246 GB, free: 12.42 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001826/0.5055, allocations: 247.7 kB / 0.8249 GB, free: 12.25 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.792e-05/0.5055, allocations: 38.14 kB / 0.8249 GB, free: 12.22 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 7.645e-05/0.5056, allocations: 128.8 kB / 0.825 GB, free: 12.11 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.483e-05/0.5056, allocations: 35.2 kB / 0.8251 GB, free: 12.08 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001257/0.5057, allocations: 97.77 kB / 0.8252 GB, free: 12.04 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.584e-05/0.5058, allocations: 334.2 kB / 0.8255 GB, free: 11.72 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002577/0.5061, allocations: 271.2 kB / 0.8257 GB, free: 11.52 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002663/0.5063, allocations: 355.7 kB / 0.8261 GB, free: 11.23 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002817/0.5066, allocations: 366 kB / 0.8264 GB, free: 10.92 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/0.5066, allocations: 5.094 kB / 0.8264 GB, free: 10.91 MB / 0.6198 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0006359/0.5073, allocations: 0.6856 MB / 0.8271 GB, free: 10.46 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 6.201e-05/0.5073, allocations: 135 kB / 0.8272 GB, free: 10.32 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.141e-06/0.5073, allocations: 8.266 kB / 0.8272 GB, free: 10.32 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.326e-05/0.5073, allocations: 2.844 kB / 0.8272 GB, free: 10.32 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.865e-05/0.5074, allocations: 14.95 kB / 0.8272 GB, free: 10.31 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.324e-06/0.5074, allocations: 4.359 kB / 0.8273 GB, free: 10.31 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003483/0.5077, allocations: 116.9 kB / 0.8274 GB, free: 10.29 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.784e-05/0.5078, allocations: 28.34 kB / 0.8274 GB, free: 10.29 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.0001112/0.5079, allocations: 153 kB / 0.8275 GB, free: 10.15 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.078e-05/0.5079, allocations: 23.05 kB / 0.8276 GB, free: 10.14 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.469e-05/0.508, allocations: 21.67 kB / 0.8276 GB, free: 10.12 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.855e-06/0.508, allocations: 3.031 kB / 0.8276 GB, free: 10.12 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/0.508, allocations: 1.25 kB / 0.8276 GB, free: 10.12 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.621e-06/0.508, allocations: 6.281 kB / 0.8276 GB, free: 10.11 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000157/0.5081, allocations: 212.3 kB / 0.8278 GB, free: 9.922 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.5081, allocations: 1.719 kB / 0.8278 GB, free: 9.922 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.683e-05/0.5082, allocations: 14.42 kB / 0.8278 GB, free: 9.918 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/0.5082, allocations: 1.344 kB / 0.8278 GB, free: 9.918 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.103e-05/0.5082, allocations: 8.453 kB / 0.8278 GB, free: 9.914 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/0.5082, allocations: 6.219 kB / 0.8278 GB, free: 9.91 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.5082, allocations: 1.531 kB / 0.8278 GB, free: 9.91 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002192/0.5084, allocations: 223.4 kB / 0.828 GB, free: 9.762 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.397e-05/0.5084, allocations: 20.98 kB / 0.8281 GB, free: 9.75 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.892e-05/0.5084, allocations: 11.64 kB / 0.8281 GB, free: 9.742 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.113e-05/0.5085, allocations: 3.453 kB / 0.8281 GB, free: 9.742 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.961e-05/0.5085, allocations: 18.45 kB / 0.8281 GB, free: 9.734 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.003e-05/0.5085, allocations: 8.297 kB / 0.8281 GB, free: 9.734 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001221/0.5086, allocations: 169.1 kB / 0.8283 GB, free: 9.629 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.5086, allocations: 0 / 0.8283 GB, free: 9.629 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002319/0.5089, allocations: 72.81 kB / 0.8283 GB, free: 9.617 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.0004286/0.5093, allocations: 0.7664 MB / 0.8291 GB, free: 8.938 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0005521/0.5098, allocations: 0.5982 MB / 0.8297 GB, free: 8.445 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.5098, allocations: 1.656 kB / 0.8297 GB, free: 8.445 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 8.023e-05/0.5099, allocations: 62.2 kB / 0.8297 GB, free: 8.422 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002867/0.5102, allocations: 71 kB / 0.8298 GB, free: 8.398 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00327/0.5135, allocations: 3.548 MB / 0.8333 GB, free: 5.684 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000106/0.5136, allocations: 117.2 kB / 0.8334 GB, free: 5.609 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 6.223e-05/0.5137, allocations: 21.52 kB / 0.8334 GB, free: 5.602 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.303e-05/0.5137, allocations: 56.92 kB / 0.8334 GB, free: 5.562 MB / 0.6198 GB Notification: Performance of SimCode: time 7.61e-07/0.5137, allocations: 0 / 0.8334 GB, free: 5.562 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02085/0.5346, allocations: 7.524 MB / 0.8408 GB, free: 2.973 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.765/7.3, allocations: 4.531 kB / 0.8408 GB, free: 2.973 MB / 0.6198 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.sim & python3 -m fmpy simulate --output-file IDEAS_dev_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_dev_IDEAS_Controls_OBC_CDL_Integers_Sources_Validation_Pulse.fmu > IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.25272063491866] Failed to read output from testmodel.py, exit status != 0: 7.378788631875068 7.388793453 6.884325047 Calling exit ...