Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Sources.Examples.MassFlowSource_WeatherData.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.001741/0.001741, allocations: 119.2 kB / 19.7 MB, free: 2.188 MB / 14.72 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.002159/0.002159, allocations: 219.6 kB / 23.01 MB, free: 5.004 MB / 14.72 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.396/1.396, allocations: 230.6 MB / 256.8 MB, free: 7.992 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.9217/0.9217, allocations: 150 MB / 463.2 MB, free: 10.5 MB / 366.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 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(IBPSA.Fluid.Sources.Examples.MassFlowSource_WeatherData,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sources_Examples_MassFlowSource_WeatherData",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Sources.Examples.MassFlowSource_WeatherData,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sources_Examples_MassFlowSource_WeatherData",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IBPSA 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.002081/0.002081, allocations: 62.78 kB / 0.6413 GB, free: 10.42 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1689/0.1709, allocations: 89.18 MB / 0.7283 GB, free: 1.312 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sources.Examples.MassFlowSource_WeatherData): time 0.5828/0.7537, allocations: 180.6 MB / 0.9047 GB, free: 2.648 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.01904/0.7728, allocations: 13.15 MB / 0.9175 GB, free: 5.469 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001406/0.7742, allocations: 43.62 kB / 0.9176 GB, free: 5.426 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.001688/0.7759, allocations: 0.4886 MB / 0.9181 GB, free: 4.934 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.003429/0.7793, allocations: 1.063 MB / 0.9191 GB, free: 3.867 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.005045/0.7843, allocations: 1.949 MB / 0.921 GB, free: 1.926 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.003673/0.788, allocations: 2.567 MB / 0.9235 GB, free: 15.35 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002437/0.7904, allocations: 1.299 MB / 0.9248 GB, free: 13.99 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004669/0.7951, allocations: 1.64 MB / 0.9264 GB, free: 12.39 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001623/0.7967, allocations: 0.9065 MB / 0.9273 GB, free: 11.48 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.0004747/0.7972, allocations: 179.9 kB / 0.9274 GB, free: 11.3 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003319/0.8005, allocations: 1.529 MB / 0.9289 GB, free: 9.77 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.0007191/0.8012, allocations: 0.5023 MB / 0.9294 GB, free: 9.266 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.001622/0.8029, allocations: 0.8786 MB / 0.9303 GB, free: 8.383 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.005369/0.8082, allocations: 2.863 MB / 0.9331 GB, free: 5.512 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.8082, allocations: 0 / 0.9331 GB, free: 5.512 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.673e-06/0.8082, allocations: 0 / 0.9331 GB, free: 5.512 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 9.278e-05/0.8083, allocations: 0 / 0.9331 GB, free: 5.512 MB / 0.7012 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 346 * Number of variables: 346 Notification: Performance of Generate backend data structure: time 0.005099/0.8134, allocations: 2.043 MB / 0.9351 GB, free: 3.422 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.517e-05/0.8135, allocations: 8.031 kB / 0.9351 GB, free: 3.414 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004536/0.8139, allocations: 202.7 kB / 0.9353 GB, free: 3.207 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003384/0.8173, allocations: 462.4 kB / 0.9357 GB, free: 2.754 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002284/0.8196, allocations: 0.971 MB / 0.9367 GB, free: 1.758 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00011/0.8197, allocations: 102.7 kB / 0.9368 GB, free: 1.656 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002645/0.82, allocations: 132 kB / 0.9369 GB, free: 1.527 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003079/0.8231, allocations: 1.521 MB / 0.9384 GB, free: 15.93 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.943e-05/0.8231, allocations: 4 kB / 0.9384 GB, free: 15.92 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001455/0.8232, allocations: 56 kB / 0.9384 GB, free: 15.87 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.478e-05/0.8233, allocations: 36 kB / 0.9385 GB, free: 15.83 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002988/0.8263, allocations: 1.594 MB / 0.94 GB, free: 14.23 MB / 0.7169 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008457/0.8347, allocations: 5.327 MB / 0.9452 GB, free: 8.566 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002557/0.8373, allocations: 1.154 MB / 0.9463 GB, free: 7.41 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008591/0.8381, allocations: 439.6 kB / 0.9468 GB, free: 6.977 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000625/0.8388, allocations: 124.8 kB / 0.9469 GB, free: 6.855 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001307/0.8401, allocations: 0.6918 MB / 0.9476 GB, free: 6.141 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=107): time 2.495e-06/0.8401, allocations: 0 / 0.9476 GB, free: 6.141 MB / 0.7169 GB Notification: Performance of matching and sorting (n=107): time 0.00447/0.8445, allocations: 1.598 MB / 0.9491 GB, free: 4.539 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001407/0.8447, allocations: 192.9 kB / 0.9493 GB, free: 4.309 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001552/0.8462, allocations: 0.9245 MB / 0.9502 GB, free: 3.363 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0001208/0.8463, allocations: 49.7 kB / 0.9502 GB, free: 3.309 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006203/0.847, allocations: 0.6103 MB / 0.9508 GB, free: 2.691 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003994/0.8474, allocations: 364.9 kB / 0.9512 GB, free: 2.332 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003514/0.8477, allocations: 198.5 kB / 0.9514 GB, free: 2.129 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001722/0.8479, allocations: 345.9 kB / 0.9517 GB, free: 1.785 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008178/0.8487, allocations: 377.8 kB / 0.9521 GB, free: 1.418 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001028/0.8497, allocations: 0.5643 MB / 0.9526 GB, free: 0.7891 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001877/0.8516, allocations: 0.9332 MB / 0.9535 GB, free: 15.81 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.692e-06/0.8516, allocations: 4 kB / 0.9535 GB, free: 15.81 MB / 0.7325 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.002835/0.8545, allocations: 1.196 MB / 0.9547 GB, free: 14.61 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.572e-05/0.8545, allocations: 8 kB / 0.9547 GB, free: 14.6 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.098e-05/0.8545, allocations: 4 kB / 0.9547 GB, free: 14.59 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006426/0.8551, allocations: 89.17 kB / 0.9548 GB, free: 14.5 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001081/0.8562, allocations: 239.7 kB / 0.955 GB, free: 14.27 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002359/0.8586, allocations: 1.567 MB / 0.9566 GB, free: 12.59 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001115/0.8597, allocations: 135.2 kB / 0.9567 GB, free: 12.45 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001155/0.8598, allocations: 43.97 kB / 0.9567 GB, free: 12.41 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 15 (weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (123): * Single equations (assignments): 122 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0008007/0.8606, allocations: 337.5 kB / 0.9571 GB, free: 12.07 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003745/0.861, allocations: 127.2 kB / 0.9572 GB, free: 11.95 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003514/0.8645, allocations: 1.437 MB / 0.9586 GB, free: 10.5 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.352e-05/0.8645, allocations: 12 kB / 0.9586 GB, free: 10.49 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.8645, allocations: 0 / 0.9586 GB, free: 10.49 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.543e-05/0.8645, allocations: 7.969 kB / 0.9586 GB, free: 10.48 MB / 0.7325 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005766/0.8703, allocations: 2.864 MB / 0.9614 GB, free: 7.539 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.741e-06/0.8703, allocations: 0 / 0.9614 GB, free: 7.539 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00103/0.8713, allocations: 223.7 kB / 0.9616 GB, free: 7.32 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004591/0.8718, allocations: 68.78 kB / 0.9617 GB, free: 7.25 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001013/0.8719, allocations: 35.97 kB / 0.9617 GB, free: 7.215 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00215/0.874, allocations: 1.57 MB / 0.9632 GB, free: 5.52 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.874, allocations: 0 / 0.9632 GB, free: 5.52 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003037/0.8771, allocations: 1.335 MB / 0.9645 GB, free: 4.172 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008649/0.8779, allocations: 294.7 kB / 0.9648 GB, free: 3.883 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002832/0.8782, allocations: 27.94 kB / 0.9649 GB, free: 3.855 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001071/0.8793, allocations: 76.67 kB / 0.9649 GB, free: 3.781 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001957/0.8795, allocations: 88.83 kB / 0.965 GB, free: 3.691 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001361/0.8796, allocations: 51.95 kB / 0.9651 GB, free: 3.641 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.00113/0.8808, allocations: 0.6429 MB / 0.9657 GB, free: 2.988 MB / 0.7325 GB Notification: Performance of sort global known variables: time 7e-08/0.8808, allocations: 0 / 0.9657 GB, free: 2.988 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001593/0.8824, allocations: 498.7 kB / 0.9662 GB, free: 2.5 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (weaDat.locTim.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (118): * Single equations (assignments): 112 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.005555/0.8879, allocations: 2.492 MB / 0.9686 GB, free: 192 kB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.002477/0.8904, allocations: 1.074 MB / 0.9696 GB, free: 15.1 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 6.342e-06/0.8904, allocations: 8 kB / 0.9697 GB, free: 15.09 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.001287/0.8917, allocations: 0.6289 MB / 0.9703 GB, free: 14.45 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002368/0.894, allocations: 0.5402 MB / 0.9708 GB, free: 13.93 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0168/0.9108, allocations: 9.003 MB / 0.9796 GB, free: 4.727 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001123/0.912, allocations: 1.217 MB / 0.9808 GB, free: 3.477 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.001402/0.9134, allocations: 394 kB / 0.9812 GB, free: 3.09 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009018/0.9143, allocations: 0.5773 MB / 0.9817 GB, free: 2.512 MB / 0.7481 GB Notification: Performance of SimCode: time 7.21e-07/0.9143, allocations: 0 / 0.9817 GB, free: 2.512 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08976/1.004, allocations: 35.25 MB / 1.016 GB, free: 15.59 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.88/15.88, allocations: 6.594 kB / 1.016 GB, free: 15.59 MB / 0.795 GB " [Timeout remaining time 644] (rm -f IBPSA_latest_IBPSA.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Sources.Examples.MassFlowSource_WeatherData.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Sources_Examples_MassFlowSource_WeatherData_fmu --startTime=0 --stopTime=3.1536e+07 --stepSize=12614.4 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Sources_Examples_MassFlowSource_WeatherData.fmu > IBPSA_latest_IBPSA.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 19.77165735187009] Failed to read output from testmodel.py, exit status != 0: 16.111414030194283 16.138150167 15.32458031 Calling exit ...