Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.001347/0.001347, allocations: 80.28 kB / 19.18 MB, free: 2.531 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.001609/0.001609, allocations: 164.6 kB / 22.46 MB, free: 5.359 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.511/1.511, allocations: 177.1 MB / 202.8 MB, free: 9.172 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002425/0.002425, allocations: 244.6 kB / 259.4 MB, free: 480 kB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.096/1.096, allocations: 138.4 MB / 454.3 MB, free: 1.996 MB / 366.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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: translateModel(BuildingSystems.Fluid.Sources.Examples.MassFlowSource_WeatherData,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sources.Examples.MassFlowSource_WeatherData") translateModel(BuildingSystems.Fluid.Sources.Examples.MassFlowSource_WeatherData,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sources.Examples.MassFlowSource_WeatherData") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.893e-06/1.893e-06, allocations: 0 / 0.6468 GB, free: 5.039 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.098e-05/3.287e-05, allocations: 9.031 kB / 0.6468 GB, free: 5.031 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sources.Examples.MassFlowSource_WeatherData): time 0.4997/0.4997, allocations: 155.9 MB / 0.799 GB, free: 4.469 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.02775/0.5274, allocations: 12.02 MB / 0.8108 GB, free: 8.41 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002469/0.5299, allocations: 43.62 kB / 0.8108 GB, free: 8.367 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.002621/0.5325, allocations: 476.2 kB / 0.8113 GB, free: 7.898 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.00504/0.5376, allocations: 1.098 MB / 0.8123 GB, free: 6.797 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.00892/0.5465, allocations: 1.942 MB / 0.8142 GB, free: 4.863 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.005454/0.552, allocations: 2.602 MB / 0.8168 GB, free: 2.254 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003301/0.5553, allocations: 1.264 MB / 0.818 GB, free: 0.9336 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007529/0.5628, allocations: 1.91 MB / 0.8199 GB, free: 15.07 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001846/0.5646, allocations: 0.7361 MB / 0.8206 GB, free: 14.33 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0006176/0.5652, allocations: 172 kB / 0.8208 GB, free: 14.16 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003588/0.5688, allocations: 1.302 MB / 0.822 GB, free: 12.86 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0008713/0.5697, allocations: 0.5062 MB / 0.8225 GB, free: 12.35 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.001619/0.5713, allocations: 0.604 MB / 0.8231 GB, free: 11.74 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.006978/0.5783, allocations: 2.983 MB / 0.826 GB, free: 8.75 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.5783, allocations: 0 / 0.826 GB, free: 8.75 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.974e-06/0.5783, allocations: 0 / 0.826 GB, free: 8.75 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.0001124/0.5784, allocations: 0 / 0.826 GB, free: 8.75 MB / 0.6544 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.005861/0.5843, allocations: 2.016 MB / 0.828 GB, free: 6.688 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.689e-05/0.5843, allocations: 12.75 kB / 0.828 GB, free: 6.676 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003807/0.5881, allocations: 458.5 kB / 0.8284 GB, free: 6.227 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002466/0.5906, allocations: 0.9672 MB / 0.8294 GB, free: 5.23 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001268/0.5907, allocations: 106.7 kB / 0.8295 GB, free: 5.125 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002881/0.591, allocations: 128 kB / 0.8296 GB, free: 5 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003873/0.5949, allocations: 2.029 MB / 0.8316 GB, free: 2.773 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.366e-05/0.5949, allocations: 0 / 0.8316 GB, free: 2.773 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001976/0.5951, allocations: 64 kB / 0.8317 GB, free: 2.711 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.384e-05/0.5952, allocations: 32 kB / 0.8317 GB, free: 2.68 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00331/0.5985, allocations: 1.532 MB / 0.8332 GB, free: 1.141 MB / 0.6544 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.00851/0.607, allocations: 3.774 MB / 0.8369 GB, free: 13.3 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002967/0.6099, allocations: 1.154 MB / 0.838 GB, free: 12.15 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009654/0.6109, allocations: 443.1 kB / 0.8384 GB, free: 11.71 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006423/0.6115, allocations: 119.3 kB / 0.8385 GB, free: 11.6 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001668/0.6132, allocations: 1.039 MB / 0.8395 GB, free: 10.46 MB / 0.67 GB Notification: Performance of pre-optimization done (n=107): time 4.167e-06/0.6132, allocations: 4 kB / 0.8395 GB, free: 10.45 MB / 0.67 GB Notification: Performance of matching and sorting (n=107): time 0.005069/0.6183, allocations: 1.578 MB / 0.8411 GB, free: 8.867 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001458/0.6184, allocations: 196.9 kB / 0.8413 GB, free: 8.633 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001408/0.6198, allocations: 0.7668 MB / 0.842 GB, free: 7.859 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0001378/0.62, allocations: 49.7 kB / 0.8421 GB, free: 7.805 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.00068/0.6207, allocations: 0.6258 MB / 0.8427 GB, free: 7.172 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004027/0.6211, allocations: 360.9 kB / 0.843 GB, free: 6.816 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004165/0.6215, allocations: 210.9 kB / 0.8432 GB, free: 6.602 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0002432/0.6217, allocations: 349.9 kB / 0.8436 GB, free: 6.254 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009913/0.6227, allocations: 398.4 kB / 0.8439 GB, free: 5.867 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001278/0.624, allocations: 0.7464 MB / 0.8447 GB, free: 5.02 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002087/0.6261, allocations: 0.9488 MB / 0.8456 GB, free: 4.031 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.272e-06/0.6261, allocations: 0 / 0.8456 GB, free: 4.031 MB / 0.67 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.003389/0.6295, allocations: 1.228 MB / 0.8468 GB, free: 2.793 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 3.29e-05/0.6295, allocations: 8 kB / 0.8468 GB, free: 2.785 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.519e-05/0.6295, allocations: 4 kB / 0.8468 GB, free: 2.781 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006993/0.6302, allocations: 93.11 kB / 0.8469 GB, free: 2.688 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00121/0.6314, allocations: 255.6 kB / 0.8471 GB, free: 2.438 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002675/0.6341, allocations: 1.53 MB / 0.8486 GB, free: 0.8047 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001179/0.6353, allocations: 115.3 kB / 0.8487 GB, free: 0.6914 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001485/0.6354, allocations: 55.95 kB / 0.8488 GB, free: 0.6367 MB / 0.67 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 17 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,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 (131): * Single equations (assignments): 130 * 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.0008163/0.6363, allocations: 343.7 kB / 0.8491 GB, free: 300 kB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004094/0.6367, allocations: 123 kB / 0.8492 GB, free: 180 kB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003769/0.6404, allocations: 1.409 MB / 0.8506 GB, free: 14.75 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.379e-05/0.6404, allocations: 12 kB / 0.8506 GB, free: 14.74 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.6405, allocations: 0 / 0.8506 GB, free: 14.74 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.576e-05/0.6405, allocations: 7.969 kB / 0.8506 GB, free: 14.73 MB / 0.6856 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.005988/0.6465, allocations: 2.415 MB / 0.853 GB, free: 12.28 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.644e-06/0.6465, allocations: 3.984 kB / 0.853 GB, free: 12.28 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001056/0.6475, allocations: 223.7 kB / 0.8532 GB, free: 12.06 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005089/0.648, allocations: 68.78 kB / 0.8533 GB, free: 11.99 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001056/0.6481, allocations: 35.98 kB / 0.8533 GB, free: 11.95 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002296/0.6504, allocations: 1.54 MB / 0.8548 GB, free: 10.31 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.158e-06/0.6504, allocations: 7.875 kB / 0.8548 GB, free: 10.3 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003225/0.6537, allocations: 1.311 MB / 0.8561 GB, free: 8.969 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007021/0.6544, allocations: 274.7 kB / 0.8564 GB, free: 8.699 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002269/0.6546, allocations: 20.06 kB / 0.8564 GB, free: 8.68 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001128/0.6557, allocations: 90.67 kB / 0.8565 GB, free: 8.594 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002255/0.6559, allocations: 88.83 kB / 0.8566 GB, free: 8.508 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001495/0.6561, allocations: 51.95 kB / 0.8566 GB, free: 8.457 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0009806/0.6571, allocations: 0.5263 MB / 0.8571 GB, free: 7.938 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6571, allocations: 3.938 kB / 0.8571 GB, free: 7.934 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001696/0.6588, allocations: 0.5103 MB / 0.8576 GB, free: 7.422 MB / 0.6856 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.002685/0.6614, allocations: 0.7558 MB / 0.8584 GB, free: 6.887 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.002917/0.6644, allocations: 1.105 MB / 0.8594 GB, free: 5.77 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 8.426e-06/0.6644, allocations: 4 kB / 0.8594 GB, free: 5.766 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.001497/0.6659, allocations: 0.6329 MB / 0.8601 GB, free: 5.125 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002541/0.6684, allocations: 459.6 kB / 0.8605 GB, free: 4.707 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005718/0.6741, allocations: 2.362 MB / 0.8628 GB, free: 2.312 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001027/0.6752, allocations: 0.6282 MB / 0.8634 GB, free: 1.652 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.001499/0.6767, allocations: 372.7 kB / 0.8638 GB, free: 1.285 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005105/0.6772, allocations: 140.4 kB / 0.8639 GB, free: 1.148 MB / 0.6856 GB Notification: Performance of SimCode: time 1.212e-06/0.6772, allocations: 0 / 0.8639 GB, free: 1.148 MB / 0.6856 GB Notification: Performance of Templates: time 0.04227/0.7194, allocations: 22.69 MB / 0.8861 GB, free: 10.88 MB / 0.7169 GB " [Timeout remaining time 659] make -j1 -f BuildingSystems_BuildingSystems.Fluid.Sources.Examples.MassFlowSource_WeatherData.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sources.Examples.MassFlowSource_WeatherData.sim & ./BuildingSystems_BuildingSystems.Fluid.Sources.Examples.MassFlowSource_WeatherData -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.433850277215242] Failed to read output from testmodel.py, exit status != 0: 0.7285274527966976 0.7425174680000001 0.161024745 Calling exit ...