Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.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.001155/0.001155, 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.001578/0.001578, 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.9022/0.9022, allocations: 177.1 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.7298/0.7298, allocations: 154.6 MB / 413.7 MB, free: 0.8203 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.Routing.Validation.RealScalarReplicator,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Routing_Validation_RealScalarReplicator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Routing_Validation_RealScalarReplicator",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.346e-06/3.346e-06, allocations: 0 / 0.618 GB, free: 13.74 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.248e-05/2.583e-05, allocations: 9.312 kB / 0.618 GB, free: 13.73 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator): time 0.001822/0.001848, allocations: 0.6312 MB / 0.6187 GB, free: 13.1 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001067/0.002915, allocations: 0.8159 MB / 0.6195 GB, free: 12.27 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.02e-05/0.002966, allocations: 0 / 0.6195 GB, free: 12.27 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0001116/0.003077, allocations: 7.875 kB / 0.6195 GB, free: 12.26 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 2.453e-05/0.003102, allocations: 4 kB / 0.6195 GB, free: 12.26 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001444/0.003246, allocations: 11.97 kB / 0.6195 GB, free: 12.25 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 9.12e-05/0.003337, allocations: 23.94 kB / 0.6195 GB, free: 12.22 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001131/0.00345, allocations: 7.984 kB / 0.6195 GB, free: 12.21 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 7.469e-05/0.003525, allocations: 15.94 kB / 0.6195 GB, free: 12.2 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 5.824e-05/0.003583, allocations: 11.92 kB / 0.6195 GB, free: 12.19 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.646e-05/0.00361, allocations: 4 kB / 0.6195 GB, free: 12.18 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 6.893e-06/0.003617, allocations: 0 / 0.6195 GB, free: 12.18 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 6.261e-05/0.003679, allocations: 11.98 kB / 0.6195 GB, free: 12.17 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 3.266e-05/0.003712, allocations: 4 kB / 0.6196 GB, free: 12.17 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.000104/0.003816, allocations: 31.88 kB / 0.6196 GB, free: 12.14 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 3.006e-06/0.003819, allocations: 0 / 0.6196 GB, free: 12.14 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.362e-06/0.00382, allocations: 0 / 0.6196 GB, free: 12.14 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.679e-06/0.003825, allocations: 4 kB / 0.6196 GB, free: 12.13 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004415/0.004267, allocations: 270.3 kB / 0.6198 GB, free: 11.84 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 5.559e-05/0.004322, allocations: 13.47 kB / 0.6199 GB, free: 11.82 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.981e-05/0.004362, allocations: 34.73 kB / 0.6199 GB, free: 11.78 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.404e-05/0.004386, allocations: 4.938 kB / 0.6199 GB, free: 11.78 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001444/0.00453, allocations: 113.8 kB / 0.62 GB, free: 11.64 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.187e-05/0.004542, allocations: 384 / 0.62 GB, free: 11.64 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.388e-06/0.004552, allocations: 384 / 0.62 GB, free: 11.64 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001865/0.004738, allocations: 58.17 kB / 0.6201 GB, free: 11.58 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.836e-06/0.004747, allocations: 192 / 0.6201 GB, free: 11.58 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.032e-05/0.004757, allocations: 8.375 kB / 0.6201 GB, free: 11.57 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-06/0.004763, allocations: 4.125 kB / 0.6201 GB, free: 11.57 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001264/0.00489, allocations: 35.95 kB / 0.6201 GB, free: 11.53 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003982/0.005288, allocations: 232.1 kB / 0.6203 GB, free: 11.26 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 9.914e-05/0.005387, allocations: 38.44 kB / 0.6204 GB, free: 11.21 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.582e-05/0.005453, allocations: 20.89 kB / 0.6204 GB, free: 11.19 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.351e-05/0.005466, allocations: 8 kB / 0.6204 GB, free: 11.18 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.522e-05/0.005491, allocations: 30.56 kB / 0.6204 GB, free: 11.14 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=1): time 2.154e-06/0.005494, allocations: 0 / 0.6204 GB, free: 11.14 MB / 0.5886 GB Notification: Performance of matching and sorting (n=1): time 0.0003015/0.005795, allocations: 81.58 kB / 0.6205 GB, free: 11.06 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.048e-05/0.005835, allocations: 51.41 kB / 0.6205 GB, free: 11 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.823e-05/0.005914, allocations: 101.9 kB / 0.6206 GB, free: 10.89 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.339e-05/0.005927, allocations: 29.64 kB / 0.6207 GB, free: 10.85 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 5.572e-05/0.005983, allocations: 96.14 kB / 0.6208 GB, free: 10.75 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.578e-05/0.005999, allocations: 3.938 kB / 0.6208 GB, free: 10.75 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.578e-05/0.006034, allocations: 17.72 kB / 0.6208 GB, free: 10.73 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 9.676e-05/0.006131, allocations: 310.8 kB / 0.6211 GB, free: 10.41 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.092e-05/0.006192, allocations: 11.98 kB / 0.6211 GB, free: 10.4 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.608e-05/0.006248, allocations: 23.97 kB / 0.6211 GB, free: 10.38 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001121/0.00636, allocations: 36.89 kB / 0.6212 GB, free: 10.34 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.006363, allocations: 0 / 0.6212 GB, free: 10.34 MB / 0.5886 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001637/0.006526, allocations: 65.55 kB / 0.6212 GB, free: 10.27 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.951e-05/0.006546, allocations: 8 kB / 0.6212 GB, free: 10.26 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.151e-06/0.006552, allocations: 0 / 0.6212 GB, free: 10.26 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.586e-05/0.006568, allocations: 0 / 0.6212 GB, free: 10.26 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.26e-05/0.006651, allocations: 11.94 kB / 0.6212 GB, free: 10.25 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.76e-06/0.006656, allocations: 0 / 0.6212 GB, free: 10.25 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.659e-05/0.006693, allocations: 12.02 kB / 0.6212 GB, free: 10.24 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.112e-06/0.006699, allocations: 256 / 0.6212 GB, free: 10.24 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * 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 7.232e-05/0.006771, allocations: 110.8 kB / 0.6213 GB, free: 10.12 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.364e-05/0.006795, allocations: 3.938 kB / 0.6214 GB, free: 10.12 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.25e-05/0.006818, allocations: 7.141 kB / 0.6214 GB, free: 10.11 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.015e-06/0.006821, allocations: 4 kB / 0.6214 GB, free: 10.1 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.539e-06/0.006825, allocations: 4 kB / 0.6214 GB, free: 10.1 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.006828, allocations: 0 / 0.6214 GB, free: 10.1 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001555/0.006983, allocations: 132.7 kB / 0.6215 GB, free: 9.926 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.006985, allocations: 0 / 0.6215 GB, free: 9.926 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.408e-05/0.007029, allocations: 15.98 kB / 0.6215 GB, free: 9.91 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.007031, allocations: 0 / 0.6215 GB, free: 9.91 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.993e-06/0.007038, allocations: 0 / 0.6215 GB, free: 9.91 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.043e-06/0.00704, allocations: 0 / 0.6215 GB, free: 9.91 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.163e-06/0.007042, allocations: 0 / 0.6215 GB, free: 9.91 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001877/0.007229, allocations: 163.4 kB / 0.6217 GB, free: 9.734 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 9.388e-06/0.007239, allocations: 7.938 kB / 0.6217 GB, free: 9.727 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.271e-05/0.007251, allocations: 3.938 kB / 0.6217 GB, free: 9.723 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.224e-05/0.007314, allocations: 8.031 kB / 0.6217 GB, free: 9.715 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.775e-05/0.007351, allocations: 3.984 kB / 0.6217 GB, free: 9.711 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.455e-06/0.007354, allocations: 0 / 0.6217 GB, free: 9.711 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 4.164e-05/0.007395, allocations: 83.28 kB / 0.6218 GB, free: 9.629 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1e-07/0.007396, allocations: 4 kB / 0.6218 GB, free: 9.625 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0002561/0.007652, allocations: 0 / 0.6218 GB, free: 9.625 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0004385/0.00809, allocations: 0.6851 MB / 0.6224 GB, free: 8.914 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001684/0.008259, allocations: 43.92 kB / 0.6225 GB, free: 8.871 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.008261, allocations: 0 / 0.6225 GB, free: 8.871 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 5.592e-05/0.008317, allocations: 15.98 kB / 0.6225 GB, free: 8.855 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003651/0.008682, allocations: 13 kB / 0.6225 GB, free: 8.848 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001219/0.0099, allocations: 1.23 MB / 0.6237 GB, free: 7.535 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.411e-05/0.009964, allocations: 63.34 kB / 0.6238 GB, free: 7.453 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 3.995e-05/0.01, allocations: 3.984 kB / 0.6238 GB, free: 7.449 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.37e-05/0.01006, allocations: 12.5 kB / 0.6238 GB, free: 7.438 MB / 0.5886 GB Notification: Performance of SimCode: time 1.132e-06/0.01006, allocations: 0 / 0.6238 GB, free: 7.438 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02128/0.03134, allocations: 1.961 MB / 0.6257 GB, free: 5.633 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.958/6.99, allocations: 11.39 kB / 0.6257 GB, free: 5.625 MB / 0.5886 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_dev_IDEAS_Controls_OBC_CDL_Routing_Validation_RealScalarReplicator.fmu > IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.804131117649376] Failed to read output from testmodel.py, exit status != 0: 7.069909745827317 7.079971537 7.074380165 Calling exit ...