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.0009569/0.0009569, allocations: 105.5 kB / 18.95 MB, free: 1.188 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.001046/0.001046, allocations: 213.9 kB / 22.25 MB, free: 3.578 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.9889/0.9889, allocations: 230.6 MB / 256 MB, free: 9.578 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.7887/0.7887, allocations: 203.8 MB / 0.5042 GB, free: 10.43 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.0009525/0.0009525, allocations: 70.09 kB / 0.7182 GB, free: 4.047 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5566/0.5576, allocations: 102 MB / 0.8178 GB, free: 1.051 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator): time 0.001622/0.5592, allocations: 0.6466 MB / 0.8184 GB, free: 0.6484 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0006504/0.5599, allocations: 0.8171 MB / 0.8192 GB, free: 32 kB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.463e-05/0.5599, allocations: 1.125 kB / 0.8192 GB, free: 32 kB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 9.685e-05/0.56, allocations: 9.312 kB / 0.8192 GB, free: 28 kB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001027/0.5601, allocations: 5.297 kB / 0.8192 GB, free: 24 kB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 6.415e-05/0.5602, allocations: 14.02 kB / 0.8192 GB, free: 16 kB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001475/0.5603, allocations: 55.31 kB / 0.8193 GB, free: 15.99 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001365/0.5605, allocations: 8.156 kB / 0.8193 GB, free: 15.99 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 6.87e-05/0.5605, allocations: 28.44 kB / 0.8193 GB, free: 15.98 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 9.741e-05/0.5606, allocations: 37.03 kB / 0.8194 GB, free: 15.96 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.938e-05/0.5607, allocations: 8.906 kB / 0.8194 GB, free: 15.96 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 1.103e-05/0.5607, allocations: 2.781 kB / 0.8194 GB, free: 15.96 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 6.746e-05/0.5607, allocations: 23.66 kB / 0.8194 GB, free: 15.95 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.284e-05/0.5608, allocations: 25.83 kB / 0.8194 GB, free: 15.93 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001256/0.5609, allocations: 68.66 kB / 0.8195 GB, free: 15.91 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.355e-06/0.5609, allocations: 0 / 0.8195 GB, free: 15.91 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.583e-06/0.5609, allocations: 0 / 0.8195 GB, free: 15.91 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.372e-06/0.5609, allocations: 0 / 0.8195 GB, free: 15.91 MB / 0.6198 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.0004886/0.5614, allocations: 311.4 kB / 0.8198 GB, free: 15.63 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.71e-05/0.5614, allocations: 16.38 kB / 0.8198 GB, free: 15.62 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.334e-05/0.5615, allocations: 31.59 kB / 0.8198 GB, free: 15.59 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.156e-05/0.5615, allocations: 10.67 kB / 0.8198 GB, free: 15.58 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000198/0.5617, allocations: 131.8 kB / 0.82 GB, free: 15.44 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.504e-05/0.5617, allocations: 6.594 kB / 0.82 GB, free: 15.44 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.586e-05/0.5617, allocations: 4.406 kB / 0.82 GB, free: 15.44 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002778/0.562, allocations: 133.5 kB / 0.8201 GB, free: 15.37 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.02e-05/0.562, allocations: 3.938 kB / 0.8201 GB, free: 15.37 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.097e-05/0.562, allocations: 0 / 0.8201 GB, free: 15.37 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.466e-06/0.5621, allocations: 12.34 kB / 0.8201 GB, free: 15.36 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002339/0.5623, allocations: 127.4 kB / 0.8202 GB, free: 15.34 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005244/0.5628, allocations: 391 kB / 0.8206 GB, free: 15 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001622/0.563, allocations: 92.56 kB / 0.8207 GB, free: 14.94 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001237/0.5631, allocations: 62.8 kB / 0.8208 GB, free: 14.92 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.349e-05/0.5631, allocations: 4.641 kB / 0.8208 GB, free: 14.92 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.542e-05/0.5631, allocations: 38.12 kB / 0.8208 GB, free: 14.88 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 1.172e-06/0.5631, allocations: 0 / 0.8208 GB, free: 14.88 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.000468/0.5636, allocations: 193.9 kB / 0.821 GB, free: 14.82 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.424e-05/0.5637, allocations: 79.55 kB / 0.8211 GB, free: 14.72 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.513e-05/0.5637, allocations: 119.4 kB / 0.8212 GB, free: 14.62 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.208e-05/0.5637, allocations: 29.7 kB / 0.8212 GB, free: 14.58 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.079e-05/0.5638, allocations: 102 kB / 0.8213 GB, free: 14.48 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.779e-05/0.5638, allocations: 6.938 kB / 0.8213 GB, free: 14.48 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.497e-05/0.5638, allocations: 13.97 kB / 0.8213 GB, free: 14.46 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.656e-05/0.5639, allocations: 319.6 kB / 0.8216 GB, free: 14.15 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001177/0.564, allocations: 54.56 kB / 0.8217 GB, free: 14.14 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.741e-05/0.5641, allocations: 64.66 kB / 0.8217 GB, free: 14.12 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001789/0.5643, allocations: 109.2 kB / 0.8219 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.494e-06/0.5643, allocations: 4 kB / 0.8219 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002333/0.5646, allocations: 129.2 kB / 0.822 GB, free: 14.05 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.519e-05/0.5646, allocations: 3.844 kB / 0.822 GB, free: 14.05 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.041e-05/0.5646, allocations: 2.156 kB / 0.822 GB, free: 14.05 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.32e-05/0.5646, allocations: 3.938 kB / 0.822 GB, free: 14.04 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.614e-05/0.5647, allocations: 27.33 kB / 0.822 GB, free: 14.04 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.302e-06/0.5647, allocations: 0 / 0.822 GB, free: 14.04 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.971e-05/0.5647, allocations: 24.08 kB / 0.822 GB, free: 14.03 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.823e-06/0.5648, allocations: 1.156 kB / 0.822 GB, free: 14.03 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 6.968e-05/0.5648, allocations: 127.4 kB / 0.8222 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.968e-05/0.5648, allocations: 2.062 kB / 0.8222 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.2e-05/0.5649, allocations: 10.45 kB / 0.8222 GB, free: 13.89 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.415e-06/0.5649, allocations: 1.906 kB / 0.8222 GB, free: 13.89 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.481e-06/0.5649, allocations: 0 / 0.8222 GB, free: 13.89 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/0.5649, allocations: 8.922 kB / 0.8222 GB, free: 13.89 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001538/0.565, allocations: 148.2 kB / 0.8223 GB, free: 13.72 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.565, allocations: 1.5 kB / 0.8223 GB, free: 13.72 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.153e-05/0.5651, allocations: 22.61 kB / 0.8223 GB, free: 13.72 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.5651, allocations: 0 / 0.8223 GB, free: 13.72 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.997e-06/0.5651, allocations: 1.406 kB / 0.8223 GB, free: 13.72 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.5651, allocations: 0 / 0.8223 GB, free: 13.72 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.365e-06/0.5651, allocations: 2.172 kB / 0.8223 GB, free: 13.72 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002743/0.5654, allocations: 318.6 kB / 0.8227 GB, free: 13.49 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 7.234e-06/0.5654, allocations: 1.531 kB / 0.8227 GB, free: 13.49 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.959e-06/0.5654, allocations: 1.562 kB / 0.8227 GB, free: 13.49 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.452e-05/0.5655, allocations: 18.17 kB / 0.8227 GB, free: 13.48 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.451e-05/0.5655, allocations: 13.08 kB / 0.8227 GB, free: 13.48 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.056e-06/0.5655, allocations: 1.625 kB / 0.8227 GB, free: 13.48 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.305e-05/0.5656, allocations: 99.5 kB / 0.8228 GB, free: 13.39 MB / 0.6198 GB Notification: Performance of sort global known variables: time 8e-08/0.5656, allocations: 1.312 kB / 0.8228 GB, free: 13.39 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.000168/0.5657, allocations: 19.61 kB / 0.8228 GB, free: 13.38 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.0005326/0.5663, allocations: 0.8284 MB / 0.8236 GB, free: 12.64 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002989/0.5666, allocations: 117.7 kB / 0.8237 GB, free: 12.62 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.5666, allocations: 1.781 kB / 0.8237 GB, free: 12.62 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001213/0.5667, allocations: 67.38 kB / 0.8238 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.0002469/0.5669, allocations: 9.062 kB / 0.8238 GB, free: 12.61 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001731/0.5687, allocations: 1.589 MB / 0.8254 GB, free: 11.28 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.231e-05/0.5687, allocations: 91.3 kB / 0.8254 GB, free: 11.2 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 4.658e-05/0.5688, allocations: 13.56 kB / 0.8255 GB, free: 11.2 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.849e-05/0.5688, allocations: 18.8 kB / 0.8255 GB, free: 11.18 MB / 0.6198 GB Notification: Performance of SimCode: time 3e-07/0.5688, allocations: 0 / 0.8255 GB, free: 11.18 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01595/0.5848, allocations: 2.419 MB / 0.8278 GB, free: 10.31 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.636/7.221, allocations: 13.97 kB / 0.8278 GB, free: 10.31 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.187896890100092] Failed to read output from testmodel.py, exit status != 0: 7.305222638882697 7.317304496 6.754527061 Calling exit ...