Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator.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.0009981/0.0009981, allocations: 109.9 kB / 18.93 MB, free: 1.27 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.0009364/0.0009364, allocations: 217.7 kB / 22.26 MB, free: 3.703 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.9955/0.9955, allocations: 230.6 MB / 256 MB, free: 9.82 MB / 202.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.8553/0.8553, allocations: 203.8 MB / 0.5042 GB, free: 10.74 MB / 410.7 MB " [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.RealVectorReplicator,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Routing_Validation_RealVectorReplicator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Routing_Validation_RealVectorReplicator",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.001031/0.001031, allocations: 64.34 kB / 0.7182 GB, free: 4.371 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5492/0.5503, allocations: 102 MB / 0.8179 GB, free: 1.25 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator): time 0.001585/0.5518, allocations: 0.6473 MB / 0.8185 GB, free: 0.8477 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0008012/0.5526, allocations: 0.8316 MB / 0.8193 GB, free: 224 kB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.448e-05/0.5527, allocations: 0 / 0.8193 GB, free: 224 kB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001101/0.5528, allocations: 5.391 kB / 0.8193 GB, free: 220 kB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 9.997e-05/0.5529, allocations: 5.109 kB / 0.8193 GB, free: 220 kB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 6.271e-05/0.553, allocations: 8.719 kB / 0.8193 GB, free: 216 kB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001153/0.5531, allocations: 64 kB / 0.8194 GB, free: 184 kB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001283/0.5532, allocations: 12.42 kB / 0.8194 GB, free: 180 kB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 6.086e-05/0.5533, allocations: 24.2 kB / 0.8194 GB, free: 172 kB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 7.683e-05/0.5533, allocations: 32.12 kB / 0.8194 GB, free: 156 kB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.818e-05/0.5534, allocations: 7.812 kB / 0.8195 GB, free: 152 kB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 9.538e-06/0.5534, allocations: 8.312 kB / 0.8195 GB, free: 148 kB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 5.863e-05/0.5534, allocations: 22.58 kB / 0.8195 GB, free: 140 kB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.82e-05/0.5535, allocations: 26.03 kB / 0.8195 GB, free: 124 kB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.000121/0.5536, allocations: 70.67 kB / 0.8196 GB, free: 100 kB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.5536, allocations: 0 / 0.8196 GB, free: 100 kB / 0.6042 GB Notification: Performance of FrontEnd: time 2.815e-06/0.5536, allocations: 0 / 0.8196 GB, free: 100 kB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.222e-06/0.5536, allocations: 0 / 0.8196 GB, free: 100 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.000511/0.5541, allocations: 312.8 kB / 0.8199 GB, free: 15.81 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.875e-05/0.5542, allocations: 15.44 kB / 0.8199 GB, free: 15.81 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.773e-05/0.5542, allocations: 36.58 kB / 0.8199 GB, free: 15.77 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.242e-05/0.5542, allocations: 4.312 kB / 0.8199 GB, free: 15.77 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001502/0.5544, allocations: 134.7 kB / 0.8201 GB, free: 15.62 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.028e-05/0.5544, allocations: 5.781 kB / 0.8201 GB, free: 15.62 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.308e-05/0.5544, allocations: 8.281 kB / 0.8201 GB, free: 15.62 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002584/0.5547, allocations: 132.5 kB / 0.8202 GB, free: 15.55 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.677e-06/0.5547, allocations: 7.938 kB / 0.8202 GB, free: 15.54 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.507e-06/0.5547, allocations: 1.156 kB / 0.8202 GB, free: 15.54 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.2e-06/0.5547, allocations: 1.188 kB / 0.8202 GB, free: 15.54 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002204/0.5549, allocations: 128.4 kB / 0.8203 GB, free: 15.52 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004592/0.5554, allocations: 400.2 kB / 0.8207 GB, free: 15.18 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001393/0.5555, allocations: 89.97 kB / 0.8208 GB, free: 15.12 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001079/0.5556, allocations: 70.48 kB / 0.8209 GB, free: 15.1 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.144e-05/0.5556, allocations: 0 / 0.8209 GB, free: 15.1 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.12e-05/0.5556, allocations: 37.62 kB / 0.8209 GB, free: 15.05 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 1.072e-06/0.5556, allocations: 0 / 0.8209 GB, free: 15.05 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.0004008/0.556, allocations: 190.6 kB / 0.8211 GB, free: 15 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.692e-05/0.5561, allocations: 85.39 kB / 0.8212 GB, free: 14.9 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.535e-05/0.5562, allocations: 125.4 kB / 0.8213 GB, free: 14.79 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.21e-05/0.5562, allocations: 25.7 kB / 0.8213 GB, free: 14.76 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.718e-05/0.5562, allocations: 97.62 kB / 0.8214 GB, free: 14.66 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.863e-05/0.5563, allocations: 5.797 kB / 0.8214 GB, free: 14.66 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.995e-05/0.5563, allocations: 17.8 kB / 0.8214 GB, free: 14.64 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.821e-05/0.5564, allocations: 319.6 kB / 0.8217 GB, free: 14.32 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001066/0.5565, allocations: 53.52 kB / 0.8218 GB, free: 14.32 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001092/0.5566, allocations: 65.61 kB / 0.8218 GB, free: 14.29 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001787/0.5568, allocations: 112.8 kB / 0.8219 GB, free: 14.26 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.5568, allocations: 0 / 0.8219 GB, free: 14.26 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002324/0.557, allocations: 135.9 kB / 0.8221 GB, free: 14.21 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.563e-05/0.557, allocations: 6.047 kB / 0.8221 GB, free: 14.21 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/0.557, allocations: 2.562 kB / 0.8221 GB, free: 14.21 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.365e-05/0.557, allocations: 0 / 0.8221 GB, free: 14.21 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.523e-05/0.5571, allocations: 18.03 kB / 0.8221 GB, free: 14.21 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.211e-06/0.5571, allocations: 0.8438 kB / 0.8221 GB, free: 14.21 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.153e-05/0.5572, allocations: 27.41 kB / 0.8221 GB, free: 14.2 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.454e-06/0.5572, allocations: 1.5 kB / 0.8221 GB, free: 14.2 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: 0 () * 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 7.862e-05/0.5573, allocations: 126.5 kB / 0.8223 GB, free: 14.08 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.341e-05/0.5573, allocations: 5.031 kB / 0.8223 GB, free: 14.08 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.761e-05/0.5573, allocations: 13.81 kB / 0.8223 GB, free: 14.07 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.288e-06/0.5573, allocations: 3.984 kB / 0.8223 GB, free: 14.06 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.032e-06/0.5573, allocations: 0.7031 kB / 0.8223 GB, free: 14.06 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.5573, allocations: 3.938 kB / 0.8223 GB, free: 14.06 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001763/0.5575, allocations: 155.6 kB / 0.8224 GB, free: 13.89 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.5575, allocations: 0 / 0.8224 GB, free: 13.89 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.683e-05/0.5576, allocations: 18.44 kB / 0.8224 GB, free: 13.89 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/0.5576, allocations: 4 kB / 0.8224 GB, free: 13.89 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.424e-06/0.5576, allocations: 0 / 0.8224 GB, free: 13.89 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.5576, allocations: 1.031 kB / 0.8224 GB, free: 13.89 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.5576, allocations: 3.094 kB / 0.8225 GB, free: 13.89 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002758/0.5579, allocations: 315.2 kB / 0.8228 GB, free: 13.66 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 8.897e-06/0.5579, allocations: 3.5 kB / 0.8228 GB, free: 13.66 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.156e-05/0.5579, allocations: 0 / 0.8228 GB, free: 13.66 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.416e-05/0.558, allocations: 17.41 kB / 0.8228 GB, free: 13.66 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.58e-05/0.558, allocations: 13.8 kB / 0.8228 GB, free: 13.65 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.677e-06/0.558, allocations: 384 / 0.8228 GB, free: 13.65 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.161e-05/0.5581, allocations: 97.27 kB / 0.8229 GB, free: 13.57 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6e-08/0.5581, allocations: 0 / 0.8229 GB, free: 13.57 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001799/0.5582, allocations: 21.7 kB / 0.8229 GB, free: 13.56 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: 0 () * 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.0004854/0.5587, allocations: 0.8337 MB / 0.8237 GB, free: 12.81 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002807/0.559, allocations: 109.3 kB / 0.8238 GB, free: 12.8 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.559, allocations: 0 / 0.8238 GB, free: 12.8 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001082/0.5591, allocations: 69.66 kB / 0.8239 GB, free: 12.79 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000265/0.5594, allocations: 12.66 kB / 0.8239 GB, free: 12.78 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001475/0.5608, allocations: 1.585 MB / 0.8254 GB, free: 11.45 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002181/0.5611, allocations: 0.6996 MB / 0.8261 GB, free: 10.75 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 4.789e-05/0.5611, allocations: 18.33 kB / 0.8261 GB, free: 10.74 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.023e-05/0.5612, allocations: 18.19 kB / 0.8262 GB, free: 10.73 MB / 0.6198 GB Notification: Performance of SimCode: time 6.21e-07/0.5612, allocations: 0 / 0.8262 GB, free: 10.73 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01789/0.5791, allocations: 1.98 MB / 0.8281 GB, free: 10.28 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.364/6.943, allocations: 6.234 kB / 0.8281 GB, free: 10.28 MB / 0.6198 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Controls_OBC_CDL_Routing_Validation_RealVectorReplicator_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Controls_OBC_CDL_Routing_Validation_RealVectorReplicator.fmu > IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.042347939917818] Failed to read output from testmodel.py, exit status != 0: 7.020291662076488 7.031960638 6.476253173 Calling exit ...