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.001157/0.001157, allocations: 72.45 kB / 19.9 MB, free: 16 kB / 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.0009603/0.0009603, allocations: 165.9 kB / 23.18 MB, free: 1.383 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.895/0.895, allocations: 177.2 MB / 203.6 MB, free: 5.797 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.6722/0.6722, allocations: 155 MB / 415 MB, free: 500 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: translateModel(IDEAS.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator") translateModel(IDEAS.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator") [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.0008636/0.0008636, allocations: 68.95 kB / 0.6199 GB, free: 12.77 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.4215/0.4224, allocations: 102 MB / 0.7195 GB, free: 23.46 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator): time 0.001258/0.4236, allocations: 0.6408 MB / 0.7201 GB, free: 23.06 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.0006378/0.4243, allocations: 0.8146 MB / 0.7209 GB, free: 22.45 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.514e-05/0.4243, allocations: 1.156 kB / 0.7209 GB, free: 22.45 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 8.826e-05/0.4244, allocations: 4.594 kB / 0.7209 GB, free: 22.45 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 2.218e-05/0.4244, allocations: 5.781 kB / 0.7209 GB, free: 22.44 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001084/0.4246, allocations: 13.81 kB / 0.7209 GB, free: 22.43 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 6.922e-05/0.4246, allocations: 30.66 kB / 0.7209 GB, free: 22.42 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 8.815e-05/0.4247, allocations: 7.438 kB / 0.721 GB, free: 22.41 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 5.486e-05/0.4248, allocations: 11.41 kB / 0.721 GB, free: 22.41 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 4.698e-05/0.4248, allocations: 11.12 kB / 0.721 GB, free: 22.41 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 1.662e-05/0.4248, allocations: 2.219 kB / 0.721 GB, free: 22.41 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 6.202e-06/0.4248, allocations: 2.25 kB / 0.721 GB, free: 22.41 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 4.813e-05/0.4249, allocations: 8.25 kB / 0.721 GB, free: 22.4 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 2.618e-05/0.4249, allocations: 11.41 kB / 0.721 GB, free: 22.39 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 8.081e-05/0.425, allocations: 38.45 kB / 0.721 GB, free: 22.38 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 3.798e-06/0.425, allocations: 4 kB / 0.721 GB, free: 22.37 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.994e-06/0.425, allocations: 1.156 kB / 0.721 GB, free: 22.37 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.36e-06/0.425, allocations: 0.5625 kB / 0.721 GB, free: 22.37 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.0003045/0.4253, allocations: 267.3 kB / 0.7213 GB, free: 22.11 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.723e-05/0.4253, allocations: 9.906 kB / 0.7213 GB, free: 22.11 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.55e-05/0.4254, allocations: 11.08 kB / 0.7213 GB, free: 22.1 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001084/0.4255, allocations: 115.9 kB / 0.7214 GB, free: 21.96 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.879e-06/0.4255, allocations: 2.781 kB / 0.7214 GB, free: 21.96 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.266e-05/0.4255, allocations: 1.469 kB / 0.7214 GB, free: 21.96 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001347/0.4256, allocations: 65.08 kB / 0.7215 GB, free: 21.92 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.125e-06/0.4256, allocations: 192 / 0.7215 GB, free: 21.92 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.458e-06/0.4256, allocations: 5 kB / 0.7215 GB, free: 21.91 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.47e-06/0.4257, allocations: 1.734 kB / 0.7215 GB, free: 21.91 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.61e-05/0.4257, allocations: 37.75 kB / 0.7215 GB, free: 21.91 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002358/0.426, allocations: 213.5 kB / 0.7217 GB, free: 21.7 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 6.584e-05/0.426, allocations: 36.69 kB / 0.7218 GB, free: 21.67 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.648e-05/0.4261, allocations: 22.86 kB / 0.7218 GB, free: 21.66 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.07e-05/0.4261, allocations: 1.062 kB / 0.7218 GB, free: 21.66 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.338e-05/0.4261, allocations: 39.56 kB / 0.7218 GB, free: 21.61 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=1): time 8.72e-07/0.4261, allocations: 0 / 0.7218 GB, free: 21.61 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1): time 0.000206/0.4263, allocations: 73.36 kB / 0.7219 GB, free: 21.57 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.032e-05/0.4263, allocations: 52.47 kB / 0.722 GB, free: 21.51 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.662e-05/0.4264, allocations: 107.2 kB / 0.7221 GB, free: 21.41 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 4.699e-06/0.4264, allocations: 25.7 kB / 0.7221 GB, free: 21.38 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 2.125e-05/0.4264, allocations: 91.64 kB / 0.7222 GB, free: 21.29 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.48e-05/0.4264, allocations: 0.6562 kB / 0.7222 GB, free: 21.29 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.954e-05/0.4264, allocations: 15.91 kB / 0.7222 GB, free: 21.27 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 2.6e-05/0.4265, allocations: 313.1 kB / 0.7225 GB, free: 20.95 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.434e-05/0.4265, allocations: 13.61 kB / 0.7225 GB, free: 20.95 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.871e-05/0.4266, allocations: 22.05 kB / 0.7225 GB, free: 20.95 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.651e-05/0.4266, allocations: 39.61 kB / 0.7226 GB, free: 20.93 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.4266, allocations: 5.109 kB / 0.7226 GB, free: 20.93 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1) (initialization): time 9.691e-05/0.4267, allocations: 60.38 kB / 0.7226 GB, free: 20.89 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.225e-05/0.4267, allocations: 5.188 kB / 0.7226 GB, free: 20.89 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.548e-06/0.4267, allocations: 1.625 kB / 0.7226 GB, free: 20.89 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.283e-05/0.4268, allocations: 0.5625 kB / 0.7226 GB, free: 20.89 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.573e-05/0.4268, allocations: 6.375 kB / 0.7226 GB, free: 20.89 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.779e-06/0.4268, allocations: 5.25 kB / 0.7226 GB, free: 20.89 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.309e-05/0.4268, allocations: 6.188 kB / 0.7226 GB, free: 20.89 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.82e-06/0.4268, allocations: 0 / 0.7226 GB, free: 20.89 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.345e-05/0.4269, allocations: 119.2 kB / 0.7228 GB, free: 20.77 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.207e-05/0.4269, allocations: 5.484 kB / 0.7228 GB, free: 20.76 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.527e-05/0.4269, allocations: 17.2 kB / 0.7228 GB, free: 20.75 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-06/0.4269, allocations: 0 / 0.7228 GB, free: 20.75 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.376e-06/0.4269, allocations: 0 / 0.7228 GB, free: 20.75 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.4269, allocations: 1.656 kB / 0.7228 GB, free: 20.75 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.328e-05/0.427, allocations: 109.9 kB / 0.7229 GB, free: 20.62 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.31e-07/0.427, allocations: 3.938 kB / 0.7229 GB, free: 20.62 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.259e-05/0.427, allocations: 8.125 kB / 0.7229 GB, free: 20.62 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.21e-07/0.427, allocations: 0 / 0.7229 GB, free: 20.62 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.42e-06/0.427, allocations: 5.094 kB / 0.7229 GB, free: 20.61 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.427, allocations: 0.5156 kB / 0.7229 GB, free: 20.61 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.31e-07/0.427, allocations: 0 / 0.7229 GB, free: 20.61 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001087/0.4271, allocations: 162 kB / 0.7231 GB, free: 20.47 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.871e-06/0.4271, allocations: 6 kB / 0.7231 GB, free: 20.47 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.266e-06/0.4271, allocations: 4 kB / 0.7231 GB, free: 20.46 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.689e-05/0.4272, allocations: 6.453 kB / 0.7231 GB, free: 20.46 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.304e-05/0.4272, allocations: 2.562 kB / 0.7231 GB, free: 20.46 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.783e-06/0.4272, allocations: 1.094 kB / 0.7231 GB, free: 20.46 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 1.536e-05/0.4272, allocations: 84.14 kB / 0.7231 GB, free: 20.39 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6e-08/0.4272, allocations: 5.125 kB / 0.7232 GB, free: 20.38 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001437/0.4274, allocations: 3.438 kB / 0.7232 GB, free: 20.38 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 5.971e-05/0.4274, allocations: 94.58 kB / 0.7232 GB, free: 20.29 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001179/0.4275, allocations: 37.05 kB / 0.7233 GB, free: 20.29 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/0.4275, allocations: 0 / 0.7233 GB, free: 20.29 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 3.885e-05/0.4276, allocations: 14.77 kB / 0.7233 GB, free: 20.29 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002076/0.4278, allocations: 11.25 kB / 0.7233 GB, free: 20.28 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002092/0.428, allocations: 132.4 kB / 0.7234 GB, free: 20.14 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.393e-05/0.428, allocations: 62.95 kB / 0.7235 GB, free: 20.07 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.194e-05/0.4281, allocations: 21.61 kB / 0.7235 GB, free: 20.05 MB / 0.6355 GB Notification: Performance of SimCode: time 3.81e-07/0.4281, allocations: 0 / 0.7235 GB, free: 20.05 MB / 0.6355 GB Notification: Performance of Templates: time 0.001488/0.4295, allocations: 0.5922 MB / 0.7241 GB, free: 20.02 MB / 0.6355 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.makefile [Timeout 660] (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 & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.490426748991013] Failed to read output from testmodel.py, exit status != 0: 0.4348901389166713 0.44330227600000005 0.016681461 Calling exit ...