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.0008241/0.0008241, allocations: 105.5 kB / 18.95 MB, free: 1.191 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.001392/0.001392, allocations: 212 kB / 22.24 MB, free: 3.59 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.9321/0.9321, allocations: 230.6 MB / 256 MB, free: 9.621 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.7861/0.7861, allocations: 203.8 MB / 0.5042 GB, free: 10.5 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.0009532/0.0009532, allocations: 71.95 kB / 0.7182 GB, free: 4.066 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5304/0.5313, 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.001461/0.5328, allocations: 0.6529 MB / 0.8184 GB, free: 0.6445 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001037/0.5338, allocations: 0.8148 MB / 0.8192 GB, free: 32 kB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.711e-05/0.5339, allocations: 0 / 0.8192 GB, free: 32 kB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001197/0.534, allocations: 6.734 kB / 0.8192 GB, free: 28 kB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001101/0.5341, allocations: 10.89 kB / 0.8192 GB, free: 20 kB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 7.687e-05/0.5342, allocations: 13.16 kB / 0.8192 GB, free: 12 kB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.000143/0.5344, allocations: 57.66 kB / 0.8193 GB, free: 15.98 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001586/0.5345, allocations: 12.28 kB / 0.8193 GB, free: 15.98 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 7.638e-05/0.5346, allocations: 31.91 kB / 0.8193 GB, free: 15.97 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001015/0.5347, allocations: 30.36 kB / 0.8194 GB, free: 15.96 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.02e-05/0.5347, allocations: 4.156 kB / 0.8194 GB, free: 15.96 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 1.036e-05/0.5347, allocations: 7.438 kB / 0.8194 GB, free: 15.95 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 6.167e-05/0.5348, allocations: 23.17 kB / 0.8194 GB, free: 15.95 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.305e-05/0.5348, allocations: 20.8 kB / 0.8194 GB, free: 15.93 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001386/0.535, allocations: 73.08 kB / 0.8195 GB, free: 15.91 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.621e-06/0.535, allocations: 0 / 0.8195 GB, free: 15.91 MB / 0.6198 GB Notification: Performance of FrontEnd: time 3.627e-06/0.535, allocations: 4.609 kB / 0.8195 GB, free: 15.91 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.683e-06/0.535, 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.0005282/0.5355, allocations: 315.8 kB / 0.8198 GB, free: 15.62 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.635e-05/0.5356, allocations: 11.75 kB / 0.8198 GB, free: 15.62 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.351e-05/0.5356, allocations: 35.59 kB / 0.8198 GB, free: 15.57 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.136e-05/0.5356, allocations: 3.719 kB / 0.8198 GB, free: 15.57 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001331/0.5357, allocations: 132 kB / 0.82 GB, free: 15.44 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.093e-05/0.5358, allocations: 7.031 kB / 0.82 GB, free: 15.43 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.367e-06/0.5358, allocations: 3 kB / 0.82 GB, free: 15.43 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002415/0.536, allocations: 133.4 kB / 0.8201 GB, free: 15.37 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.955e-06/0.536, allocations: 3.938 kB / 0.8201 GB, free: 15.36 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.596e-06/0.536, allocations: 0 / 0.8201 GB, free: 15.36 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.731e-06/0.536, allocations: 6.062 kB / 0.8201 GB, free: 15.36 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002178/0.5362, allocations: 124.5 kB / 0.8202 GB, free: 15.34 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004428/0.5367, allocations: 398.7 kB / 0.8206 GB, free: 15 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001433/0.5368, allocations: 88.95 kB / 0.8207 GB, free: 14.94 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001079/0.5369, allocations: 71.72 kB / 0.8208 GB, free: 14.91 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.083e-05/0.537, allocations: 0 / 0.8208 GB, free: 14.91 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.004e-05/0.537, allocations: 32.55 kB / 0.8208 GB, free: 14.88 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 8.12e-07/0.537, allocations: 4 kB / 0.8208 GB, free: 14.87 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.0004016/0.5374, allocations: 193.6 kB / 0.821 GB, free: 14.82 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.586e-05/0.5374, allocations: 77.11 kB / 0.8211 GB, free: 14.72 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.259e-05/0.5375, allocations: 127.5 kB / 0.8212 GB, free: 14.61 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 9.778e-06/0.5375, allocations: 29.95 kB / 0.8212 GB, free: 14.57 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.654e-05/0.5375, allocations: 98.41 kB / 0.8213 GB, free: 14.48 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.98e-05/0.5376, allocations: 5.844 kB / 0.8213 GB, free: 14.48 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.635e-05/0.5376, allocations: 12.98 kB / 0.8213 GB, free: 14.46 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.353e-05/0.5377, allocations: 320.2 kB / 0.8216 GB, free: 14.14 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001213/0.5378, allocations: 50.59 kB / 0.8217 GB, free: 14.14 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001084/0.5379, allocations: 68.2 kB / 0.8217 GB, free: 14.12 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001766/0.5381, allocations: 109.9 kB / 0.8219 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.5381, allocations: 3.938 kB / 0.8219 GB, free: 14.08 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002288/0.5383, allocations: 140.9 kB / 0.822 GB, free: 14.03 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.738e-05/0.5383, allocations: 5.031 kB / 0.822 GB, free: 14.03 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.141e-06/0.5383, allocations: 1.656 kB / 0.822 GB, free: 14.03 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.45e-05/0.5384, allocations: 0.9844 kB / 0.822 GB, free: 14.03 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.164e-05/0.5385, allocations: 17.94 kB / 0.822 GB, free: 14.03 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.512e-06/0.5385, allocations: 0.9844 kB / 0.822 GB, free: 14.03 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.765e-05/0.5385, allocations: 24.77 kB / 0.822 GB, free: 14.02 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.061e-06/0.5385, allocations: 0 / 0.822 GB, free: 14.02 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.69e-05/0.5386, allocations: 127 kB / 0.8222 GB, free: 13.9 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.197e-05/0.5386, allocations: 2.344 kB / 0.8222 GB, free: 13.9 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.398e-05/0.5386, allocations: 11.23 kB / 0.8222 GB, free: 13.89 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.384e-06/0.5386, allocations: 0 / 0.8222 GB, free: 13.89 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.661e-06/0.5386, allocations: 1.312 kB / 0.8222 GB, free: 13.89 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.683e-06/0.5387, allocations: 8.641 kB / 0.8222 GB, free: 13.88 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000163/0.5388, allocations: 148.9 kB / 0.8223 GB, free: 13.72 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.756e-06/0.5388, allocations: 0.9688 kB / 0.8223 GB, free: 13.72 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.775e-05/0.5389, allocations: 18.05 kB / 0.8223 GB, free: 13.72 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.5389, allocations: 1.078 kB / 0.8223 GB, free: 13.72 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.065e-06/0.5389, allocations: 5.344 kB / 0.8223 GB, free: 13.71 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/0.5389, allocations: 1.25 kB / 0.8223 GB, free: 13.71 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.5389, allocations: 0 / 0.8223 GB, free: 13.71 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003147/0.5392, allocations: 313.4 kB / 0.8226 GB, free: 13.49 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 9.358e-06/0.5392, allocations: 4.109 kB / 0.8227 GB, free: 13.49 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.203e-05/0.5392, allocations: 1.219 kB / 0.8227 GB, free: 13.49 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.195e-05/0.5393, allocations: 20.2 kB / 0.8227 GB, free: 13.48 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.458e-05/0.5393, allocations: 13.44 kB / 0.8227 GB, free: 13.48 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.699e-06/0.5393, allocations: 5.484 kB / 0.8227 GB, free: 13.47 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.538e-05/0.5394, allocations: 97.91 kB / 0.8228 GB, free: 13.39 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.5394, allocations: 0 / 0.8228 GB, free: 13.39 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001682/0.5396, allocations: 17.7 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.0004801/0.54, allocations: 0.8313 MB / 0.8236 GB, free: 12.64 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002648/0.5403, allocations: 110 kB / 0.8237 GB, free: 12.62 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.5403, allocations: 3.906 kB / 0.8237 GB, free: 12.62 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001099/0.5404, allocations: 67.55 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.000258/0.5407, allocations: 21.66 kB / 0.8238 GB, free: 12.6 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001609/0.5423, allocations: 1.584 MB / 0.8254 GB, free: 11.27 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.408e-05/0.5424, allocations: 83.45 kB / 0.8254 GB, free: 11.2 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 5.349e-05/0.5424, allocations: 13.42 kB / 0.8254 GB, free: 11.2 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.457e-05/0.5425, allocations: 17.98 kB / 0.8255 GB, free: 11.18 MB / 0.6198 GB Notification: Performance of SimCode: time 9.92e-07/0.5425, allocations: 0 / 0.8255 GB, free: 11.18 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02047/0.563, allocations: 2.43 MB / 0.8278 GB, free: 10.3 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.787/7.35, allocations: 8 kB / 0.8278 GB, free: 10.3 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 & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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.311298897955567] Failed to read output from testmodel.py, exit status != 0: 7.4292760281823575 7.44350531 6.906472263 Calling exit ...