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) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 90] 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=500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Sources.Examples.MassFlowSource_WeatherData") translateModel(IBPSA.Fluid.Sources.Examples.MassFlowSource_WeatherData,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Sources.Examples.MassFlowSource_WeatherData") [Timeout 660] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0013/0.0013, allocations: 111 kB / 17.33 MB, free: 5.043 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.001976/0.001976, allocations: 201.9 kB / 18.33 MB, free: 4.055 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.424/1.424, allocations: 225.6 MB / 244.8 MB, free: 13.58 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8255/0.8255, allocations: 128.4 MB / 426.1 MB, free: 7.168 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001977/0.001977, allocations: 67.39 kB / 0.5912 GB, free: 21.44 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1622/0.1642, allocations: 83.26 MB / 0.6725 GB, free: 3.859 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sources.Examples.MassFlowSource_WeatherData): time 0.5914/0.7556, allocations: 177.4 MB / 0.8457 GB, free: 5.445 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.01929/0.7749, allocations: 12.92 MB / 0.8583 GB, free: 11.02 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001873/0.7768, allocations: 32.16 kB / 0.8583 GB, free: 11.01 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.001649/0.7784, allocations: 484.5 kB / 0.8588 GB, free: 10.6 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.003843/0.7823, allocations: 1.052 MB / 0.8598 GB, free: 9.785 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.005913/0.7882, allocations: 1.908 MB / 0.8617 GB, free: 8.355 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.004251/0.7924, allocations: 2.527 MB / 0.8642 GB, free: 6.832 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00237/0.7948, allocations: 1.302 MB / 0.8654 GB, free: 5.879 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005105/0.7999, allocations: 1.611 MB / 0.867 GB, free: 4.734 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001813/0.8017, allocations: 0.8985 MB / 0.8679 GB, free: 3.832 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0003374/0.8021, allocations: 172 kB / 0.8681 GB, free: 3.664 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00347/0.8055, allocations: 1.466 MB / 0.8695 GB, free: 2.195 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0005942/0.8061, allocations: 498.5 kB / 0.87 GB, free: 1.707 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.001248/0.8074, allocations: 0.8747 MB / 0.8708 GB, free: 0.8281 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.005575/0.8129, allocations: 2.814 MB / 0.8736 GB, free: 14 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5.981e-06/0.813, allocations: 0 / 0.8736 GB, free: 14 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.754e-06/0.813, allocations: 3.938 kB / 0.8736 GB, free: 14 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 4.062e-05/0.813, allocations: 0 / 0.8736 GB, free: 14 MB / 0.6387 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.004442/0.8174, allocations: 2.076 MB / 0.8756 GB, free: 11.86 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.76e-05/0.8175, allocations: 8.625 kB / 0.8756 GB, free: 11.85 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002839/0.8203, allocations: 426.4 kB / 0.876 GB, free: 11.43 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001994/0.8223, allocations: 1.028 MB / 0.877 GB, free: 10.36 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001068/0.8224, allocations: 102.7 kB / 0.8771 GB, free: 10.26 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001893/0.8226, allocations: 132 kB / 0.8772 GB, free: 10.13 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002993/0.8256, allocations: 1.52 MB / 0.8787 GB, free: 8.535 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.279e-05/0.8256, allocations: 0 / 0.8787 GB, free: 8.535 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001505/0.8258, allocations: 64 kB / 0.8788 GB, free: 8.473 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.509e-05/0.8258, allocations: 32 kB / 0.8788 GB, free: 8.441 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002793/0.8286, allocations: 1.587 MB / 0.8804 GB, free: 6.848 MB / 0.6387 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.008035/0.8367, allocations: 5.419 MB / 0.8857 GB, free: 1.086 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002665/0.8393, allocations: 1.448 MB / 0.8871 GB, free: 15.55 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008351/0.8402, allocations: 440.1 kB / 0.8875 GB, free: 15.12 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007829/0.8409, allocations: 425.2 kB / 0.8879 GB, free: 14.64 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001307/0.8422, allocations: 0.6957 MB / 0.8886 GB, free: 13.92 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=107): time 2.825e-06/0.8422, allocations: 0 / 0.8886 GB, free: 13.92 MB / 0.6544 GB Notification: Performance of matching and sorting (n=107): time 0.004428/0.8467, allocations: 1.677 MB / 0.8902 GB, free: 12.22 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001344/0.8468, allocations: 192.9 kB / 0.8904 GB, free: 11.99 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001306/0.8481, allocations: 0.8999 MB / 0.8913 GB, free: 11.07 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0001026/0.8482, allocations: 45.7 kB / 0.8913 GB, free: 11.02 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005655/0.8488, allocations: 0.6025 MB / 0.8919 GB, free: 10.41 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003469/0.8491, allocations: 372.8 kB / 0.8923 GB, free: 10.04 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003705/0.8495, allocations: 222.8 kB / 0.8925 GB, free: 9.816 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0002162/0.8497, allocations: 345.9 kB / 0.8928 GB, free: 9.473 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000822/0.8505, allocations: 402.4 kB / 0.8932 GB, free: 9.078 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009679/0.8515, allocations: 0.5668 MB / 0.8937 GB, free: 8.461 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001806/0.8533, allocations: 0.9605 MB / 0.8947 GB, free: 7.453 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.349e-06/0.8533, allocations: 0 / 0.8947 GB, free: 7.453 MB / 0.6544 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.002833/0.8562, allocations: 1.236 MB / 0.8959 GB, free: 6.211 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.336e-05/0.8562, allocations: 12.03 kB / 0.8959 GB, free: 6.199 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.142e-05/0.8562, allocations: 4 kB / 0.8959 GB, free: 6.195 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007036/0.8569, allocations: 80.78 kB / 0.896 GB, free: 6.113 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001113/0.858, allocations: 255.7 kB / 0.8962 GB, free: 5.863 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002575/0.8606, allocations: 1.659 MB / 0.8978 GB, free: 4.062 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001216/0.8618, allocations: 139.2 kB / 0.898 GB, free: 3.926 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.936e-05/0.8619, allocations: 51.95 kB / 0.898 GB, free: 3.875 MB / 0.6544 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.0007477/0.8626, allocations: 351.3 kB / 0.8984 GB, free: 3.523 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002776/0.8629, allocations: 127.2 kB / 0.8985 GB, free: 3.398 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003343/0.8663, allocations: 1.425 MB / 0.8999 GB, free: 1.965 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.227e-05/0.8663, allocations: 15.94 kB / 0.8999 GB, free: 1.949 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.8663, allocations: 0 / 0.8999 GB, free: 1.949 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.558e-05/0.8663, allocations: 7.922 kB / 0.8999 GB, free: 1.941 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 postOpt removeSimpleEquations (simulation): time 0.005095/0.8714, allocations: 2.868 MB / 0.9027 GB, free: 14.98 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.009e-06/0.8714, allocations: 0 / 0.9027 GB, free: 14.98 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009948/0.8724, allocations: 219.7 kB / 0.9029 GB, free: 14.77 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004534/0.8728, allocations: 72.78 kB / 0.903 GB, free: 14.7 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.768e-05/0.8729, allocations: 39.91 kB / 0.903 GB, free: 14.66 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002213/0.8751, allocations: 1.677 MB / 0.9047 GB, free: 12.83 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.8751, allocations: 0 / 0.9047 GB, free: 12.83 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002942/0.8781, allocations: 1.327 MB / 0.9059 GB, free: 11.49 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006496/0.8787, allocations: 363.8 kB / 0.9063 GB, free: 11.11 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001718/0.8789, allocations: 32 kB / 0.9063 GB, free: 11.08 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000919/0.8798, allocations: 76.42 kB / 0.9064 GB, free: 11.01 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001852/0.88, allocations: 84.88 kB / 0.9065 GB, free: 10.93 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001141/0.8801, allocations: 55.95 kB / 0.9065 GB, free: 10.87 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0009603/0.8811, allocations: 0.615 MB / 0.9071 GB, free: 10.25 MB / 0.67 GB Notification: Performance of sort global known variables: time 8.1e-08/0.8811, allocations: 0 / 0.9071 GB, free: 10.25 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.001591/0.8827, allocations: 0.5025 MB / 0.9076 GB, free: 9.742 MB / 0.67 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.002374/0.8851, allocations: 0.7053 MB / 0.9083 GB, free: 9.223 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.002333/0.8874, allocations: 1.113 MB / 0.9094 GB, free: 8.094 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 5.68e-06/0.8874, allocations: 4 kB / 0.9094 GB, free: 8.09 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.001208/0.8886, allocations: 0.6367 MB / 0.91 GB, free: 7.441 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002038/0.8906, allocations: 0.5144 MB / 0.9105 GB, free: 6.941 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004538/0.8952, allocations: 2.377 MB / 0.9128 GB, free: 4.535 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001012/0.8962, allocations: 1.213 MB / 0.914 GB, free: 3.293 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.001343/0.8975, allocations: 385.9 kB / 0.9144 GB, free: 2.914 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003719/0.8979, allocations: 147.4 kB / 0.9145 GB, free: 2.77 MB / 0.67 GB Notification: Performance of SimCode: time 9.22e-07/0.8979, allocations: 4 kB / 0.9145 GB, free: 2.766 MB / 0.67 GB Notification: Performance of Templates: time 0.04649/0.9444, allocations: 25.05 MB / 0.939 GB, free: 9.988 MB / 0.7012 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Sources.Examples.MassFlowSource_WeatherData.makefile [Timeout 660] (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) [Timeout 480]