Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.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.001501/0.001501, 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.0009073/0.0009073, allocations: 218.3 kB / 22.25 MB, free: 3.699 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 1.008/1.008, allocations: 230.6 MB / 256 MB, free: 9.809 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.8351/0.8351, allocations: 203.8 MB / 0.5042 GB, free: 10.77 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.RealScalarReplicator,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Routing_Validation_RealScalarReplicator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Routing_Validation_RealScalarReplicator",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.001296/0.001296, allocations: 70.17 kB / 0.7182 GB, free: 4.387 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.55/0.5513, allocations: 102 MB / 0.8178 GB, free: 1.273 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator): time 0.001565/0.5528, allocations: 0.6548 MB / 0.8185 GB, free: 0.8633 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.000757/0.5536, allocations: 0.8244 MB / 0.8193 GB, free: 244 kB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.005e-05/0.5536, allocations: 0 / 0.8193 GB, free: 244 kB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001117/0.5537, allocations: 3.016 kB / 0.8193 GB, free: 244 kB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 2.179e-05/0.5538, allocations: 4.547 kB / 0.8193 GB, free: 240 kB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001323/0.5539, allocations: 11.92 kB / 0.8193 GB, free: 232 kB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 9.637e-05/0.554, allocations: 29.08 kB / 0.8193 GB, free: 216 kB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001078/0.5541, allocations: 4.422 kB / 0.8193 GB, free: 216 kB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 5.501e-05/0.5542, allocations: 9.578 kB / 0.8194 GB, free: 212 kB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.713e-05/0.5542, allocations: 15.48 kB / 0.8194 GB, free: 204 kB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.677e-05/0.5542, allocations: 0 / 0.8194 GB, free: 204 kB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 7.925e-06/0.5542, allocations: 5.062 kB / 0.8194 GB, free: 204 kB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 6.193e-05/0.5543, allocations: 5.953 kB / 0.8194 GB, free: 200 kB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.259e-05/0.5543, allocations: 12.83 kB / 0.8194 GB, free: 192 kB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001041/0.5544, allocations: 35.45 kB / 0.8194 GB, free: 172 kB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 6.803e-06/0.5544, allocations: 1.188 kB / 0.8194 GB, free: 172 kB / 0.6042 GB Notification: Performance of FrontEnd: time 2.515e-06/0.5544, allocations: 0 / 0.8194 GB, free: 172 kB / 0.6042 GB Notification: Performance of Transformations before backend: time 7.975e-06/0.5545, allocations: 4 kB / 0.8194 GB, free: 168 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003742/0.5548, allocations: 265.5 kB / 0.8197 GB, free: 15.9 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.3e-05/0.5549, allocations: 11.23 kB / 0.8197 GB, free: 15.9 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.463e-05/0.5549, allocations: 39.34 kB / 0.8197 GB, free: 15.85 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.213e-05/0.5549, allocations: 6.172 kB / 0.8197 GB, free: 15.85 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001209/0.555, allocations: 109.8 kB / 0.8198 GB, free: 15.72 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.458e-06/0.5551, allocations: 2.719 kB / 0.8198 GB, free: 15.72 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.748e-06/0.5551, allocations: 384 / 0.8198 GB, free: 15.72 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001372/0.5552, allocations: 60.58 kB / 0.8199 GB, free: 15.68 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.776e-06/0.5552, allocations: 3.938 kB / 0.8199 GB, free: 15.68 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.323e-06/0.5552, allocations: 1.75 kB / 0.8199 GB, free: 15.68 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-06/0.5552, allocations: 0.75 kB / 0.8199 GB, free: 15.68 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.273e-05/0.5553, allocations: 38.88 kB / 0.8199 GB, free: 15.67 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003167/0.5556, allocations: 257.8 kB / 0.8202 GB, free: 15.41 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 6.946e-05/0.5557, allocations: 32.03 kB / 0.8202 GB, free: 15.38 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.644e-05/0.5557, allocations: 19.97 kB / 0.8202 GB, free: 15.38 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 9.518e-06/0.5558, allocations: 0 / 0.8202 GB, free: 15.38 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.952e-05/0.5558, allocations: 31.12 kB / 0.8203 GB, free: 15.34 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=1): time 7.21e-07/0.5558, allocations: 0 / 0.8203 GB, free: 15.34 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1): time 0.0002155/0.556, allocations: 85.36 kB / 0.8203 GB, free: 15.29 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.163e-05/0.556, allocations: 51.41 kB / 0.8204 GB, free: 15.23 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.98e-05/0.5561, allocations: 104.3 kB / 0.8205 GB, free: 15.12 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.056e-05/0.5561, allocations: 25.7 kB / 0.8205 GB, free: 15.09 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.39e-05/0.5561, allocations: 90.81 kB / 0.8206 GB, free: 15.01 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.414e-05/0.5562, allocations: 0 / 0.8206 GB, free: 15.01 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.452e-05/0.5562, allocations: 19.95 kB / 0.8206 GB, free: 14.98 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.269e-05/0.5563, allocations: 315.4 kB / 0.8209 GB, free: 14.67 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.757e-05/0.5563, allocations: 16.39 kB / 0.8209 GB, free: 14.67 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.719e-05/0.5564, allocations: 20.28 kB / 0.821 GB, free: 14.66 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.82e-05/0.5564, allocations: 44.25 kB / 0.821 GB, free: 14.64 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.5565, allocations: 0 / 0.821 GB, free: 14.64 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001168/0.5566, allocations: 55.75 kB / 0.8211 GB, free: 14.61 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.72e-05/0.5566, allocations: 8.281 kB / 0.8211 GB, free: 14.61 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.5566, allocations: 0 / 0.8211 GB, free: 14.61 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.603e-05/0.5566, allocations: 0.6562 kB / 0.8211 GB, free: 14.61 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.413e-05/0.5567, allocations: 14.22 kB / 0.8211 GB, free: 14.61 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.099e-06/0.5567, allocations: 0 / 0.8211 GB, free: 14.61 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.572e-05/0.5567, allocations: 14.16 kB / 0.8211 GB, free: 14.6 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.301e-06/0.5567, allocations: 0 / 0.8211 GB, free: 14.6 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * 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.214e-05/0.5568, allocations: 115.8 kB / 0.8212 GB, free: 14.48 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.359e-05/0.5568, allocations: 6.078 kB / 0.8212 GB, free: 14.47 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.173e-05/0.5568, allocations: 9.016 kB / 0.8212 GB, free: 14.46 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.854e-06/0.5568, allocations: 0 / 0.8212 GB, free: 14.46 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.539e-06/0.5568, allocations: 0 / 0.8212 GB, free: 14.46 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.5568, allocations: 2.281 kB / 0.8212 GB, free: 14.46 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001219/0.5569, allocations: 136.6 kB / 0.8214 GB, free: 14.3 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.163e-06/0.5569, allocations: 4 kB / 0.8214 GB, free: 14.3 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.161e-05/0.557, allocations: 12.86 kB / 0.8214 GB, free: 14.29 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.903e-06/0.557, allocations: 0 / 0.8214 GB, free: 14.29 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.887e-06/0.557, allocations: 0 / 0.8214 GB, free: 14.29 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.557, allocations: 0.5625 kB / 0.8214 GB, free: 14.29 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.557, allocations: 0 / 0.8214 GB, free: 14.29 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000152/0.5571, allocations: 161.6 kB / 0.8215 GB, free: 14.15 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 8.235e-06/0.5572, allocations: 0.5625 kB / 0.8215 GB, free: 14.15 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.453e-05/0.5572, allocations: 1.578 kB / 0.8215 GB, free: 14.15 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.968e-05/0.5572, allocations: 8.125 kB / 0.8215 GB, free: 14.15 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.013e-05/0.5572, allocations: 1.219 kB / 0.8215 GB, free: 14.15 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.356e-06/0.5573, allocations: 4 kB / 0.8215 GB, free: 14.15 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.698e-05/0.5573, allocations: 82.28 kB / 0.8216 GB, free: 14.07 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6e-08/0.5573, allocations: 0 / 0.8216 GB, free: 14.07 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001519/0.5574, allocations: 3.281 kB / 0.8216 GB, free: 14.07 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 1 * 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.0003332/0.5578, allocations: 0.6966 MB / 0.8223 GB, free: 13.39 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001322/0.5579, allocations: 36.77 kB / 0.8223 GB, free: 13.39 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.422e-06/0.5579, allocations: 0 / 0.8223 GB, free: 13.39 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 3.898e-05/0.5579, allocations: 18.59 kB / 0.8224 GB, free: 13.38 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002157/0.5582, allocations: 4.812 kB / 0.8224 GB, free: 13.38 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009078/0.5591, allocations: 1.238 MB / 0.8236 GB, free: 12.19 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001973/0.5593, allocations: 0.6793 MB / 0.8242 GB, free: 11.5 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.559e-05/0.5593, allocations: 3.047 kB / 0.8242 GB, free: 11.5 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.366e-05/0.5593, allocations: 12.09 kB / 0.8242 GB, free: 11.48 MB / 0.6198 GB Notification: Performance of SimCode: time 6.71e-07/0.5593, allocations: 1.188 kB / 0.8242 GB, free: 11.48 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01473/0.5741, allocations: 1.396 MB / 0.8256 GB, free: 11.06 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.402/6.976, allocations: 9.188 kB / 0.8256 GB, free: 11.06 MB / 0.6198 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Controls_OBC_CDL_Routing_Validation_RealScalarReplicator_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Controls_OBC_CDL_Routing_Validation_RealScalarReplicator.fmu > IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.082158917095512] Failed to read output from testmodel.py, exit status != 0: 7.053520675981417 7.063609727 6.507171579 Calling exit ...