Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.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.001469/0.001469, allocations: 103.6 kB / 18.95 MB, free: 2.691 MB / 14.72 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.00186/0.00186, allocations: 216.8 kB / 22.24 MB, free: 5.242 MB / 14.72 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 1.591/1.591, allocations: 230.6 MB / 256 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] 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 1.304/1.304, allocations: 203.5 MB / 0.5038 GB, free: 4.887 MB / 414.1 MB " [Timeout remaining time 178] 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: translateModel(IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator") translateModel(IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator") [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.002106/0.002106, allocations: 67.91 kB / 0.7183 GB, free: 2.316 MB / 0.5762 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.748/0.7502, allocations: 102 MB / 0.8178 GB, free: 29.09 MB / 0.6387 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator): time 0.002368/0.7525, allocations: 0.6488 MB / 0.8185 GB, free: 28.71 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.001627/0.7541, allocations: 0.8517 MB / 0.8193 GB, free: 28.08 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.991e-05/0.7542, allocations: 0.625 kB / 0.8193 GB, free: 28.08 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0001557/0.7544, allocations: 5.75 kB / 0.8193 GB, free: 28.07 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 3.688e-05/0.7544, allocations: 5.141 kB / 0.8193 GB, free: 28.07 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.000268/0.7547, allocations: 26.25 kB / 0.8193 GB, free: 28.05 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.0001225/0.7548, allocations: 30.91 kB / 0.8194 GB, free: 28.04 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001434/0.755, allocations: 9.984 kB / 0.8194 GB, free: 28.04 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 8.107e-05/0.755, allocations: 15.56 kB / 0.8194 GB, free: 28.04 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 9.516e-05/0.7551, allocations: 20.75 kB / 0.8194 GB, free: 28.03 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 2.854e-05/0.7552, allocations: 6 kB / 0.8194 GB, free: 28.03 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 1.717e-05/0.7552, allocations: 3 kB / 0.8194 GB, free: 28.03 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 9.39e-05/0.7553, allocations: 11.86 kB / 0.8194 GB, free: 28.02 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 5.113e-05/0.7553, allocations: 12.8 kB / 0.8195 GB, free: 28.02 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.0001511/0.7555, allocations: 35.16 kB / 0.8195 GB, free: 28 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 7.574e-06/0.7555, allocations: 1 kB / 0.8195 GB, free: 28 MB / 0.6387 GB Notification: Performance of FrontEnd: time 3.486e-06/0.7555, allocations: 0 / 0.8195 GB, free: 28 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 7.394e-06/0.7555, allocations: 0 / 0.8195 GB, free: 28 MB / 0.6387 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005753/0.7561, allocations: 276.8 kB / 0.8198 GB, free: 27.73 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 5.663e-05/0.7561, allocations: 10.69 kB / 0.8198 GB, free: 27.73 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.034e-05/0.7562, allocations: 4.266 kB / 0.8198 GB, free: 27.73 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001722/0.7563, allocations: 126.2 kB / 0.8199 GB, free: 27.59 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.77e-05/0.7564, allocations: 5.375 kB / 0.8199 GB, free: 27.59 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.709e-05/0.7564, allocations: 4.469 kB / 0.8199 GB, free: 27.59 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002558/0.7566, allocations: 62.38 kB / 0.82 GB, free: 27.55 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.376e-05/0.7567, allocations: 2.25 kB / 0.82 GB, free: 27.55 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.638e-05/0.7567, allocations: 3.938 kB / 0.82 GB, free: 27.55 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.57e-06/0.7567, allocations: 1.469 kB / 0.82 GB, free: 27.55 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002439/0.7569, allocations: 44.66 kB / 0.82 GB, free: 27.54 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004709/0.7574, allocations: 218.9 kB / 0.8202 GB, free: 27.32 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001839/0.7576, allocations: 39.78 kB / 0.8203 GB, free: 27.3 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001118/0.7577, allocations: 25.08 kB / 0.8203 GB, free: 27.29 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 2.781e-05/0.7577, allocations: 6.234 kB / 0.8203 GB, free: 27.28 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.242e-05/0.7577, allocations: 32.59 kB / 0.8203 GB, free: 27.24 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=2): time 1.122e-06/0.7578, allocations: 0 / 0.8203 GB, free: 27.24 MB / 0.6387 GB Notification: Performance of matching and sorting (n=2): time 0.0005035/0.7583, allocations: 96.23 kB / 0.8204 GB, free: 27.2 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.968e-05/0.7583, allocations: 57.08 kB / 0.8205 GB, free: 27.13 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001224/0.7584, allocations: 106.4 kB / 0.8206 GB, free: 27.02 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 1.568e-05/0.7585, allocations: 27.2 kB / 0.8206 GB, free: 26.99 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 5.445e-05/0.7585, allocations: 87.64 kB / 0.8207 GB, free: 26.91 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 2.322e-05/0.7585, allocations: 9.297 kB / 0.8207 GB, free: 26.9 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.332e-05/0.7586, allocations: 19.03 kB / 0.8207 GB, free: 26.88 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 8.861e-05/0.7587, allocations: 315.1 kB / 0.821 GB, free: 26.57 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001118/0.7588, allocations: 19.33 kB / 0.821 GB, free: 26.56 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.615e-05/0.7589, allocations: 18.94 kB / 0.821 GB, free: 26.56 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002071/0.7591, allocations: 53.89 kB / 0.8211 GB, free: 26.54 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.7591, allocations: 0 / 0.8211 GB, free: 26.54 MB / 0.6387 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002475/0.7593, allocations: 73.81 kB / 0.8212 GB, free: 26.5 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.252e-05/0.7593, allocations: 4.219 kB / 0.8212 GB, free: 26.5 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.055e-06/0.7594, allocations: 5 kB / 0.8212 GB, free: 26.5 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.393e-05/0.7594, allocations: 0 / 0.8212 GB, free: 26.5 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001356/0.7595, allocations: 10.42 kB / 0.8212 GB, free: 26.5 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.568e-06/0.7595, allocations: 1.188 kB / 0.8212 GB, free: 26.5 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.362e-05/0.7596, allocations: 5.297 kB / 0.8212 GB, free: 26.5 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.076e-05/0.7596, allocations: 2.328 kB / 0.8212 GB, free: 26.5 MB / 0.6387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (intRep.y[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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 0.0002025/0.7598, allocations: 119.1 kB / 0.8213 GB, free: 26.38 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.502e-05/0.7598, allocations: 1.938 kB / 0.8213 GB, free: 26.38 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.486e-05/0.7599, allocations: 10.7 kB / 0.8213 GB, free: 26.37 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.7599, allocations: 0.9688 kB / 0.8213 GB, free: 26.37 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.502e-06/0.7599, allocations: 0 / 0.8213 GB, free: 26.37 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.7599, allocations: 0 / 0.8213 GB, free: 26.37 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001268/0.76, allocations: 124.8 kB / 0.8214 GB, free: 26.23 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.76, allocations: 0.5625 kB / 0.8214 GB, free: 26.23 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.686e-05/0.7601, allocations: 12.91 kB / 0.8214 GB, free: 26.23 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.7601, allocations: 1.078 kB / 0.8214 GB, free: 26.23 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.121e-05/0.7601, allocations: 1.844 kB / 0.8214 GB, free: 26.23 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.7601, allocations: 0 / 0.8214 GB, free: 26.23 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.7601, allocations: 0.7188 kB / 0.8214 GB, free: 26.23 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002782/0.7604, allocations: 166.5 kB / 0.8216 GB, free: 26.09 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 8.956e-06/0.7604, allocations: 10.16 kB / 0.8216 GB, free: 26.08 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.835e-05/0.7604, allocations: 2.094 kB / 0.8216 GB, free: 26.08 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001024/0.7605, allocations: 5.25 kB / 0.8216 GB, free: 26.08 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.276e-05/0.7606, allocations: 5.656 kB / 0.8216 GB, free: 26.08 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.211e-05/0.7606, allocations: 6.594 kB / 0.8216 GB, free: 26.07 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 5.326e-05/0.7606, allocations: 84.84 kB / 0.8217 GB, free: 26 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7606, allocations: 0 / 0.8217 GB, free: 26 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0002218/0.7609, allocations: 5.469 kB / 0.8217 GB, free: 26 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (intRep.y[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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.0001248/0.761, allocations: 94.52 kB / 0.8218 GB, free: 25.91 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0002869/0.7613, allocations: 53.77 kB / 0.8219 GB, free: 25.89 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.7613, allocations: 0.5 kB / 0.8219 GB, free: 25.89 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0001178/0.7614, allocations: 23.44 kB / 0.8219 GB, free: 25.88 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000268/0.7617, allocations: 7.156 kB / 0.8219 GB, free: 25.88 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003392/0.762, allocations: 118.6 kB / 0.822 GB, free: 25.77 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.555e-05/0.7621, allocations: 67.41 kB / 0.8221 GB, free: 25.69 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 5.114e-05/0.7621, allocations: 8.797 kB / 0.8221 GB, free: 25.69 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.702e-05/0.7621, allocations: 14.55 kB / 0.8221 GB, free: 25.68 MB / 0.6387 GB Notification: Performance of SimCode: time 3.01e-07/0.7621, allocations: 0 / 0.8221 GB, free: 25.68 MB / 0.6387 GB Notification: Performance of Templates: time 0.003833/0.766, allocations: 0.6535 MB / 0.8227 GB, free: 25.59 MB / 0.6387 GB " [Timeout remaining time 659] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.950921317562461] Failed to read output from testmodel.py, exit status != 0: 0.7748690098524094 0.787966153 0.029603646 Calling exit ...