Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.0008051/0.0008051, allocations: 105.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.001063/0.001063, allocations: 206.6 kB / 22.24 MB, free: 3.582 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.9456/0.9456, allocations: 230.6 MB / 256 MB, free: 9.613 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.7879/0.7879, allocations: 203.5 MB / 0.5039 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 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.Reals.Sources.Validation.Pulse,fileNamePrefix="IDEAS_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_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.001008/0.001008, allocations: 70.91 kB / 0.7178 GB, free: 4.387 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4647/0.4657, allocations: 102 MB / 0.8174 GB, free: 1.234 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Pulse): time 0.001488/0.4672, allocations: 0.7 MB / 0.8181 GB, free: 0.8008 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001102/0.4683, allocations: 1.154 MB / 0.8192 GB, free: 15.96 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.919e-05/0.4683, allocations: 4.719 kB / 0.8192 GB, free: 15.96 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.902e-05/0.4684, allocations: 0.6094 kB / 0.8192 GB, free: 15.96 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 8.058e-05/0.4685, allocations: 21.64 kB / 0.8192 GB, free: 15.95 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004124/0.4689, allocations: 129.6 kB / 0.8194 GB, free: 15.88 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.000162/0.469, allocations: 122.6 kB / 0.8195 GB, free: 15.82 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 9.55e-05/0.4691, allocations: 14.17 kB / 0.8195 GB, free: 15.81 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 7.426e-05/0.4692, allocations: 48.3 kB / 0.8195 GB, free: 15.79 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 9.189e-05/0.4693, allocations: 33.33 kB / 0.8196 GB, free: 15.78 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.94e-05/0.4693, allocations: 14.19 kB / 0.8196 GB, free: 15.78 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 5.871e-05/0.4694, allocations: 23.8 kB / 0.8196 GB, free: 15.77 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.552e-05/0.4694, allocations: 14.61 kB / 0.8196 GB, free: 15.76 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 5.681e-05/0.4695, allocations: 38.2 kB / 0.8197 GB, free: 15.74 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.000199/0.4697, allocations: 139.4 kB / 0.8198 GB, free: 15.7 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.4697, allocations: 0 / 0.8198 GB, free: 15.7 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.893e-06/0.4697, allocations: 0 / 0.8198 GB, free: 15.7 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.332e-06/0.4697, allocations: 0 / 0.8198 GB, free: 15.7 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.0004442/0.4701, allocations: 329.6 kB / 0.8201 GB, free: 15.37 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.818e-05/0.4701, allocations: 7 kB / 0.8201 GB, free: 15.37 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.616e-05/0.4702, allocations: 32.08 kB / 0.8202 GB, free: 15.33 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.953e-05/0.4702, allocations: 10.78 kB / 0.8202 GB, free: 15.33 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.542e-05/0.4703, allocations: 122.5 kB / 0.8203 GB, free: 15.19 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.46e-05/0.4703, allocations: 4.938 kB / 0.8203 GB, free: 15.19 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.489e-05/0.4703, allocations: 6.078 kB / 0.8203 GB, free: 15.19 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.828e-05/0.4704, allocations: 40.77 kB / 0.8203 GB, free: 15.16 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.893e-06/0.4704, allocations: 3.938 kB / 0.8203 GB, free: 15.15 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.073e-06/0.4704, allocations: 0 / 0.8203 GB, free: 15.15 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.998e-06/0.4704, allocations: 2.281 kB / 0.8203 GB, free: 15.15 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.856e-05/0.4705, allocations: 15.78 kB / 0.8204 GB, free: 15.14 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003347/0.4708, allocations: 281.3 kB / 0.8206 GB, free: 14.88 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 5.651e-05/0.4709, allocations: 32.5 kB / 0.8206 GB, free: 14.84 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.867e-05/0.4709, allocations: 12.19 kB / 0.8207 GB, free: 14.83 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 7.875e-06/0.4709, allocations: 1.875 kB / 0.8207 GB, free: 14.83 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001414/0.471, allocations: 72.17 kB / 0.8207 GB, free: 14.77 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=4): time 1.062e-06/0.471, allocations: 3.938 kB / 0.8207 GB, free: 14.77 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4): time 0.0001655/0.4712, allocations: 72.27 kB / 0.8208 GB, free: 14.72 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.031e-05/0.4712, allocations: 55.39 kB / 0.8209 GB, free: 14.66 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.349e-05/0.4713, allocations: 130.7 kB / 0.821 GB, free: 14.54 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.792e-05/0.4713, allocations: 28.91 kB / 0.821 GB, free: 14.51 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.33e-05/0.4714, allocations: 93.34 kB / 0.8211 GB, free: 14.42 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.176e-05/0.4714, allocations: 10.92 kB / 0.8211 GB, free: 14.41 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.657e-05/0.4714, allocations: 33.73 kB / 0.8211 GB, free: 14.39 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.598e-05/0.4715, allocations: 319.1 kB / 0.8214 GB, free: 14.07 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.04e-05/0.4716, allocations: 73.62 kB / 0.8215 GB, free: 14.02 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.135e-05/0.4717, allocations: 86.53 kB / 0.8216 GB, free: 13.95 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.508e-05/0.4718, allocations: 88.5 kB / 0.8217 GB, free: 13.88 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.123e-06/0.4718, allocations: 0 / 0.8217 GB, free: 13.88 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002001/0.472, allocations: 199.6 kB / 0.8219 GB, free: 13.73 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 3.96e-05/0.472, allocations: 40.77 kB / 0.8219 GB, free: 13.7 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.01e-06/0.472, allocations: 4.062 kB / 0.8219 GB, free: 13.7 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.258e-05/0.472, allocations: 4 kB / 0.8219 GB, free: 13.69 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.366e-05/0.4721, allocations: 8.797 kB / 0.8219 GB, free: 13.69 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.921e-06/0.4721, allocations: 0.6094 kB / 0.8219 GB, free: 13.69 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001271/0.4722, allocations: 24.41 kB / 0.822 GB, free: 13.69 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.533e-05/0.4722, allocations: 7.891 kB / 0.822 GB, free: 13.69 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.921e-05/0.4723, allocations: 119.7 kB / 0.8221 GB, free: 13.57 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.356e-06/0.4723, allocations: 6.859 kB / 0.8221 GB, free: 13.56 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.384e-05/0.4723, allocations: 15.03 kB / 0.8221 GB, free: 13.55 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-06/0.4723, allocations: 0 / 0.8221 GB, free: 13.55 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.399e-06/0.4723, allocations: 0 / 0.8221 GB, free: 13.55 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.227e-06/0.4723, allocations: 4.109 kB / 0.8221 GB, free: 13.55 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.046e-05/0.4724, allocations: 138.4 kB / 0.8222 GB, free: 13.38 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.4724, allocations: 3.969 kB / 0.8222 GB, free: 13.38 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.159e-05/0.4724, allocations: 0.7031 kB / 0.8222 GB, free: 13.38 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.313e-06/0.4724, allocations: 0 / 0.8222 GB, free: 13.38 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.612e-06/0.4724, allocations: 0.6094 kB / 0.8222 GB, free: 13.38 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.4724, allocations: 1.031 kB / 0.8222 GB, free: 13.38 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.4724, allocations: 0 / 0.8222 GB, free: 13.38 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.642e-05/0.4725, allocations: 103.2 kB / 0.8223 GB, free: 13.29 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.273e-05/0.4726, allocations: 6.875 kB / 0.8223 GB, free: 13.29 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.074e-05/0.4726, allocations: 2.125 kB / 0.8223 GB, free: 13.29 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.527e-05/0.4726, allocations: 0.75 kB / 0.8223 GB, free: 13.29 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.178e-05/0.4726, allocations: 10.64 kB / 0.8224 GB, free: 13.28 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.637e-06/0.4726, allocations: 1.5 kB / 0.8224 GB, free: 13.28 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.676e-05/0.4726, allocations: 104.9 kB / 0.8225 GB, free: 13.2 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.4726, allocations: 0 / 0.8225 GB, free: 13.2 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001467/0.4728, allocations: 16.31 kB / 0.8225 GB, free: 13.2 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.000295/0.4731, allocations: 0.6398 MB / 0.8231 GB, free: 12.58 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001776/0.4733, allocations: 151.5 kB / 0.8232 GB, free: 12.46 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.4733, allocations: 0.75 kB / 0.8232 GB, free: 12.46 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 2.587e-05/0.4733, allocations: 21.34 kB / 0.8233 GB, free: 12.45 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001722/0.4735, allocations: 21.03 kB / 0.8233 GB, free: 12.44 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001176/0.4746, allocations: 1.611 MB / 0.8249 GB, free: 11 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.948e-05/0.4747, allocations: 70.84 kB / 0.8249 GB, free: 10.93 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.425e-05/0.4747, allocations: 3.438 kB / 0.8249 GB, free: 10.93 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.307e-05/0.4747, allocations: 20.44 kB / 0.8249 GB, free: 10.91 MB / 0.6198 GB Notification: Performance of SimCode: time 3.61e-07/0.4747, allocations: 0 / 0.8249 GB, free: 10.91 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01626/0.491, allocations: 3.011 MB / 0.8279 GB, free: 9.961 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.778/7.269, allocations: 11.64 kB / 0.8279 GB, free: 9.957 MB / 0.6198 GB " [Timeout remaining time 653] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.sim & python3 -m fmpy simulate --output-file IDEAS_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_IDEAS_Controls_OBC_CDL_Reals_Sources_Validation_Pulse.fmu > IDEAS_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.204680046997964] Failed to read output from testmodel.py, exit status != 0: 7.349844640586525 7.366018527 6.893238113 Calling exit ...