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.0009159/0.0009159, allocations: 80.44 kB / 19.17 MB, free: 0.7461 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.001558/0.001558, allocations: 165.9 kB / 22.45 MB, free: 2.109 MB / 18.57 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.9319/0.9319, allocations: 177.2 MB / 202.8 MB, free: 5.742 MB / 186.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.742/0.742, allocations: 154.5 MB / 413.7 MB, free: 0.8516 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [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: Performance of FrontEnd - loaded program: time 3.356e-06/3.356e-06, allocations: 0 / 0.6181 GB, free: 13.7 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.134e-05/2.47e-05, allocations: 2.281 kB / 0.6181 GB, free: 13.7 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Pulse): time 0.001723/0.001748, allocations: 0.705 MB / 0.6188 GB, free: 13 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001148/0.002895, allocations: 1.159 MB / 0.6199 GB, free: 11.83 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.807e-05/0.002943, allocations: 0 / 0.6199 GB, free: 11.83 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.988e-05/0.002973, allocations: 3.938 kB / 0.6199 GB, free: 11.82 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 8.715e-05/0.00306, allocations: 15.84 kB / 0.6199 GB, free: 11.81 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004335/0.003494, allocations: 131 kB / 0.62 GB, free: 11.68 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0001673/0.003661, allocations: 123.8 kB / 0.6202 GB, free: 11.56 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 9.129e-05/0.003752, allocations: 15.97 kB / 0.6202 GB, free: 11.55 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 8.838e-05/0.003841, allocations: 59.91 kB / 0.6202 GB, free: 11.49 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 8.745e-05/0.003928, allocations: 39.88 kB / 0.6203 GB, free: 11.45 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.218e-05/0.00395, allocations: 12 kB / 0.6203 GB, free: 11.44 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 5.686e-05/0.004007, allocations: 27.92 kB / 0.6203 GB, free: 11.41 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.993e-05/0.004027, allocations: 11.94 kB / 0.6203 GB, free: 11.4 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 4.873e-05/0.004076, allocations: 31.97 kB / 0.6204 GB, free: 11.37 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001723/0.004248, allocations: 151.6 kB / 0.6205 GB, free: 11.22 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.004252, allocations: 3.984 kB / 0.6205 GB, free: 11.21 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.332e-06/0.004254, allocations: 0 / 0.6205 GB, free: 11.21 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.939e-06/0.004259, allocations: 0 / 0.6205 GB, free: 11.21 MB / 0.5886 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.0004197/0.004678, allocations: 323.8 kB / 0.6208 GB, free: 10.86 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.996e-05/0.004718, allocations: 9.469 kB / 0.6208 GB, free: 10.85 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.59e-05/0.004744, allocations: 30.75 kB / 0.6209 GB, free: 10.81 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.807e-05/0.004782, allocations: 8.938 kB / 0.6209 GB, free: 10.8 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.437e-05/0.004877, allocations: 125.7 kB / 0.621 GB, free: 10.66 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.563e-05/0.004892, allocations: 4.375 kB / 0.621 GB, free: 10.65 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.442e-05/0.004907, allocations: 4.375 kB / 0.621 GB, free: 10.65 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.028e-05/0.004987, allocations: 46.25 kB / 0.621 GB, free: 10.6 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.763e-06/0.004994, allocations: 192 / 0.621 GB, free: 10.6 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.336e-06/0.005002, allocations: 384 / 0.621 GB, free: 10.6 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.005007, allocations: 4.125 kB / 0.621 GB, free: 10.59 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.569e-05/0.005043, allocations: 19.98 kB / 0.6211 GB, free: 10.57 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00033/0.005373, allocations: 279.9 kB / 0.6213 GB, free: 10.26 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 5.611e-05/0.005429, allocations: 22.58 kB / 0.6213 GB, free: 10.23 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.983e-05/0.005449, allocations: 16.92 kB / 0.6214 GB, free: 10.21 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 9.448e-06/0.005458, allocations: 7.875 kB / 0.6214 GB, free: 10.2 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001375/0.005595, allocations: 67.33 kB / 0.6214 GB, free: 10.12 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=4): time 1.082e-06/0.005597, allocations: 0 / 0.6214 GB, free: 10.12 MB / 0.5886 GB Notification: Performance of matching and sorting (n=4): time 0.0001705/0.005767, allocations: 77.62 kB / 0.6215 GB, free: 10.04 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.117e-05/0.005798, allocations: 51.41 kB / 0.6216 GB, free: 9.977 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.28e-05/0.005881, allocations: 132.6 kB / 0.6217 GB, free: 9.84 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.682e-05/0.005898, allocations: 25.7 kB / 0.6217 GB, free: 9.809 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 4.355e-05/0.005941, allocations: 96.06 kB / 0.6218 GB, free: 9.711 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.405e-05/0.005955, allocations: 15.94 kB / 0.6218 GB, free: 9.695 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.702e-05/0.006002, allocations: 29.7 kB / 0.6218 GB, free: 9.66 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.219e-05/0.006075, allocations: 318.8 kB / 0.6221 GB, free: 9.34 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.469e-05/0.006149, allocations: 65.69 kB / 0.6222 GB, free: 9.27 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.616e-05/0.006225, allocations: 96.19 kB / 0.6223 GB, free: 9.16 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.144e-05/0.006307, allocations: 84.28 kB / 0.6224 GB, free: 9.062 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.006309, allocations: 4 kB / 0.6224 GB, free: 9.059 MB / 0.5886 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002003/0.006509, allocations: 200.9 kB / 0.6226 GB, free: 8.844 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 3.18e-05/0.006541, allocations: 37.7 kB / 0.6226 GB, free: 8.801 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.006547, allocations: 3.984 kB / 0.6226 GB, free: 8.797 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.176e-05/0.006558, allocations: 4.234 kB / 0.6226 GB, free: 8.793 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.514e-05/0.006604, allocations: 3.938 kB / 0.6226 GB, free: 8.789 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.809e-06/0.006608, allocations: 0 / 0.6226 GB, free: 8.789 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001167/0.006725, allocations: 31.91 kB / 0.6227 GB, free: 8.758 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.212e-05/0.006737, allocations: 8.125 kB / 0.6227 GB, free: 8.75 MB / 0.5886 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.404e-05/0.006801, allocations: 114.8 kB / 0.6228 GB, free: 8.629 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.157e-05/0.006813, allocations: 23.86 kB / 0.6228 GB, free: 8.605 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.386e-05/0.006837, allocations: 8 kB / 0.6228 GB, free: 8.59 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.297e-06/0.00684, allocations: 4 kB / 0.6228 GB, free: 8.586 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.658e-06/0.006845, allocations: 0 / 0.6228 GB, free: 8.586 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.756e-06/0.006847, allocations: 0 / 0.6228 GB, free: 8.586 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.523e-05/0.006933, allocations: 136.7 kB / 0.6229 GB, free: 8.41 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/0.006935, allocations: 3.938 kB / 0.6229 GB, free: 8.406 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.288e-05/0.006948, allocations: 4 kB / 0.6229 GB, free: 8.402 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.452e-06/0.00695, allocations: 4 kB / 0.6229 GB, free: 8.398 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.855e-06/0.006958, allocations: 3.938 kB / 0.623 GB, free: 8.395 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.006959, allocations: 0 / 0.623 GB, free: 8.395 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.006961, allocations: 4 kB / 0.623 GB, free: 8.391 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.684e-05/0.007048, allocations: 89.02 kB / 0.623 GB, free: 8.285 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 1.262e-05/0.00706, allocations: 15.88 kB / 0.6231 GB, free: 8.27 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.041e-05/0.007071, allocations: 0 / 0.6231 GB, free: 8.27 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.39e-05/0.007085, allocations: 0 / 0.6231 GB, free: 8.27 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.259e-05/0.007107, allocations: 4 kB / 0.6231 GB, free: 8.266 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.739e-06/0.007112, allocations: 0 / 0.6231 GB, free: 8.266 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 4.084e-05/0.007153, allocations: 99.27 kB / 0.6232 GB, free: 8.168 MB / 0.5886 GB Notification: Performance of sort global known variables: time 6e-08/0.007153, allocations: 4 kB / 0.6232 GB, free: 8.164 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001559/0.007309, allocations: 19.98 kB / 0.6232 GB, free: 8.145 MB / 0.5886 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.0002998/0.007609, allocations: 0.6318 MB / 0.6238 GB, free: 7.48 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001738/0.007782, allocations: 153.1 kB / 0.6239 GB, free: 7.312 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.007784, allocations: 0 / 0.6239 GB, free: 7.312 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 2.261e-05/0.007807, allocations: 15.92 kB / 0.624 GB, free: 7.297 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001724/0.007979, allocations: 18 kB / 0.624 GB, free: 7.281 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001123/0.009102, allocations: 1.618 MB / 0.6256 GB, free: 5.535 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.98e-05/0.009142, allocations: 67.34 kB / 0.6256 GB, free: 5.449 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 2.709e-05/0.009169, allocations: 7.984 kB / 0.6256 GB, free: 5.441 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.28e-05/0.009202, allocations: 16.5 kB / 0.6256 GB, free: 5.426 MB / 0.5886 GB Notification: Performance of SimCode: time 7.71e-07/0.009203, allocations: 0 / 0.6256 GB, free: 5.426 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01947/0.02867, allocations: 3.148 MB / 0.6287 GB, free: 2.461 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.985/7.014, allocations: 6.812 kB / 0.6287 GB, free: 2.461 MB / 0.5886 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: 9.843470741063356] Failed to read output from testmodel.py, exit status != 0: 7.098898105323315 7.108757433 7.102633631 Calling exit ...