Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.000655/0.000655, allocations: 80.45 kB / 19.15 MB, free: 0.7734 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.0008072/0.0008072, allocations: 162 kB / 22.43 MB, free: 2.145 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.8867/0.8867, allocations: 177.2 MB / 202.8 MB, free: 5.773 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.7117/0.7117, allocations: 154.7 MB / 413.9 MB, free: 0.7539 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.Routing.Validation.RealScalarReplicator,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Routing_Validation_RealScalarReplicator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Routing_Validation_RealScalarReplicator",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.0009354/0.0009354, allocations: 73.81 kB / 0.6183 GB, free: 13.66 MB / 0.5886 GB [/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. Notification: Performance of FrontEnd - Absyn->SCode: time 0.4675/0.4685, allocations: 101.9 MB / 0.7179 GB, free: 23.34 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator): time 0.001465/0.4699, allocations: 0.632 MB / 0.7185 GB, free: 22.95 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.000766/0.4707, allocations: 0.8258 MB / 0.7193 GB, free: 22.32 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.603e-05/0.4707, allocations: 0 / 0.7193 GB, free: 22.32 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 7.629e-05/0.4708, allocations: 2.062 kB / 0.7193 GB, free: 22.32 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 1.833e-05/0.4708, allocations: 8.734 kB / 0.7193 GB, free: 22.32 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 9.541e-05/0.4709, allocations: 7.938 kB / 0.7193 GB, free: 22.31 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 6.358e-05/0.471, allocations: 21.28 kB / 0.7193 GB, free: 22.3 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 7.786e-05/0.4711, allocations: 12.48 kB / 0.7193 GB, free: 22.3 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 4.963e-05/0.4711, allocations: 15.8 kB / 0.7194 GB, free: 22.29 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 4.424e-05/0.4712, allocations: 13.91 kB / 0.7194 GB, free: 22.28 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 1.341e-05/0.4712, allocations: 6.25 kB / 0.7194 GB, free: 22.28 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 6.061e-06/0.4712, allocations: 1.375 kB / 0.7194 GB, free: 22.28 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 4.274e-05/0.4712, allocations: 8.688 kB / 0.7194 GB, free: 22.27 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 2.446e-05/0.4713, allocations: 12.84 kB / 0.7194 GB, free: 22.27 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 7.948e-05/0.4713, allocations: 32.72 kB / 0.7194 GB, free: 22.25 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.4713, allocations: 5.188 kB / 0.7194 GB, free: 22.25 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.244e-06/0.4713, allocations: 0 / 0.7194 GB, free: 22.25 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.109e-06/0.4714, allocations: 0 / 0.7194 GB, free: 22.25 MB / 0.6355 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.0002432/0.4716, allocations: 268.1 kB / 0.7197 GB, free: 21.98 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.444e-05/0.4716, allocations: 9.375 kB / 0.7197 GB, free: 21.98 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.942e-05/0.4716, allocations: 40.77 kB / 0.7197 GB, free: 21.94 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.532e-05/0.4717, allocations: 2.844 kB / 0.7197 GB, free: 21.94 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.637e-05/0.4718, allocations: 113.2 kB / 0.7198 GB, free: 21.81 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.085e-06/0.4718, allocations: 1.531 kB / 0.7198 GB, free: 21.81 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.195e-06/0.4718, allocations: 9.625 kB / 0.7199 GB, free: 21.8 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001109/0.4719, allocations: 53.11 kB / 0.7199 GB, free: 21.77 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.661e-06/0.4719, allocations: 5.188 kB / 0.7199 GB, free: 21.76 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.991e-06/0.4719, allocations: 0 / 0.7199 GB, free: 21.76 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.858e-06/0.4719, allocations: 1.188 kB / 0.7199 GB, free: 21.76 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.113e-05/0.472, allocations: 38.48 kB / 0.7199 GB, free: 21.75 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000226/0.4722, allocations: 241.6 kB / 0.7202 GB, free: 21.51 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 5.792e-05/0.4723, allocations: 37.42 kB / 0.7202 GB, free: 21.48 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.273e-05/0.4723, allocations: 22.53 kB / 0.7202 GB, free: 21.46 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 7.444e-06/0.4723, allocations: 1.094 kB / 0.7202 GB, free: 21.46 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.373e-05/0.4723, allocations: 32.47 kB / 0.7203 GB, free: 21.43 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=1): time 5.11e-07/0.4723, allocations: 3.938 kB / 0.7203 GB, free: 21.42 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1): time 0.0001906/0.4725, allocations: 76.84 kB / 0.7203 GB, free: 21.38 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.088e-05/0.4725, allocations: 62.03 kB / 0.7204 GB, free: 21.31 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.932e-05/0.4726, allocations: 101.1 kB / 0.7205 GB, free: 21.21 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.787e-06/0.4726, allocations: 26.55 kB / 0.7205 GB, free: 21.18 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 2.208e-05/0.4726, allocations: 88.03 kB / 0.7206 GB, free: 21.09 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.28e-05/0.4726, allocations: 0 / 0.7206 GB, free: 21.09 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.699e-05/0.4726, allocations: 12.84 kB / 0.7206 GB, free: 21.08 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.212e-05/0.4727, allocations: 320.7 kB / 0.7209 GB, free: 20.76 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.042e-05/0.4727, allocations: 13.19 kB / 0.7209 GB, free: 20.76 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.693e-05/0.4727, allocations: 17.66 kB / 0.721 GB, free: 20.75 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.905e-05/0.4728, allocations: 40.23 kB / 0.721 GB, free: 20.74 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.021e-06/0.4728, allocations: 0 / 0.721 GB, free: 20.74 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1) (initialization): time 8.445e-05/0.4729, allocations: 61.34 kB / 0.7211 GB, free: 20.7 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 9.017e-06/0.4729, allocations: 5.844 kB / 0.7211 GB, free: 20.7 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.695e-06/0.4729, allocations: 0.6094 kB / 0.7211 GB, free: 20.7 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.052e-06/0.4729, allocations: 3.938 kB / 0.7211 GB, free: 20.7 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.742e-05/0.473, allocations: 15.52 kB / 0.7211 GB, free: 20.69 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.124e-06/0.473, allocations: 1.219 kB / 0.7211 GB, free: 20.69 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.094e-05/0.473, allocations: 10.06 kB / 0.7211 GB, free: 20.69 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.278e-06/0.473, allocations: 0 / 0.7211 GB, free: 20.69 MB / 0.6355 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 3.832e-05/0.473, allocations: 119.6 kB / 0.7212 GB, free: 20.57 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.055e-05/0.473, allocations: 1.094 kB / 0.7212 GB, free: 20.57 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.45e-05/0.473, allocations: 8.969 kB / 0.7212 GB, free: 20.56 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.4731, allocations: 0.6562 kB / 0.7212 GB, free: 20.56 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/0.4731, allocations: 0 / 0.7212 GB, free: 20.56 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.933e-06/0.4731, allocations: 5.125 kB / 0.7212 GB, free: 20.56 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.611e-05/0.4731, allocations: 130.7 kB / 0.7213 GB, free: 20.4 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.41e-07/0.4731, allocations: 1.125 kB / 0.7213 GB, free: 20.4 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.09e-05/0.4732, allocations: 11.22 kB / 0.7214 GB, free: 20.39 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.52e-07/0.4732, allocations: 0 / 0.7214 GB, free: 20.39 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.711e-06/0.4732, allocations: 1.781 kB / 0.7214 GB, free: 20.39 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.21e-07/0.4732, allocations: 0 / 0.7214 GB, free: 20.39 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.4732, allocations: 0.6562 kB / 0.7214 GB, free: 20.39 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001109/0.4733, allocations: 165.7 kB / 0.7215 GB, free: 20.25 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 8.777e-06/0.4733, allocations: 1.797 kB / 0.7215 GB, free: 20.25 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.01e-05/0.4733, allocations: 0 / 0.7215 GB, free: 20.25 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.723e-05/0.4733, allocations: 11.59 kB / 0.7215 GB, free: 20.25 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.88e-05/0.4734, allocations: 0.5625 kB / 0.7215 GB, free: 20.25 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.954e-06/0.4734, allocations: 2.156 kB / 0.7215 GB, free: 20.25 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 1.925e-05/0.4734, allocations: 84.05 kB / 0.7216 GB, free: 20.17 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.4734, allocations: 1.25 kB / 0.7216 GB, free: 20.17 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001424/0.4735, allocations: 7.547 kB / 0.7216 GB, free: 20.16 MB / 0.6355 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.000233/0.4738, allocations: 0.6901 MB / 0.7223 GB, free: 19.49 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001153/0.4739, allocations: 34.19 kB / 0.7223 GB, free: 19.49 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.342e-06/0.4739, allocations: 0 / 0.7223 GB, free: 19.49 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 4.219e-05/0.4739, allocations: 18.52 kB / 0.7223 GB, free: 19.48 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002243/0.4741, allocations: 7.5 kB / 0.7224 GB, free: 19.48 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007151/0.4749, allocations: 1.233 MB / 0.7236 GB, free: 18.3 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.127e-05/0.4749, allocations: 63.16 kB / 0.7236 GB, free: 18.23 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 2.732e-05/0.4749, allocations: 7.641 kB / 0.7236 GB, free: 18.23 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.047e-05/0.475, allocations: 17.33 kB / 0.7236 GB, free: 18.21 MB / 0.6355 GB Notification: Performance of SimCode: time 5.31e-07/0.475, allocations: 1.219 kB / 0.7236 GB, free: 18.21 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01611/0.4911, allocations: 1.946 MB / 0.7255 GB, free: 17.33 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.466/6.958, allocations: 5.984 kB / 0.7255 GB, free: 17.32 MB / 0.6355 GB " [Timeout remaining time 653] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.sim & python3 -m fmpy simulate --output-file IDEAS_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_IDEAS_Controls_OBC_CDL_Routing_Validation_RealScalarReplicator.fmu > IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.705019714077935] Failed to read output from testmodel.py, exit status != 0: 7.037602173979394 7.051851001 6.577879839 Calling exit ...