Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.0008784/0.0008784, 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.0009846/0.0009846, allocations: 207.6 kB / 22.25 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.9594/0.9594, allocations: 230.6 MB / 256 MB, free: 9.641 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:686:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.7775/0.7775, allocations: 203.5 MB / 0.5039 GB, free: 10.71 MB / 410.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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_IDEAS_Controls_OBC_CDL_Routing_Validation_RealScalarReplicator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator,fileNamePrefix="IDEAS_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.0009125/0.0009125, allocations: 74.52 kB / 0.7178 GB, free: 4.449 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5488/0.5497, allocations: 102 MB / 0.8174 GB, free: 1.25 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator): time 0.001908/0.5516, allocations: 0.6286 MB / 0.818 GB, free: 0.8672 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0009607/0.5526, allocations: 0.8204 MB / 0.8188 GB, free: 256 kB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.669e-05/0.5526, allocations: 3.938 kB / 0.8188 GB, free: 252 kB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001088/0.5527, allocations: 8.594 kB / 0.8188 GB, free: 244 kB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 2.277e-05/0.5528, allocations: 9.094 kB / 0.8188 GB, free: 236 kB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001202/0.5529, allocations: 11.17 kB / 0.8188 GB, free: 228 kB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 7.787e-05/0.553, allocations: 23.41 kB / 0.8188 GB, free: 220 kB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001139/0.5531, allocations: 5.781 kB / 0.8188 GB, free: 216 kB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 5.313e-05/0.5531, allocations: 7.562 kB / 0.8189 GB, free: 216 kB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 6.218e-05/0.5532, allocations: 13.27 kB / 0.8189 GB, free: 208 kB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.484e-05/0.5532, allocations: 1.719 kB / 0.8189 GB, free: 208 kB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 8.025e-06/0.5532, allocations: 2.312 kB / 0.8189 GB, free: 208 kB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 6.872e-05/0.5533, allocations: 9.562 kB / 0.8189 GB, free: 204 kB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.547e-05/0.5533, allocations: 8.297 kB / 0.8189 GB, free: 200 kB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001206/0.5534, allocations: 34.3 kB / 0.8189 GB, free: 184 kB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.962e-06/0.5535, allocations: 0 / 0.8189 GB, free: 184 kB / 0.6042 GB Notification: Performance of FrontEnd: time 2.726e-06/0.5535, allocations: 4 kB / 0.8189 GB, free: 180 kB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.693e-06/0.5535, allocations: 0 / 0.8189 GB, free: 180 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.0004176/0.5539, allocations: 264.3 kB / 0.8192 GB, free: 15.91 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.201e-05/0.5539, allocations: 15.28 kB / 0.8192 GB, free: 15.91 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.62e-05/0.554, allocations: 34.75 kB / 0.8192 GB, free: 15.86 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.562e-05/0.554, allocations: 8.562 kB / 0.8192 GB, free: 15.86 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001377/0.5541, allocations: 112.4 kB / 0.8193 GB, free: 15.73 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.068e-05/0.5541, allocations: 4 kB / 0.8193 GB, free: 15.73 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.068e-05/0.5542, allocations: 8.375 kB / 0.8194 GB, free: 15.72 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001683/0.5543, allocations: 58.36 kB / 0.8194 GB, free: 15.68 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.906e-06/0.5543, allocations: 3.938 kB / 0.8194 GB, free: 15.68 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.817e-06/0.5543, allocations: 0 / 0.8194 GB, free: 15.68 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.05e-06/0.5543, allocations: 0 / 0.8194 GB, free: 15.68 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.439e-05/0.5544, allocations: 35.94 kB / 0.8194 GB, free: 15.68 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003525/0.5548, allocations: 250 kB / 0.8197 GB, free: 15.42 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 7.415e-05/0.5549, allocations: 34.86 kB / 0.8197 GB, free: 15.39 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.89e-05/0.5549, allocations: 21.23 kB / 0.8197 GB, free: 15.38 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 9.688e-06/0.5549, allocations: 0 / 0.8197 GB, free: 15.38 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.96e-05/0.5549, allocations: 31.12 kB / 0.8198 GB, free: 15.34 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=1): time 1.122e-06/0.5549, allocations: 0 / 0.8198 GB, free: 15.34 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1): time 0.0002235/0.5552, allocations: 82.56 kB / 0.8198 GB, free: 15.3 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.884e-05/0.5552, allocations: 51.41 kB / 0.8199 GB, free: 15.24 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.959e-05/0.5553, allocations: 106.7 kB / 0.82 GB, free: 15.13 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 9.638e-06/0.5553, allocations: 25.7 kB / 0.82 GB, free: 15.1 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.047e-05/0.5553, allocations: 89.48 kB / 0.8201 GB, free: 15.02 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.14e-05/0.5553, allocations: 2.844 kB / 0.8201 GB, free: 15.02 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.397e-05/0.5554, allocations: 14.31 kB / 0.8201 GB, free: 15 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.901e-05/0.5554, allocations: 320.8 kB / 0.8204 GB, free: 14.68 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.459e-05/0.5555, allocations: 13.69 kB / 0.8204 GB, free: 14.68 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.055e-05/0.5555, allocations: 18.91 kB / 0.8205 GB, free: 14.67 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.247e-05/0.5556, allocations: 35.69 kB / 0.8205 GB, free: 14.66 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.476e-06/0.5556, allocations: 0.7969 kB / 0.8205 GB, free: 14.66 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001103/0.5557, allocations: 68.92 kB / 0.8206 GB, free: 14.62 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.315e-05/0.5558, allocations: 4.375 kB / 0.8206 GB, free: 14.62 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.54e-06/0.5558, allocations: 0.875 kB / 0.8206 GB, free: 14.62 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.319e-05/0.5558, allocations: 0 / 0.8206 GB, free: 14.62 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.884e-05/0.5558, allocations: 11.59 kB / 0.8206 GB, free: 14.61 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.743e-06/0.5558, allocations: 5.938 kB / 0.8206 GB, free: 14.61 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.514e-05/0.5559, allocations: 6.156 kB / 0.8206 GB, free: 14.61 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.241e-06/0.5559, allocations: 0 / 0.8206 GB, free: 14.61 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 7.304e-05/0.556, allocations: 118 kB / 0.8207 GB, free: 14.49 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.193e-05/0.556, allocations: 3.953 kB / 0.8207 GB, free: 14.48 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.224e-05/0.556, allocations: 10.98 kB / 0.8207 GB, free: 14.48 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.726e-06/0.556, allocations: 0 / 0.8207 GB, free: 14.48 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.556, allocations: 0 / 0.8207 GB, free: 14.48 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.556, allocations: 0.7031 kB / 0.8207 GB, free: 14.48 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001179/0.5561, allocations: 134.5 kB / 0.8208 GB, free: 14.31 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.5561, allocations: 1.125 kB / 0.8208 GB, free: 14.31 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.957e-05/0.5561, allocations: 10.08 kB / 0.8209 GB, free: 14.31 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.5561, allocations: 0 / 0.8209 GB, free: 14.31 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.095e-06/0.5562, allocations: 4 kB / 0.8209 GB, free: 14.31 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.904e-06/0.5562, allocations: 0.6562 kB / 0.8209 GB, free: 14.31 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.5562, allocations: 0 / 0.8209 GB, free: 14.31 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001509/0.5563, allocations: 164.4 kB / 0.821 GB, free: 14.16 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 7.173e-06/0.5563, allocations: 6.062 kB / 0.821 GB, free: 14.16 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.137e-05/0.5563, allocations: 0.75 kB / 0.821 GB, free: 14.16 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.538e-05/0.5564, allocations: 6.469 kB / 0.821 GB, free: 14.16 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.538e-05/0.5564, allocations: 1.219 kB / 0.821 GB, free: 14.16 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.505e-06/0.5564, allocations: 3.594 kB / 0.821 GB, free: 14.16 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.078e-05/0.5564, allocations: 85.12 kB / 0.8211 GB, free: 14.08 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6e-08/0.5564, allocations: 0 / 0.8211 GB, free: 14.08 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001358/0.5566, allocations: 3 kB / 0.8211 GB, free: 14.08 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.0003305/0.5569, allocations: 0.696 MB / 0.8218 GB, free: 13.41 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001324/0.557, allocations: 30.12 kB / 0.8218 GB, free: 13.4 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.557, allocations: 1.344 kB / 0.8218 GB, free: 13.4 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 4.028e-05/0.5571, allocations: 19.3 kB / 0.8218 GB, free: 13.4 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002631/0.5573, allocations: 9.422 kB / 0.8219 GB, free: 13.39 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001101/0.5584, allocations: 1.23 MB / 0.8231 GB, free: 12.21 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.276e-05/0.5585, allocations: 62.47 kB / 0.8231 GB, free: 12.14 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 4.181e-05/0.5585, allocations: 6.938 kB / 0.8231 GB, free: 12.14 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.129e-05/0.5586, allocations: 14.3 kB / 0.8231 GB, free: 12.13 MB / 0.6198 GB Notification: Performance of SimCode: time 8.32e-07/0.5586, allocations: 7.969 kB / 0.8231 GB, free: 12.12 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01841/0.577, allocations: 1.829 MB / 0.8249 GB, free: 11.27 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.76/7.337, allocations: 5.266 kB / 0.8249 GB, free: 11.27 MB / 0.6198 GB " [Timeout remaining time 653] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Controls_OBC_CDL_Routing_Validation_RealScalarReplicator_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Controls_OBC_CDL_Routing_Validation_RealScalarReplicator.fmu > IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.272876673843712] Failed to read output from testmodel.py, exit status != 0: 7.412012914195657 7.4235304079999995 6.867908725 Calling exit ...