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.000748/0.000748, allocations: 101.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.0008418/0.0008418, allocations: 212 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.9853/0.9853, allocations: 230.6 MB / 256 MB, free: 9.594 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.8216/0.8216, allocations: 203.8 MB / 0.5042 GB, free: 10.41 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.0009608/0.0009608, allocations: 67.33 kB / 0.7182 GB, free: 4.047 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5392/0.5401, allocations: 102 MB / 0.8178 GB, free: 1.023 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator): time 0.001506/0.5416, allocations: 0.6262 MB / 0.8184 GB, free: 0.6406 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0007008/0.5423, allocations: 0.82 MB / 0.8192 GB, free: 24 kB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.311e-05/0.5424, allocations: 4 kB / 0.8192 GB, free: 20 kB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 9.571e-05/0.5425, allocations: 0.5156 kB / 0.8192 GB, free: 20 kB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 1.946e-05/0.5425, allocations: 3.938 kB / 0.8192 GB, free: 16 kB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001192/0.5426, allocations: 10.56 kB / 0.8192 GB, free: 12 kB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 9.38e-05/0.5427, allocations: 31.03 kB / 0.8192 GB, free: 15.99 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001028/0.5428, allocations: 13.8 kB / 0.8193 GB, free: 15.98 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 4.557e-05/0.5428, allocations: 5.453 kB / 0.8193 GB, free: 15.98 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 5.455e-05/0.5429, allocations: 11.31 kB / 0.8193 GB, free: 15.98 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.295e-05/0.5429, allocations: 3.469 kB / 0.8193 GB, free: 15.98 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 7.514e-06/0.5429, allocations: 3.938 kB / 0.8193 GB, free: 15.98 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 5.271e-05/0.543, allocations: 9.922 kB / 0.8193 GB, free: 15.97 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.216e-05/0.543, allocations: 7.703 kB / 0.8193 GB, free: 15.96 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 9.001e-05/0.5431, allocations: 33.31 kB / 0.8193 GB, free: 15.95 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.137e-06/0.5431, allocations: 2.219 kB / 0.8193 GB, free: 15.95 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.144e-06/0.5431, allocations: 0 / 0.8193 GB, free: 15.95 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.813e-06/0.5431, allocations: 0 / 0.8193 GB, free: 15.95 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003788/0.5435, allocations: 264.9 kB / 0.8196 GB, free: 15.68 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.966e-05/0.5435, allocations: 13.31 kB / 0.8196 GB, free: 15.68 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.162e-05/0.5436, allocations: 33.12 kB / 0.8196 GB, free: 15.64 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.357e-05/0.5436, allocations: 7.516 kB / 0.8196 GB, free: 15.64 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001384/0.5437, allocations: 124.3 kB / 0.8198 GB, free: 15.5 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.448e-06/0.5437, allocations: 1.719 kB / 0.8198 GB, free: 15.5 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.004e-05/0.5437, allocations: 3.094 kB / 0.8198 GB, free: 15.5 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000162/0.5439, allocations: 58.05 kB / 0.8198 GB, free: 15.46 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.887e-06/0.5439, allocations: 3.938 kB / 0.8198 GB, free: 15.45 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.013e-05/0.5439, allocations: 3.984 kB / 0.8198 GB, free: 15.45 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.03e-06/0.5439, allocations: 0 / 0.8198 GB, free: 15.45 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.378e-05/0.544, allocations: 37.97 kB / 0.8199 GB, free: 15.44 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003478/0.5444, allocations: 250.2 kB / 0.8201 GB, free: 15.19 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 7.682e-05/0.5444, allocations: 29.14 kB / 0.8201 GB, free: 15.16 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.677e-05/0.5445, allocations: 23.47 kB / 0.8202 GB, free: 15.15 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.132e-05/0.5445, allocations: 0 / 0.8202 GB, free: 15.15 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.019e-05/0.5445, allocations: 36.59 kB / 0.8202 GB, free: 15.11 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=1): time 1.333e-06/0.5445, allocations: 0 / 0.8202 GB, free: 15.11 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1): time 0.0002184/0.5448, allocations: 77.28 kB / 0.8203 GB, free: 15.07 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.739e-05/0.5448, allocations: 51.41 kB / 0.8203 GB, free: 15.01 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.643e-05/0.5448, allocations: 103 kB / 0.8204 GB, free: 14.91 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 9.719e-06/0.5449, allocations: 27.02 kB / 0.8204 GB, free: 14.88 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.866e-05/0.5449, allocations: 93.19 kB / 0.8205 GB, free: 14.79 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.48e-05/0.5449, allocations: 1.438 kB / 0.8205 GB, free: 14.79 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.305e-05/0.5449, allocations: 11.28 kB / 0.8205 GB, free: 14.77 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.683e-05/0.545, allocations: 321.1 kB / 0.8208 GB, free: 14.45 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.945e-05/0.5451, allocations: 15.48 kB / 0.8209 GB, free: 14.45 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.322e-05/0.5451, allocations: 18.7 kB / 0.8209 GB, free: 14.45 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.865e-05/0.5452, allocations: 38.72 kB / 0.8209 GB, free: 14.43 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.694e-06/0.5452, allocations: 0 / 0.8209 GB, free: 14.43 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001055/0.5453, allocations: 59.5 kB / 0.821 GB, free: 14.39 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.413e-05/0.5453, allocations: 9 kB / 0.821 GB, free: 14.39 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.5453, allocations: 6.281 kB / 0.821 GB, free: 14.39 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.25e-05/0.5453, allocations: 0 / 0.821 GB, free: 14.39 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.129e-05/0.5454, allocations: 6.562 kB / 0.821 GB, free: 14.39 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.611e-06/0.5454, allocations: 3.734 kB / 0.821 GB, free: 14.39 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.667e-05/0.5454, allocations: 3.703 kB / 0.821 GB, free: 14.39 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.271e-06/0.5454, allocations: 0 / 0.821 GB, free: 14.39 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 5.979e-05/0.5455, allocations: 118 kB / 0.8211 GB, free: 14.27 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.357e-05/0.5455, allocations: 11.06 kB / 0.8211 GB, free: 14.26 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.033e-05/0.5455, allocations: 7.672 kB / 0.8211 GB, free: 14.25 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.315e-06/0.5455, allocations: 4.609 kB / 0.8211 GB, free: 14.25 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.68e-06/0.5455, allocations: 0.8125 kB / 0.8211 GB, free: 14.25 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.074e-06/0.5455, allocations: 0 / 0.8211 GB, free: 14.25 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001032/0.5456, allocations: 136.2 kB / 0.8213 GB, free: 14.08 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.674e-06/0.5456, allocations: 4 kB / 0.8213 GB, free: 14.08 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.624e-05/0.5456, allocations: 6.75 kB / 0.8213 GB, free: 14.08 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.182e-06/0.5456, allocations: 4.531 kB / 0.8213 GB, free: 14.08 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.951e-06/0.5457, allocations: 0 / 0.8213 GB, free: 14.08 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.5457, allocations: 0 / 0.8213 GB, free: 14.08 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.5457, allocations: 0.5625 kB / 0.8213 GB, free: 14.08 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001393/0.5458, allocations: 163.1 kB / 0.8214 GB, free: 13.93 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 7.234e-06/0.5458, allocations: 2.797 kB / 0.8214 GB, free: 13.93 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.896e-06/0.5458, allocations: 0.7969 kB / 0.8214 GB, free: 13.93 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.42e-05/0.5458, allocations: 5.688 kB / 0.8214 GB, free: 13.93 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.416e-05/0.5459, allocations: 2.578 kB / 0.8214 GB, free: 13.93 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.525e-06/0.5459, allocations: 0 / 0.8214 GB, free: 13.93 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.294e-05/0.5459, allocations: 88.02 kB / 0.8215 GB, free: 13.86 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.5459, allocations: 0 / 0.8215 GB, free: 13.86 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001384/0.5461, allocations: 6.375 kB / 0.8215 GB, free: 13.85 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.0003244/0.5464, allocations: 0.6903 MB / 0.8222 GB, free: 13.18 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001293/0.5465, allocations: 33.17 kB / 0.8222 GB, free: 13.18 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.5465, allocations: 0 / 0.8222 GB, free: 13.18 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 4.328e-05/0.5466, allocations: 23.48 kB / 0.8223 GB, free: 13.17 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002338/0.5468, allocations: 8.688 kB / 0.8223 GB, free: 13.16 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001059/0.5478, allocations: 1.233 MB / 0.8235 GB, free: 11.98 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.686e-05/0.5479, allocations: 60.94 kB / 0.8235 GB, free: 11.91 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.723e-05/0.5479, allocations: 8.812 kB / 0.8235 GB, free: 11.91 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.577e-05/0.548, allocations: 8.094 kB / 0.8235 GB, free: 11.9 MB / 0.6198 GB Notification: Performance of SimCode: time 5.91e-07/0.548, allocations: 0 / 0.8235 GB, free: 11.9 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01798/0.5659, allocations: 1.825 MB / 0.8253 GB, free: 11.05 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.571/7.137, allocations: 12.11 kB / 0.8253 GB, free: 11.05 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.135616030078381] Failed to read output from testmodel.py, exit status != 0: 7.21495629940182 7.225788579 6.680643521 Calling exit ...