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.0007984/0.0007984, allocations: 97.5 kB / 18.95 MB, free: 1.312 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.0009469/0.0009469, allocations: 213.7 kB / 22.25 MB, free: 3.676 MB / 13.93 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.9834/0.9834, allocations: 230.6 MB / 256 MB, free: 9.566 MB / 202.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.7898/0.7898, allocations: 203.5 MB / 0.5039 GB, free: 10.7 MB / 410.7 MB " [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.IntegerScalarReplicator,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Routing_Validation_IntegerScalarReplicator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Routing_Validation_IntegerScalarReplicator",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.0008762/0.0008762, allocations: 62.56 kB / 0.7178 GB, free: 4.402 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5504/0.5512, allocations: 102 MB / 0.8174 GB, free: 1.223 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator): time 0.001516/0.5527, allocations: 0.649 MB / 0.818 GB, free: 0.8242 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0007081/0.5535, allocations: 0.8554 MB / 0.8188 GB, free: 188 kB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.525e-05/0.5535, allocations: 1.594 kB / 0.8188 GB, free: 188 kB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001033/0.5536, allocations: 4.5 kB / 0.8188 GB, free: 184 kB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 2.112e-05/0.5536, allocations: 5.516 kB / 0.8189 GB, free: 180 kB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001758/0.5538, allocations: 21.5 kB / 0.8189 GB, free: 168 kB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 8.739e-05/0.5539, allocations: 34.72 kB / 0.8189 GB, free: 152 kB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001121/0.554, allocations: 7.562 kB / 0.8189 GB, free: 148 kB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 5.711e-05/0.5541, allocations: 15.58 kB / 0.8189 GB, free: 140 kB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 6.409e-05/0.5541, allocations: 16.48 kB / 0.8189 GB, free: 132 kB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.744e-05/0.5541, allocations: 3.906 kB / 0.8189 GB, free: 132 kB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.125e-05/0.5541, allocations: 4.625 kB / 0.819 GB, free: 132 kB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 5.867e-05/0.5542, allocations: 12.28 kB / 0.819 GB, free: 124 kB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.46e-05/0.5542, allocations: 13.5 kB / 0.819 GB, free: 116 kB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.000106/0.5543, allocations: 32.62 kB / 0.819 GB, free: 104 kB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.825e-06/0.5543, allocations: 5.188 kB / 0.819 GB, free: 100 kB / 0.6042 GB Notification: Performance of FrontEnd: time 1.794e-06/0.5543, allocations: 0 / 0.819 GB, free: 100 kB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.202e-06/0.5544, allocations: 3.938 kB / 0.819 GB, free: 96 kB / 0.6042 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.0004056/0.5548, allocations: 277.8 kB / 0.8193 GB, free: 15.82 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.877e-05/0.5548, allocations: 13.5 kB / 0.8193 GB, free: 15.82 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.663e-05/0.5548, allocations: 40.05 kB / 0.8193 GB, free: 15.77 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.475e-05/0.5549, allocations: 3.688 kB / 0.8193 GB, free: 15.77 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001557/0.555, allocations: 113.1 kB / 0.8194 GB, free: 15.64 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.764e-05/0.5551, allocations: 8.625 kB / 0.8195 GB, free: 15.64 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.937e-06/0.5551, allocations: 384 / 0.8195 GB, free: 15.64 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001681/0.5552, allocations: 70.73 kB / 0.8195 GB, free: 15.59 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.087e-06/0.5552, allocations: 6.594 kB / 0.8195 GB, free: 15.59 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.816e-06/0.5553, allocations: 0 / 0.8195 GB, free: 15.59 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.631e-06/0.5553, allocations: 0.6562 kB / 0.8195 GB, free: 15.59 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001209/0.5554, allocations: 49.02 kB / 0.8196 GB, free: 15.57 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003309/0.5557, allocations: 239.1 kB / 0.8198 GB, free: 15.33 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001105/0.5558, allocations: 43.89 kB / 0.8198 GB, free: 15.3 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.537e-05/0.5559, allocations: 26 kB / 0.8199 GB, free: 15.28 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.456e-05/0.5559, allocations: 2.438 kB / 0.8199 GB, free: 15.28 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.728e-05/0.5559, allocations: 32.16 kB / 0.8199 GB, free: 15.24 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 8.11e-07/0.5559, allocations: 0 / 0.8199 GB, free: 15.24 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.0002407/0.5561, allocations: 87.59 kB / 0.82 GB, free: 15.2 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.815e-05/0.5562, allocations: 53.53 kB / 0.82 GB, free: 15.14 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.593e-05/0.5562, allocations: 107.3 kB / 0.8201 GB, free: 15.03 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.157e-05/0.5563, allocations: 31.08 kB / 0.8202 GB, free: 15 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.634e-05/0.5563, allocations: 82.86 kB / 0.8202 GB, free: 14.91 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.397e-05/0.5563, allocations: 7.734 kB / 0.8203 GB, free: 14.91 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.758e-05/0.5563, allocations: 17.16 kB / 0.8203 GB, free: 14.89 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.956e-05/0.5564, allocations: 316.1 kB / 0.8206 GB, free: 14.57 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.623e-05/0.5565, allocations: 26.5 kB / 0.8206 GB, free: 14.57 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.04e-05/0.5565, allocations: 13.89 kB / 0.8206 GB, free: 14.57 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.754e-05/0.5566, allocations: 53.44 kB / 0.8207 GB, free: 14.54 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.5566, allocations: 0 / 0.8207 GB, free: 14.54 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001105/0.5567, allocations: 66.06 kB / 0.8207 GB, free: 14.51 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.237e-05/0.5567, allocations: 7.656 kB / 0.8207 GB, free: 14.51 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.5567, allocations: 0 / 0.8207 GB, free: 14.51 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.049e-05/0.5567, allocations: 0 / 0.8207 GB, free: 14.51 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.006e-05/0.5568, allocations: 12.97 kB / 0.8207 GB, free: 14.5 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.23e-06/0.5568, allocations: 0.7031 kB / 0.8207 GB, free: 14.5 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.924e-05/0.5568, allocations: 19.59 kB / 0.8208 GB, free: 14.49 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.679e-06/0.5568, allocations: 0 / 0.8208 GB, free: 14.49 MB / 0.6198 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 9.542e-05/0.5569, allocations: 119.1 kB / 0.8209 GB, free: 14.37 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.072e-05/0.5569, allocations: 0 / 0.8209 GB, free: 14.37 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.8e-05/0.557, allocations: 7.969 kB / 0.8209 GB, free: 14.37 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.557, allocations: 1.484 kB / 0.8209 GB, free: 14.37 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.557, allocations: 2.312 kB / 0.8209 GB, free: 14.37 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.866e-06/0.557, allocations: 3.938 kB / 0.8209 GB, free: 14.36 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001123/0.5571, allocations: 141.9 kB / 0.821 GB, free: 14.2 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.72e-07/0.5571, allocations: 0 / 0.821 GB, free: 14.2 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.311e-05/0.5571, allocations: 12.19 kB / 0.821 GB, free: 14.2 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.062e-06/0.5571, allocations: 0 / 0.821 GB, free: 14.2 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.495e-06/0.5571, allocations: 4.844 kB / 0.821 GB, free: 14.19 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.5571, allocations: 0 / 0.821 GB, free: 14.19 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.81e-07/0.5571, allocations: 0 / 0.821 GB, free: 14.19 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001483/0.5573, allocations: 166.5 kB / 0.8212 GB, free: 14.05 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 7.184e-06/0.5573, allocations: 12.14 kB / 0.8212 GB, free: 14.04 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.859e-06/0.5573, allocations: 4.641 kB / 0.8212 GB, free: 14.04 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.037e-05/0.5573, allocations: 5.828 kB / 0.8212 GB, free: 14.04 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.965e-05/0.5574, allocations: 9.406 kB / 0.8212 GB, free: 14.04 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.407e-06/0.5574, allocations: 0.5625 kB / 0.8212 GB, free: 14.04 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.054e-05/0.5574, allocations: 80.25 kB / 0.8213 GB, free: 13.96 MB / 0.6198 GB Notification: Performance of sort global known variables: time 7e-08/0.5574, allocations: 0 / 0.8213 GB, free: 13.96 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001421/0.5576, allocations: 10.56 kB / 0.8213 GB, free: 13.96 MB / 0.6198 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.0003452/0.5579, allocations: 0.7014 MB / 0.822 GB, free: 13.28 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001393/0.558, allocations: 44.55 kB / 0.822 GB, free: 13.27 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.5581, allocations: 0 / 0.822 GB, free: 13.27 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 5.2e-05/0.5581, allocations: 21.3 kB / 0.8221 GB, free: 13.27 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001789/0.5583, allocations: 12.44 kB / 0.8221 GB, free: 13.27 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009212/0.5592, allocations: 1.269 MB / 0.8233 GB, free: 12.07 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.31e-05/0.5593, allocations: 63.53 kB / 0.8234 GB, free: 12 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.876e-05/0.5593, allocations: 7.297 kB / 0.8234 GB, free: 11.99 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.372e-05/0.5593, allocations: 16.27 kB / 0.8234 GB, free: 11.98 MB / 0.6198 GB Notification: Performance of SimCode: time 3.91e-07/0.5593, allocations: 0 / 0.8234 GB, free: 11.98 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01674/0.5761, allocations: 2.058 MB / 0.8254 GB, free: 11.12 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.976/7.552, allocations: 5.484 kB / 0.8254 GB, free: 11.12 MB / 0.6198 GB " [Timeout remaining time 652] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Controls_OBC_CDL_Routing_Validation_IntegerScalarReplicator_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Controls_OBC_CDL_Routing_Validation_IntegerScalarReplicator.fmu > IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.561228258069605] Failed to read output from testmodel.py, exit status != 0: 7.629038834013045 7.642770643 7.086253326 Calling exit ...