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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.Fluid.Sources.Examples.MassFlowSource_WeatherData,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Sources.Examples.MassFlowSource_WeatherData") translateModel(IBPSA.Fluid.Sources.Examples.MassFlowSource_WeatherData,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Sources.Examples.MassFlowSource_WeatherData") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00156/0.00156, allocations: 119.3 kB / 17.09 MB, free: 6 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001435/0.001435, allocations: 192.7 kB / 18.02 MB, free: 5.082 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.349/1.349, allocations: 222.9 MB / 241.7 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7321/0.7321, allocations: 115.3 MB / 407.2 MB, free: 6.164 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001258/0.001258, allocations: 70.44 kB / 0.5583 GB, free: 32.29 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1614/0.1627, allocations: 76.18 MB / 0.6327 GB, free: 4.414 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sources.Examples.MassFlowSource_WeatherData): time 0.6207/0.7834, allocations: 176.8 MB / 0.8053 GB, free: 12.41 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01626/0.7997, allocations: 12.82 MB / 0.8179 GB, free: 10.61 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002017/0.8018, allocations: 36 kB / 0.8179 GB, free: 10.59 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001518/0.8034, allocations: 483.4 kB / 0.8183 GB, free: 10.29 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.003824/0.8073, allocations: 1.046 MB / 0.8194 GB, free: 9.648 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.005356/0.8126, allocations: 1.896 MB / 0.8212 GB, free: 8.457 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.003586/0.8162, allocations: 2.544 MB / 0.8237 GB, free: 6.984 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002339/0.8186, allocations: 1.596 MB / 0.8253 GB, free: 5.969 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004231/0.8228, allocations: 1.462 MB / 0.8267 GB, free: 5.195 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001311/0.8241, allocations: 0.8901 MB / 0.8276 GB, free: 4.645 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0002168/0.8244, allocations: 172.1 kB / 0.8277 GB, free: 4.645 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003051/0.8274, allocations: 1.42 MB / 0.8291 GB, free: 4.07 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0004606/0.8279, allocations: 499.6 kB / 0.8296 GB, free: 3.707 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0009221/0.8288, allocations: 0.8738 MB / 0.8304 GB, free: 3.109 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.004114/0.833, allocations: 2.802 MB / 0.8332 GB, free: 1.316 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.833, allocations: 2.406 kB / 0.8332 GB, free: 1.316 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.713e-06/0.833, allocations: 0 / 0.8332 GB, free: 1.316 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 3.071e-05/0.833, allocations: 0 / 0.8332 GB, free: 1.316 MB / 0.5919 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.003697/0.8367, allocations: 2.026 MB / 0.8352 GB, free: 15.81 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.252e-05/0.8368, allocations: 10.44 kB / 0.8352 GB, free: 15.81 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00261/0.8394, allocations: 412.3 kB / 0.8356 GB, free: 15.62 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001622/0.841, allocations: 1.029 MB / 0.8366 GB, free: 14.83 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.075e-05/0.8411, allocations: 100.9 kB / 0.8367 GB, free: 14.79 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001719/0.8413, allocations: 133.9 kB / 0.8368 GB, free: 14.74 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002676/0.844, allocations: 1.522 MB / 0.8383 GB, free: 13.77 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.595e-05/0.844, allocations: 0 / 0.8383 GB, free: 13.77 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001369/0.8442, allocations: 58.97 kB / 0.8383 GB, free: 13.72 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3e-05/0.8442, allocations: 32.47 kB / 0.8384 GB, free: 13.72 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002655/0.8469, allocations: 1.59 MB / 0.8399 GB, free: 12.95 MB / 0.6075 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.007371/0.8543, allocations: 5.292 MB / 0.8451 GB, free: 8.523 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002623/0.8569, allocations: 1.524 MB / 0.8466 GB, free: 7.414 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008918/0.8578, allocations: 484.6 kB / 0.847 GB, free: 6.938 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007433/0.8586, allocations: 429.8 kB / 0.8474 GB, free: 6.457 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001252/0.8598, allocations: 0.6957 MB / 0.8481 GB, free: 5.742 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=107): time 3.336e-06/0.8598, allocations: 0 / 0.8481 GB, free: 5.742 MB / 0.6075 GB Notification: Performance of matching and sorting (n=107): time 0.004309/0.8642, allocations: 1.661 MB / 0.8497 GB, free: 4.055 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001214/0.8643, allocations: 200.9 kB / 0.8499 GB, free: 3.816 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001218/0.8655, allocations: 0.892 MB / 0.8508 GB, free: 2.902 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0001048/0.8656, allocations: 49.7 kB / 0.8509 GB, free: 2.848 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.00049/0.8661, allocations: 0.5924 MB / 0.8514 GB, free: 2.25 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003013/0.8664, allocations: 359.1 kB / 0.8518 GB, free: 1.902 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003385/0.8668, allocations: 214.8 kB / 0.852 GB, free: 1.688 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001432/0.8669, allocations: 345.9 kB / 0.8523 GB, free: 1.344 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008143/0.8678, allocations: 402.4 kB / 0.8527 GB, free: 0.9492 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009911/0.8688, allocations: 0.5707 MB / 0.8533 GB, free: 336 kB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001799/0.8706, allocations: 0.9513 MB / 0.8542 GB, free: 15.33 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.428e-06/0.8706, allocations: 0 / 0.8542 GB, free: 15.33 MB / 0.6231 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.002906/0.8735, allocations: 1.235 MB / 0.8554 GB, free: 14.09 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.573e-05/0.8735, allocations: 7.938 kB / 0.8554 GB, free: 14.08 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.242e-05/0.8735, allocations: 4 kB / 0.8554 GB, free: 14.08 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006207/0.8742, allocations: 93.11 kB / 0.8555 GB, free: 13.98 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001116/0.8753, allocations: 255.7 kB / 0.8557 GB, free: 13.73 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002381/0.8777, allocations: 1.653 MB / 0.8573 GB, free: 11.94 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001201/0.8789, allocations: 141.4 kB / 0.8575 GB, free: 11.8 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001291/0.8791, allocations: 55.84 kB / 0.8575 GB, free: 11.75 MB / 0.6231 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.0007534/0.8798, allocations: 339.3 kB / 0.8579 GB, free: 11.4 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003519/0.8802, allocations: 126.5 kB / 0.858 GB, free: 11.28 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003362/0.8835, allocations: 1.429 MB / 0.8594 GB, free: 9.84 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.352e-05/0.8836, allocations: 12 kB / 0.8594 GB, free: 9.828 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.528e-06/0.8836, allocations: 0 / 0.8594 GB, free: 9.828 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.308e-05/0.8836, allocations: 3.984 kB / 0.8594 GB, free: 9.824 MB / 0.6231 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.005553/0.8892, allocations: 2.877 MB / 0.8622 GB, free: 6.887 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.37e-06/0.8892, allocations: 0 / 0.8622 GB, free: 6.887 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001016/0.8902, allocations: 219.7 kB / 0.8624 GB, free: 6.672 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004497/0.8907, allocations: 72.73 kB / 0.8625 GB, free: 6.598 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001036/0.8908, allocations: 39.97 kB / 0.8625 GB, free: 6.559 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002048/0.8928, allocations: 1.67 MB / 0.8641 GB, free: 4.738 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/0.8928, allocations: 3.984 kB / 0.8641 GB, free: 4.734 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002888/0.8957, allocations: 1.324 MB / 0.8654 GB, free: 3.398 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006889/0.8964, allocations: 355.3 kB / 0.8658 GB, free: 3.031 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002789/0.8967, allocations: 24 kB / 0.8658 GB, free: 3.008 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001082/0.8978, allocations: 79.91 kB / 0.8659 GB, free: 2.93 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001956/0.898, allocations: 92.81 kB / 0.866 GB, free: 2.836 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001314/0.8982, allocations: 51.95 kB / 0.866 GB, free: 2.785 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.001035/0.8992, allocations: 0.6111 MB / 0.8666 GB, free: 2.164 MB / 0.6231 GB Notification: Performance of sort global known variables: time 2.1e-07/0.8992, allocations: 4 kB / 0.8666 GB, free: 2.16 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001592/0.9008, allocations: 0.4949 MB / 0.8671 GB, free: 1.664 MB / 0.6231 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.001919/0.9028, allocations: 0.688 MB / 0.8678 GB, free: 1.18 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.002625/0.9054, allocations: 1.152 MB / 0.8689 GB, free: 16 kB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 7.073e-06/0.9054, allocations: 8 kB / 0.8689 GB, free: 8 kB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.001392/0.9068, allocations: 0.6741 MB / 0.8696 GB, free: 15.33 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002775/0.9096, allocations: 0.5376 MB / 0.8701 GB, free: 14.82 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005331/0.9149, allocations: 2.378 MB / 0.8724 GB, free: 12.4 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001202/0.9162, allocations: 1.209 MB / 0.8736 GB, free: 11.16 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006871/0.9169, allocations: 159.3 kB / 0.8737 GB, free: 11 MB / 0.6387 GB Notification: Performance of SimCode: time 1.352e-06/0.9169, allocations: 0 / 0.8737 GB, free: 11 MB / 0.6387 GB Notification: Performance of Templates: time 0.04431/0.9612, allocations: 28.55 MB / 0.9016 GB, free: 14.58 MB / 0.67 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Sources.Examples.MassFlowSource_WeatherData.makefile (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 & ./IBPSA_latest_IBPSA.Fluid.Sources.Examples.MassFlowSource_WeatherData -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe 2>&1)