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.0007414/0.0007414, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.0008101/0.0008101, allocations: 169.9 kB / 22.46 MB, free: 2.105 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.9119/0.9119, allocations: 177.1 MB / 202.8 MB, free: 5.738 MB / 186.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.7724/0.7724, allocations: 154.6 MB / 413.8 MB, free: 0.793 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 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: Performance of FrontEnd - loaded program: time 2.214e-06/2.214e-06, allocations: 0 / 0.6181 GB, free: 13.66 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.563e-05/1.784e-05, allocations: 2.281 kB / 0.6181 GB, free: 13.66 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Pulse): time 0.001267/0.001285, allocations: 0.6957 MB / 0.6188 GB, free: 12.96 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001049/0.002334, allocations: 1.159 MB / 0.62 GB, free: 11.79 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.446e-05/0.002379, allocations: 0 / 0.62 GB, free: 11.79 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.73e-05/0.002406, allocations: 3.938 kB / 0.62 GB, free: 11.79 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 7.745e-05/0.002483, allocations: 19.86 kB / 0.62 GB, free: 11.77 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003764/0.00286, allocations: 134.5 kB / 0.6201 GB, free: 11.64 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0001403/0.003, allocations: 127.7 kB / 0.6202 GB, free: 11.52 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 9.234e-05/0.003093, allocations: 11.98 kB / 0.6202 GB, free: 11.5 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 8.478e-05/0.003177, allocations: 59.95 kB / 0.6203 GB, free: 11.45 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 7.857e-05/0.003256, allocations: 35.89 kB / 0.6203 GB, free: 11.41 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.105e-05/0.003277, allocations: 12 kB / 0.6203 GB, free: 11.4 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 6.378e-05/0.003341, allocations: 23.98 kB / 0.6204 GB, free: 11.38 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.882e-05/0.00336, allocations: 7.938 kB / 0.6204 GB, free: 11.37 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 4.759e-05/0.003407, allocations: 39.95 kB / 0.6204 GB, free: 11.33 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001559/0.003563, allocations: 155.6 kB / 0.6206 GB, free: 11.18 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.934e-06/0.003565, allocations: 0 / 0.6206 GB, free: 11.18 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.443e-06/0.003566, allocations: 0 / 0.6206 GB, free: 11.18 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.028e-06/0.00357, allocations: 0 / 0.6206 GB, free: 11.18 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.0008619/0.004432, allocations: 315.8 kB / 0.6209 GB, free: 10.83 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.092e-05/0.004473, allocations: 8.031 kB / 0.6209 GB, free: 10.82 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.116e-05/0.004504, allocations: 50.72 kB / 0.6209 GB, free: 10.76 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.478e-05/0.004539, allocations: 4.938 kB / 0.6209 GB, free: 10.76 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001016/0.004641, allocations: 113.8 kB / 0.621 GB, free: 10.62 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.18e-05/0.004663, allocations: 12.31 kB / 0.621 GB, free: 10.61 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.459e-05/0.004677, allocations: 4.375 kB / 0.621 GB, free: 10.61 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.877e-05/0.004756, allocations: 46.25 kB / 0.6211 GB, free: 10.55 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.062e-06/0.004762, allocations: 192 / 0.6211 GB, free: 10.55 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.326e-06/0.00477, allocations: 4.312 kB / 0.6211 GB, free: 10.55 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.521e-06/0.004776, allocations: 8.125 kB / 0.6211 GB, free: 10.54 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.672e-05/0.004813, allocations: 11.98 kB / 0.6211 GB, free: 10.53 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003392/0.005152, allocations: 283.9 kB / 0.6214 GB, free: 10.21 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 5.125e-05/0.005203, allocations: 30.52 kB / 0.6214 GB, free: 10.17 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.488e-05/0.005228, allocations: 16.92 kB / 0.6214 GB, free: 10.15 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 9.908e-06/0.005238, allocations: 3.938 kB / 0.6214 GB, free: 10.15 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001111/0.005349, allocations: 59.39 kB / 0.6215 GB, free: 10.08 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=4): time 8.92e-07/0.00535, allocations: 4 kB / 0.6215 GB, free: 10.07 MB / 0.5886 GB Notification: Performance of matching and sorting (n=4): time 0.0001704/0.00552, allocations: 85.56 kB / 0.6216 GB, free: 9.984 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.254e-05/0.005553, allocations: 55.41 kB / 0.6216 GB, free: 9.918 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.084e-05/0.005633, allocations: 121.8 kB / 0.6217 GB, free: 9.789 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.971e-05/0.005653, allocations: 33.7 kB / 0.6218 GB, free: 9.75 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 4.379e-05/0.005697, allocations: 88.14 kB / 0.6219 GB, free: 9.66 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.035e-05/0.005707, allocations: 7.891 kB / 0.6219 GB, free: 9.652 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.451e-05/0.005752, allocations: 29.7 kB / 0.6219 GB, free: 9.617 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.867e-05/0.005831, allocations: 322.8 kB / 0.6222 GB, free: 9.293 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.642e-05/0.005907, allocations: 65.69 kB / 0.6223 GB, free: 9.223 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.128e-05/0.005978, allocations: 92.25 kB / 0.6224 GB, free: 9.117 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.046e-05/0.006059, allocations: 92.2 kB / 0.6224 GB, free: 9.012 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.006061, allocations: 0 / 0.6224 GB, free: 9.012 MB / 0.5886 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001994/0.00626, allocations: 204.9 kB / 0.6226 GB, free: 8.793 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.633e-05/0.006286, allocations: 33.69 kB / 0.6227 GB, free: 8.754 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.006292, allocations: 4 kB / 0.6227 GB, free: 8.75 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.699e-06/0.006301, allocations: 0 / 0.6227 GB, free: 8.75 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.313e-05/0.006344, allocations: 0 / 0.6227 GB, free: 8.75 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.358e-06/0.006349, allocations: 8.062 kB / 0.6227 GB, free: 8.742 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001104/0.006459, allocations: 27.97 kB / 0.6227 GB, free: 8.715 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.276e-05/0.006472, allocations: 4 kB / 0.6227 GB, free: 8.711 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.983e-05/0.006542, allocations: 126.8 kB / 0.6228 GB, free: 8.578 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.045e-06/0.00655, allocations: 7.891 kB / 0.6228 GB, free: 8.57 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.153e-05/0.006571, allocations: 8 kB / 0.6228 GB, free: 8.559 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.006573, allocations: 64 / 0.6228 GB, free: 8.559 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.006578, allocations: 7.938 kB / 0.6229 GB, free: 8.551 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.006581, allocations: 0 / 0.6229 GB, free: 8.551 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.919e-05/0.00666, allocations: 145 kB / 0.623 GB, free: 8.367 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.006662, allocations: 3.938 kB / 0.623 GB, free: 8.363 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.304e-06/0.00667, allocations: 0 / 0.623 GB, free: 8.363 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.123e-06/0.006671, allocations: 0 / 0.623 GB, free: 8.363 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.304e-06/0.006678, allocations: 7.984 kB / 0.623 GB, free: 8.355 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.11e-07/0.006679, allocations: 0 / 0.623 GB, free: 8.355 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.006679, allocations: 0 / 0.623 GB, free: 8.355 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.879e-05/0.006758, allocations: 93.06 kB / 0.6231 GB, free: 8.246 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 1.06e-05/0.006769, allocations: 11.83 kB / 0.6231 GB, free: 8.234 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.448e-06/0.006778, allocations: 0 / 0.6231 GB, free: 8.234 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.13e-05/0.00679, allocations: 8 kB / 0.6231 GB, free: 8.227 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.245e-05/0.006812, allocations: 11.92 kB / 0.6231 GB, free: 8.215 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.226e-06/0.006815, allocations: 0 / 0.6231 GB, free: 8.215 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 3.8e-05/0.006853, allocations: 97.78 kB / 0.6232 GB, free: 8.121 MB / 0.5886 GB Notification: Performance of sort global known variables: time 6e-08/0.006853, allocations: 0 / 0.6232 GB, free: 8.121 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001439/0.006997, allocations: 24 kB / 0.6232 GB, free: 8.098 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.0002848/0.007282, allocations: 0.6202 MB / 0.6238 GB, free: 7.445 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001645/0.007446, allocations: 157 kB / 0.624 GB, free: 7.273 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.212e-06/0.007448, allocations: 0 / 0.624 GB, free: 7.273 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 2.449e-05/0.007472, allocations: 24.09 kB / 0.624 GB, free: 7.25 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002603/0.007732, allocations: 13.86 kB / 0.624 GB, free: 7.238 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001101/0.008834, allocations: 1.62 MB / 0.6256 GB, free: 5.492 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.113e-05/0.008875, allocations: 71.33 kB / 0.6257 GB, free: 5.402 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 2.305e-05/0.008898, allocations: 4 kB / 0.6257 GB, free: 5.398 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.262e-05/0.008931, allocations: 16.5 kB / 0.6257 GB, free: 5.383 MB / 0.5886 GB Notification: Performance of SimCode: time 5.61e-07/0.008931, allocations: 4 kB / 0.6257 GB, free: 5.379 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01486/0.02379, allocations: 3.138 MB / 0.6288 GB, free: 2.426 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.978/7.002, allocations: 5.781 kB / 0.6288 GB, free: 2.422 MB / 0.5886 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: 9.897894988767803] Failed to read output from testmodel.py, exit status != 0: 7.082547467201948 7.091496764 7.086188284 Calling exit ...