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.0008057/0.0008057, 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.0008782/0.0008782, allocations: 162 kB / 22.43 MB, free: 2.141 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.8806/0.8806, allocations: 177.2 MB / 202.8 MB, free: 5.77 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.6768/0.6768, allocations: 155 MB / 414.2 MB, free: 496 kB / 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: 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.0009951/0.0009951, allocations: 69.5 kB / 0.6186 GB, free: 13.29 MB / 0.5886 GB [/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. Notification: Performance of FrontEnd - Absyn->SCode: time 0.4522/0.4532, allocations: 102 MB / 0.7182 GB, free: 23.12 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator): time 0.001439/0.4547, allocations: 0.6347 MB / 0.7189 GB, free: 22.73 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.0007733/0.4554, allocations: 0.8182 MB / 0.7197 GB, free: 22.12 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.638e-05/0.4555, allocations: 9.375 kB / 0.7197 GB, free: 22.11 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 9.425e-05/0.4556, allocations: 0.6094 kB / 0.7197 GB, free: 22.11 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 2.206e-05/0.4556, allocations: 5.312 kB / 0.7197 GB, free: 22.11 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001164/0.4557, allocations: 8.469 kB / 0.7197 GB, free: 22.1 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 7.843e-05/0.4558, allocations: 29.28 kB / 0.7197 GB, free: 22.09 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 8.917e-05/0.4559, allocations: 2.641 kB / 0.7197 GB, free: 22.09 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 5.598e-05/0.4559, allocations: 17.09 kB / 0.7197 GB, free: 22.08 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 5.078e-05/0.456, allocations: 13.62 kB / 0.7197 GB, free: 22.07 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 1.419e-05/0.456, allocations: 1.469 kB / 0.7197 GB, free: 22.07 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 5.23e-06/0.456, allocations: 2.906 kB / 0.7197 GB, free: 22.07 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 5.168e-05/0.456, allocations: 9.359 kB / 0.7198 GB, free: 22.07 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 2.771e-05/0.4561, allocations: 7.656 kB / 0.7198 GB, free: 22.06 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 9.68e-05/0.4562, allocations: 37.56 kB / 0.7198 GB, free: 22.05 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 5.66e-06/0.4562, allocations: 0 / 0.7198 GB, free: 22.05 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.344e-06/0.4562, allocations: 0 / 0.7198 GB, free: 22.05 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.631e-06/0.4562, allocations: 0 / 0.7198 GB, free: 22.05 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.0003027/0.4565, allocations: 280.8 kB / 0.7201 GB, free: 21.77 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.609e-05/0.4565, allocations: 11.25 kB / 0.7201 GB, free: 21.77 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.677e-05/0.4566, allocations: 32.48 kB / 0.7201 GB, free: 21.73 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.835e-05/0.4566, allocations: 2.062 kB / 0.7201 GB, free: 21.73 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.803e-05/0.4567, allocations: 121.4 kB / 0.7202 GB, free: 21.59 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.948e-06/0.4567, allocations: 6.25 kB / 0.7202 GB, free: 21.59 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.006e-05/0.4567, allocations: 2.156 kB / 0.7202 GB, free: 21.59 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001484/0.4568, allocations: 51.92 kB / 0.7203 GB, free: 21.55 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.925e-06/0.4569, allocations: 3.938 kB / 0.7203 GB, free: 21.55 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.446e-06/0.4569, allocations: 1.125 kB / 0.7203 GB, free: 21.55 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.152e-06/0.4569, allocations: 4.719 kB / 0.7203 GB, free: 21.55 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.639e-05/0.457, allocations: 39.45 kB / 0.7203 GB, free: 21.54 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003054/0.4573, allocations: 241.8 kB / 0.7206 GB, free: 21.29 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 7.438e-05/0.4573, allocations: 33.48 kB / 0.7206 GB, free: 21.27 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.963e-05/0.4574, allocations: 18.34 kB / 0.7206 GB, free: 21.26 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.093e-05/0.4574, allocations: 0.5625 kB / 0.7206 GB, free: 21.26 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.892e-05/0.4574, allocations: 45.33 kB / 0.7207 GB, free: 21.21 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=1): time 1.122e-06/0.4574, allocations: 0 / 0.7207 GB, free: 21.21 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1): time 0.0002282/0.4577, allocations: 76.19 kB / 0.7207 GB, free: 21.17 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.615e-05/0.4577, allocations: 51.41 kB / 0.7208 GB, free: 21.11 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.301e-05/0.4577, allocations: 103.6 kB / 0.7209 GB, free: 21 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 5.29e-06/0.4577, allocations: 25.7 kB / 0.7209 GB, free: 20.97 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 2.888e-05/0.4578, allocations: 87.55 kB / 0.721 GB, free: 20.89 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.758e-05/0.4578, allocations: 5.922 kB / 0.721 GB, free: 20.88 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.127e-05/0.4578, allocations: 14.88 kB / 0.721 GB, free: 20.86 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.545e-05/0.4578, allocations: 318.3 kB / 0.7213 GB, free: 20.55 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.482e-05/0.4579, allocations: 12.91 kB / 0.7213 GB, free: 20.55 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.189e-05/0.4579, allocations: 18.67 kB / 0.7213 GB, free: 20.54 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.68e-05/0.458, allocations: 35.17 kB / 0.7214 GB, free: 20.53 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.587e-06/0.458, allocations: 0.8125 kB / 0.7214 GB, free: 20.53 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001135/0.4581, allocations: 68.55 kB / 0.7214 GB, free: 20.49 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.76e-05/0.4582, allocations: 5.516 kB / 0.7214 GB, free: 20.49 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.072e-06/0.4582, allocations: 0 / 0.7214 GB, free: 20.49 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.512e-05/0.4582, allocations: 1.25 kB / 0.7214 GB, free: 20.49 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.618e-05/0.4582, allocations: 11.14 kB / 0.7214 GB, free: 20.48 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.191e-06/0.4582, allocations: 0.6094 kB / 0.7214 GB, free: 20.48 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.621e-05/0.4583, allocations: 10.25 kB / 0.7215 GB, free: 20.48 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.901e-06/0.4583, allocations: 5.188 kB / 0.7215 GB, free: 20.48 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 5.219e-05/0.4583, allocations: 115.5 kB / 0.7216 GB, free: 20.36 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.144e-05/0.4583, allocations: 1.031 kB / 0.7216 GB, free: 20.36 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.139e-05/0.4584, allocations: 12.83 kB / 0.7216 GB, free: 20.35 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.627e-06/0.4584, allocations: 1.578 kB / 0.7216 GB, free: 20.35 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/0.4584, allocations: 0 / 0.7216 GB, free: 20.35 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.4584, allocations: 0 / 0.7216 GB, free: 20.35 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.514e-05/0.4585, allocations: 135.9 kB / 0.7217 GB, free: 20.19 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.62e-07/0.4585, allocations: 1.594 kB / 0.7217 GB, free: 20.19 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.747e-05/0.4585, allocations: 10.62 kB / 0.7217 GB, free: 20.18 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.495e-06/0.4585, allocations: 4.609 kB / 0.7217 GB, free: 20.18 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.144e-06/0.4585, allocations: 1.219 kB / 0.7217 GB, free: 20.18 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.4585, allocations: 0 / 0.7217 GB, free: 20.18 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.4585, allocations: 0.5625 kB / 0.7217 GB, free: 20.18 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001279/0.4586, allocations: 161.2 kB / 0.7219 GB, free: 20.04 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 7.475e-06/0.4586, allocations: 5.812 kB / 0.7219 GB, free: 20.04 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.108e-05/0.4587, allocations: 1.844 kB / 0.7219 GB, free: 20.04 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.613e-05/0.4587, allocations: 6.391 kB / 0.7219 GB, free: 20.04 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.353e-05/0.4587, allocations: 5.156 kB / 0.7219 GB, free: 20.03 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.705e-06/0.4587, allocations: 1.438 kB / 0.7219 GB, free: 20.03 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 1.796e-05/0.4587, allocations: 84.22 kB / 0.722 GB, free: 19.95 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.4587, allocations: 3.938 kB / 0.722 GB, free: 19.95 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001399/0.4589, allocations: 8.984 kB / 0.722 GB, free: 19.95 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.0002307/0.4591, allocations: 0.6904 MB / 0.7227 GB, free: 19.27 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001236/0.4592, allocations: 36.59 kB / 0.7227 GB, free: 19.27 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.4592, allocations: 1.062 kB / 0.7227 GB, free: 19.27 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 3.997e-05/0.4593, allocations: 14.36 kB / 0.7227 GB, free: 19.27 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000235/0.4595, allocations: 7.5 kB / 0.7227 GB, free: 19.26 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007354/0.4603, allocations: 1.221 MB / 0.7239 GB, free: 18.09 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.587e-05/0.4603, allocations: 62.41 kB / 0.724 GB, free: 18.02 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 3.677e-05/0.4603, allocations: 4.078 kB / 0.724 GB, free: 18.02 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.761e-05/0.4604, allocations: 22.22 kB / 0.724 GB, free: 18 MB / 0.6355 GB Notification: Performance of SimCode: time 4.91e-07/0.4604, allocations: 0 / 0.724 GB, free: 18 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0149/0.4753, allocations: 1.943 MB / 0.7259 GB, free: 17.12 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.428/6.903, allocations: 10.36 kB / 0.7259 GB, free: 17.12 MB / 0.6355 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Controls_OBC_CDL_Routing_Validation_RealScalarReplicator_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 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.527354517951608] Failed to read output from testmodel.py, exit status != 0: 6.979976408183575 6.990593288 6.532264613 Calling exit ...