Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.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.001076/0.001076, allocations: 109.5 kB / 18.95 MB, free: 1.184 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.0009503/0.0009503, allocations: 216 kB / 22.25 MB, free: 3.73 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.9754/0.9754, allocations: 230.6 MB / 256 MB, free: 9.641 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.8012/0.8012, allocations: 203.5 MB / 0.5039 GB, free: 10.73 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.IntegerVectorReplicator,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Routing_Validation_IntegerVectorReplicator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Routing_Validation_IntegerVectorReplicator",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.001371/0.001371, allocations: 64.64 kB / 0.7178 GB, free: 4.395 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5547/0.5561, allocations: 102 MB / 0.8174 GB, free: 1.23 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator): time 0.001447/0.5575, allocations: 0.6574 MB / 0.818 GB, free: 0.8281 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0006581/0.5582, allocations: 0.8575 MB / 0.8189 GB, free: 192 kB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.047e-05/0.5582, allocations: 11.88 kB / 0.8189 GB, free: 180 kB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 9.94e-05/0.5583, allocations: 9.469 kB / 0.8189 GB, free: 176 kB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 9.604e-05/0.5584, allocations: 1.547 kB / 0.8189 GB, free: 176 kB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001148/0.5586, allocations: 24.17 kB / 0.8189 GB, free: 160 kB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001137/0.5587, allocations: 62.94 kB / 0.819 GB, free: 140 kB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001434/0.5588, allocations: 25.41 kB / 0.819 GB, free: 128 kB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 6.254e-05/0.5589, allocations: 39.08 kB / 0.819 GB, free: 112 kB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 9.623e-05/0.559, allocations: 43.38 kB / 0.8191 GB, free: 92 kB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.997e-05/0.559, allocations: 7.094 kB / 0.8191 GB, free: 92 kB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.324e-05/0.559, allocations: 3.5 kB / 0.8191 GB, free: 92 kB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 5.264e-05/0.5591, allocations: 37.03 kB / 0.8191 GB, free: 72 kB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.841e-05/0.5591, allocations: 26.7 kB / 0.8191 GB, free: 56 kB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001247/0.5592, allocations: 89.55 kB / 0.8192 GB, free: 28 kB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.5592, allocations: 0 / 0.8192 GB, free: 28 kB / 0.6042 GB Notification: Performance of FrontEnd: time 1.613e-06/0.5592, allocations: 1.906 kB / 0.8192 GB, free: 28 kB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.061e-06/0.5592, allocations: 0 / 0.8192 GB, free: 28 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0005171/0.5597, allocations: 331.7 kB / 0.8195 GB, free: 15.73 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.223e-05/0.5598, allocations: 8.312 kB / 0.8195 GB, free: 15.73 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.598e-05/0.5598, allocations: 39.95 kB / 0.8196 GB, free: 15.69 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.795e-05/0.5599, allocations: 16.62 kB / 0.8196 GB, free: 15.68 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000146/0.56, allocations: 135 kB / 0.8197 GB, free: 15.54 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.43e-05/0.56, allocations: 3.5 kB / 0.8197 GB, free: 15.54 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.347e-05/0.56, allocations: 8.469 kB / 0.8197 GB, free: 15.54 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002661/0.5603, allocations: 156.9 kB / 0.8199 GB, free: 15.46 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.057e-05/0.5603, allocations: 9.547 kB / 0.8199 GB, free: 15.46 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.161e-05/0.5603, allocations: 4 kB / 0.8199 GB, free: 15.45 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.241e-06/0.5603, allocations: 2.25 kB / 0.8199 GB, free: 15.45 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002654/0.5606, allocations: 155.3 kB / 0.8201 GB, free: 15.43 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004216/0.561, allocations: 403 kB / 0.8204 GB, free: 15.07 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000171/0.5612, allocations: 114.7 kB / 0.8205 GB, free: 15.01 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000122/0.5613, allocations: 81.27 kB / 0.8206 GB, free: 14.98 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.832e-05/0.5613, allocations: 0.8125 kB / 0.8206 GB, free: 14.98 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.344e-05/0.5614, allocations: 33.27 kB / 0.8207 GB, free: 14.94 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=4): time 8.32e-07/0.5614, allocations: 0 / 0.8207 GB, free: 14.94 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4): time 0.0004467/0.5618, allocations: 234.6 kB / 0.8209 GB, free: 14.87 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.574e-05/0.5618, allocations: 79.41 kB / 0.821 GB, free: 14.78 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.656e-05/0.5619, allocations: 130 kB / 0.8211 GB, free: 14.66 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.079e-05/0.5619, allocations: 25.7 kB / 0.8211 GB, free: 14.63 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.946e-05/0.562, allocations: 102.6 kB / 0.8212 GB, free: 14.54 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.712e-05/0.562, allocations: 10.72 kB / 0.8212 GB, free: 14.53 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.375e-05/0.562, allocations: 24.86 kB / 0.8212 GB, free: 14.51 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.27e-05/0.5621, allocations: 319.2 kB / 0.8215 GB, free: 14.19 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001118/0.5622, allocations: 62.61 kB / 0.8216 GB, free: 14.18 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001117/0.5623, allocations: 82.45 kB / 0.8217 GB, free: 14.15 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002011/0.5625, allocations: 129.6 kB / 0.8218 GB, free: 14.12 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.5625, allocations: 0 / 0.8218 GB, free: 14.12 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002174/0.5628, allocations: 167.2 kB / 0.822 GB, free: 14.06 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.22e-05/0.5628, allocations: 5.469 kB / 0.822 GB, free: 14.06 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.5628, allocations: 2.5 kB / 0.822 GB, free: 14.06 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.182e-05/0.5628, allocations: 0 / 0.822 GB, free: 14.06 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.751e-05/0.5629, allocations: 20.91 kB / 0.822 GB, free: 14.06 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.005e-06/0.5629, allocations: 5.219 kB / 0.822 GB, free: 14.06 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.944e-05/0.5629, allocations: 19.8 kB / 0.822 GB, free: 14.05 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.274e-06/0.563, allocations: 3 kB / 0.822 GB, free: 14.05 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 2 (intRep.y[3,1],intRep.y[3,2]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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 7.384e-05/0.563, allocations: 130.9 kB / 0.8221 GB, free: 13.93 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.094e-05/0.563, allocations: 3.031 kB / 0.8221 GB, free: 13.93 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.945e-05/0.5631, allocations: 13.92 kB / 0.8222 GB, free: 13.92 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.435e-06/0.5631, allocations: 0.7969 kB / 0.8222 GB, free: 13.92 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001622/0.5632, allocations: 5.281 kB / 0.8222 GB, free: 13.92 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.584e-06/0.5632, allocations: 0 / 0.8222 GB, free: 13.92 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001567/0.5634, allocations: 158.7 kB / 0.8223 GB, free: 13.75 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.5634, allocations: 2.875 kB / 0.8223 GB, free: 13.75 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.127e-05/0.5635, allocations: 32.56 kB / 0.8223 GB, free: 13.74 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.552e-06/0.5635, allocations: 2.188 kB / 0.8223 GB, free: 13.74 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.434e-06/0.5635, allocations: 0.8438 kB / 0.8224 GB, free: 13.74 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.492e-06/0.5635, allocations: 1.75 kB / 0.8224 GB, free: 13.74 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.5635, allocations: 4.312 kB / 0.8224 GB, free: 13.74 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002788/0.5637, allocations: 334.6 kB / 0.8227 GB, free: 13.51 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 6.953e-06/0.5638, allocations: 9.125 kB / 0.8227 GB, free: 13.5 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.11e-05/0.5638, allocations: 6.688 kB / 0.8227 GB, free: 13.5 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.859e-05/0.5638, allocations: 19.33 kB / 0.8227 GB, free: 13.5 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.855e-05/0.5639, allocations: 26.73 kB / 0.8227 GB, free: 13.49 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.138e-06/0.5639, allocations: 6.016 kB / 0.8227 GB, free: 13.48 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.698e-05/0.5639, allocations: 100 kB / 0.8228 GB, free: 13.4 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.5639, allocations: 0 / 0.8228 GB, free: 13.4 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001719/0.5641, allocations: 13.53 kB / 0.8228 GB, free: 13.4 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 2 (intRep.y[3,1],intRep.y[3,2]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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.0005051/0.5646, allocations: 0.8621 MB / 0.8237 GB, free: 12.64 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002815/0.5649, allocations: 137.8 kB / 0.8238 GB, free: 12.62 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.5649, allocations: 1.344 kB / 0.8238 GB, free: 12.62 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001436/0.565, allocations: 90.8 kB / 0.8239 GB, free: 12.61 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002396/0.5653, allocations: 14.75 kB / 0.8239 GB, free: 12.6 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00146/0.5667, allocations: 1.693 MB / 0.8256 GB, free: 11.24 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.427e-05/0.5668, allocations: 90.08 kB / 0.8257 GB, free: 11.16 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 5.196e-05/0.5669, allocations: 22.56 kB / 0.8257 GB, free: 11.16 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.664e-05/0.5669, allocations: 23.5 kB / 0.8257 GB, free: 11.14 MB / 0.6198 GB Notification: Performance of SimCode: time 2.71e-07/0.5669, allocations: 0 / 0.8257 GB, free: 11.14 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01636/0.5833, allocations: 2.993 MB / 0.8286 GB, free: 10.22 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.907/7.49, allocations: 1.156 kB / 0.8286 GB, free: 10.22 MB / 0.6198 GB " [Timeout remaining time 652] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Controls_OBC_CDL_Routing_Validation_IntegerVectorReplicator_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Controls_OBC_CDL_Routing_Validation_IntegerVectorReplicator.fmu > IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.499726409092546] Failed to read output from testmodel.py, exit status != 0: 7.566371340304613 7.579828193 7.017912708 Calling exit ...