Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.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.0007512/0.0007512, 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.0007927/0.0007927, allocations: 221.7 kB / 22.26 MB, free: 3.691 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.9919/0.9919, allocations: 230.6 MB / 256 MB, free: 9.797 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.8294/0.8294, allocations: 203.8 MB / 0.5042 GB, free: 10.72 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.Reals.Sources.Validation.Pulse,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Sources_Validation_Pulse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Pulse,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_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.0009674/0.0009674, allocations: 67.94 kB / 0.7183 GB, free: 4.316 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6021/0.603, allocations: 102 MB / 0.8179 GB, free: 1.262 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Pulse): time 0.001368/0.6044, allocations: 0.7245 MB / 0.8186 GB, free: 0.7969 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.000974/0.6054, allocations: 1.174 MB / 0.8197 GB, free: 15.94 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.745e-05/0.6054, allocations: 0 / 0.8197 GB, free: 15.94 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.714e-05/0.6055, allocations: 7.625 kB / 0.8197 GB, free: 15.93 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 7.499e-05/0.6055, allocations: 10.33 kB / 0.8198 GB, free: 15.93 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004026/0.6059, allocations: 143.7 kB / 0.8199 GB, free: 15.85 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001611/0.6061, allocations: 122.3 kB / 0.82 GB, free: 15.79 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 9.001e-05/0.6062, allocations: 10.11 kB / 0.82 GB, free: 15.79 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003281/0.6065, allocations: 51.12 kB / 0.8201 GB, free: 15.76 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 9.906e-05/0.6066, allocations: 37.62 kB / 0.8201 GB, free: 15.74 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.236e-05/0.6066, allocations: 14.44 kB / 0.8201 GB, free: 15.74 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 6.218e-05/0.6067, allocations: 25 kB / 0.8201 GB, free: 15.74 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.835e-05/0.6067, allocations: 11.02 kB / 0.8202 GB, free: 15.73 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 5.841e-05/0.6068, allocations: 49.5 kB / 0.8202 GB, free: 15.7 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001966/0.607, allocations: 134.6 kB / 0.8203 GB, free: 15.66 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.607, allocations: 4 kB / 0.8203 GB, free: 15.65 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.004e-06/0.607, allocations: 3.656 kB / 0.8203 GB, free: 15.65 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.36e-06/0.607, allocations: 0 / 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004283/0.6074, allocations: 320.4 kB / 0.8206 GB, free: 15.33 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.941e-05/0.6075, allocations: 10.88 kB / 0.8207 GB, free: 15.33 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.544e-05/0.6075, allocations: 31.73 kB / 0.8207 GB, free: 15.29 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.033e-05/0.6075, allocations: 14.83 kB / 0.8207 GB, free: 15.29 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.527e-05/0.6076, allocations: 119.9 kB / 0.8208 GB, free: 15.15 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.43e-05/0.6076, allocations: 384 / 0.8208 GB, free: 15.15 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.62e-05/0.6076, allocations: 9.031 kB / 0.8208 GB, free: 15.15 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.046e-05/0.6077, allocations: 50.77 kB / 0.8209 GB, free: 15.11 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.685e-06/0.6077, allocations: 3.938 kB / 0.8209 GB, free: 15.1 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.275e-06/0.6077, allocations: 0.7031 kB / 0.8209 GB, free: 15.1 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/0.6077, allocations: 1.188 kB / 0.8209 GB, free: 15.1 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.342e-05/0.6078, allocations: 13.95 kB / 0.8209 GB, free: 15.1 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003685/0.6081, allocations: 296.2 kB / 0.8212 GB, free: 14.83 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 5.414e-05/0.6082, allocations: 29.98 kB / 0.8212 GB, free: 14.8 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.062e-05/0.6082, allocations: 17.31 kB / 0.8212 GB, free: 14.78 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 8.657e-06/0.6082, allocations: 3.5 kB / 0.8212 GB, free: 14.78 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001352/0.6084, allocations: 62.69 kB / 0.8213 GB, free: 14.73 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=4): time 1.052e-06/0.6084, allocations: 0 / 0.8213 GB, free: 14.73 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4): time 0.000168/0.6085, allocations: 70.97 kB / 0.8213 GB, free: 14.68 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.338e-05/0.6086, allocations: 58.62 kB / 0.8214 GB, free: 14.62 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.733e-05/0.6087, allocations: 136.4 kB / 0.8215 GB, free: 14.5 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.634e-05/0.6087, allocations: 28.52 kB / 0.8216 GB, free: 14.46 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.467e-05/0.6087, allocations: 90.75 kB / 0.8216 GB, free: 14.38 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.479e-05/0.6087, allocations: 16.72 kB / 0.8217 GB, free: 14.36 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.438e-05/0.6088, allocations: 29.48 kB / 0.8217 GB, free: 14.34 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.91e-05/0.6089, allocations: 320.3 kB / 0.822 GB, free: 14.03 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.716e-05/0.6089, allocations: 37.17 kB / 0.822 GB, free: 14.01 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.932e-05/0.609, allocations: 60.45 kB / 0.8221 GB, free: 13.97 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.956e-05/0.6091, allocations: 92.75 kB / 0.8222 GB, free: 13.89 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.6091, allocations: 0 / 0.8222 GB, free: 13.89 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002064/0.6093, allocations: 162.5 kB / 0.8223 GB, free: 13.79 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 3.678e-05/0.6093, allocations: 42.52 kB / 0.8224 GB, free: 13.75 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.06e-06/0.6093, allocations: 0 / 0.8224 GB, free: 13.75 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.129e-05/0.6093, allocations: 0.9062 kB / 0.8224 GB, free: 13.75 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.122e-05/0.6094, allocations: 6.891 kB / 0.8224 GB, free: 13.75 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.46e-06/0.6094, allocations: 2.562 kB / 0.8224 GB, free: 13.75 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001252/0.6095, allocations: 27.47 kB / 0.8224 GB, free: 13.75 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.396e-05/0.6095, allocations: 6.438 kB / 0.8224 GB, free: 13.75 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,$whenCondition2,pulse.booPul.y,$PRE.pulse.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 4 * 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 6.713e-05/0.6096, allocations: 119.8 kB / 0.8225 GB, free: 13.62 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.366e-06/0.6096, allocations: 10.84 kB / 0.8225 GB, free: 13.62 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.491e-05/0.6096, allocations: 8.984 kB / 0.8225 GB, free: 13.61 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.6096, allocations: 4.703 kB / 0.8226 GB, free: 13.61 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.432e-06/0.6096, allocations: 8.047 kB / 0.8226 GB, free: 13.6 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.6096, allocations: 0.5625 kB / 0.8226 GB, free: 13.6 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.739e-05/0.6097, allocations: 144.4 kB / 0.8227 GB, free: 13.43 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.424e-06/0.6097, allocations: 2.266 kB / 0.8227 GB, free: 13.43 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.384e-05/0.6098, allocations: 6.891 kB / 0.8227 GB, free: 13.43 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.6098, allocations: 0 / 0.8227 GB, free: 13.43 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.091e-06/0.6098, allocations: 0.7969 kB / 0.8227 GB, free: 13.43 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/0.6098, allocations: 1.156 kB / 0.8227 GB, free: 13.43 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.6098, allocations: 0 / 0.8227 GB, free: 13.43 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.473e-05/0.6099, allocations: 97.59 kB / 0.8228 GB, free: 13.34 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.024e-05/0.6099, allocations: 1.609 kB / 0.8228 GB, free: 13.34 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.206e-05/0.6099, allocations: 11.55 kB / 0.8228 GB, free: 13.34 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.488e-05/0.6099, allocations: 0.7969 kB / 0.8228 GB, free: 13.34 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.607e-05/0.6099, allocations: 4.891 kB / 0.8228 GB, free: 13.34 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.978e-06/0.6099, allocations: 0.7031 kB / 0.8228 GB, free: 13.34 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.594e-05/0.61, allocations: 96.94 kB / 0.8229 GB, free: 13.25 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5.1e-08/0.61, allocations: 0 / 0.8229 GB, free: 13.25 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001598/0.6101, allocations: 21.67 kB / 0.8229 GB, free: 13.25 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: 3 ($whenCondition1,$whenCondition2,pulse.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0003287/0.6105, allocations: 0.6303 MB / 0.8235 GB, free: 12.64 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001898/0.6107, allocations: 125.1 kB / 0.8237 GB, free: 12.55 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.6107, allocations: 0 / 0.8237 GB, free: 12.55 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 2.676e-05/0.6107, allocations: 16.89 kB / 0.8237 GB, free: 12.54 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000193/0.6109, allocations: 20.84 kB / 0.8237 GB, free: 12.53 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001242/0.6121, allocations: 1.492 MB / 0.8252 GB, free: 11.22 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001777/0.6123, allocations: 0.6904 MB / 0.8258 GB, free: 10.52 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.662e-05/0.6123, allocations: 4.078 kB / 0.8258 GB, free: 10.52 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.52e-05/0.6124, allocations: 16.34 kB / 0.8259 GB, free: 10.51 MB / 0.6198 GB Notification: Performance of SimCode: time 5.81e-07/0.6124, allocations: 0 / 0.8259 GB, free: 10.51 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01748/0.6298, allocations: 2.474 MB / 0.8283 GB, free: 10.02 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.554/7.184, allocations: 13.16 kB / 0.8283 GB, free: 10.02 MB / 0.6198 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.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_Reals_Sources_Validation_Pulse.fmu > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.287856255890802] Failed to read output from testmodel.py, exit status != 0: 7.263183809816837 7.277373747 6.666446691 Calling exit ...