Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Sources.Examples.Outside_CpData.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Fluid.Sources.Examples.Outside_CpData,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Sources.Examples.Outside_CpData") translateModel(IDEAS.Fluid.Sources.Examples.Outside_CpData,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Sources.Examples.Outside_CpData") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005342/0.005342, allocations: 100.1 kB / 15.73 MB, free: 6.008 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.001281/0.001281, allocations: 195.5 kB / 16.68 MB, free: 5.93 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.386/1.386, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8379/0.8379, allocations: 132.2 MB / 422.7 MB, free: 6.559 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001365/0.001366, allocations: 59.16 kB / 0.5813 GB, free: 23.67 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1894/0.1908, allocations: 80.21 MB / 0.6597 GB, free: 10.25 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.Outside_CpData): time 0.628/0.8188, allocations: 166.9 MB / 0.8227 GB, free: 5.828 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.02567/0.8446, allocations: 17.1 MB / 0.8394 GB, free: 8.195 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001595/0.8462, allocations: 29.72 kB / 0.8394 GB, free: 8.184 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001578/0.8478, allocations: 0.5379 MB / 0.8399 GB, free: 7.73 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.00463/0.8525, allocations: 1.678 MB / 0.8416 GB, free: 6.488 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.003329/0.8558, allocations: 1.389 MB / 0.8429 GB, free: 5.461 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.00274/0.8586, allocations: 2.531 MB / 0.8454 GB, free: 3.953 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002255/0.8608, allocations: 1.954 MB / 0.8473 GB, free: 2.66 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003596/0.8644, allocations: 1.39 MB / 0.8487 GB, free: 1.875 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001333/0.8658, allocations: 1.027 MB / 0.8497 GB, free: 1.168 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0004701/0.8663, allocations: 208.8 kB / 0.8499 GB, free: 1.168 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003019/0.8693, allocations: 1.544 MB / 0.8514 GB, free: 436 kB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.000771/0.8701, allocations: 0.7604 MB / 0.8521 GB, free: 15.89 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.001664/0.8717, allocations: 1.127 MB / 0.8532 GB, free: 15.08 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.005152/0.8769, allocations: 3.403 MB / 0.8565 GB, free: 12.34 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.8769, allocations: 0 / 0.8565 GB, free: 12.34 MB / 0.6231 GB Notification: Performance of FrontEnd: time 4.689e-06/0.8769, allocations: 4 kB / 0.8565 GB, free: 12.34 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 8.717e-05/0.877, allocations: 0 / 0.8565 GB, free: 12.34 MB / 0.6231 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 417 * Number of variables: 417 Notification: Performance of Generate backend data structure: time 0.004808/0.8819, allocations: 2.615 MB / 0.8591 GB, free: 9.656 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.188e-05/0.8819, allocations: 8.031 kB / 0.8591 GB, free: 9.648 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003728/0.8856, allocations: 0.5512 MB / 0.8596 GB, free: 9.094 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002636/0.8883, allocations: 1.599 MB / 0.8612 GB, free: 7.441 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.452e-05/0.8884, allocations: 123.3 kB / 0.8613 GB, free: 7.32 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002173/0.8886, allocations: 163.9 kB / 0.8615 GB, free: 7.16 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00347/0.8921, allocations: 1.881 MB / 0.8633 GB, free: 5.227 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.98e-05/0.8922, allocations: 4 kB / 0.8633 GB, free: 5.223 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001627/0.8923, allocations: 68 kB / 0.8634 GB, free: 5.156 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.457e-05/0.8924, allocations: 44 kB / 0.8634 GB, free: 5.113 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003418/0.8958, allocations: 2.038 MB / 0.8654 GB, free: 3.07 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 preOpt removeSimpleEquations (simulation): time 0.01037/0.9062, allocations: 5.504 MB / 0.8708 GB, free: 13.3 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003234/0.9094, allocations: 1.988 MB / 0.8727 GB, free: 11.23 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001296/0.9108, allocations: 0.7374 MB / 0.8735 GB, free: 10.49 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006416/0.9114, allocations: 437.7 kB / 0.8739 GB, free: 9.992 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001773/0.9132, allocations: 0.9348 MB / 0.8748 GB, free: 9.039 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=137): time 4.288e-06/0.9132, allocations: 0 / 0.8748 GB, free: 9.039 MB / 0.6387 GB Notification: Performance of matching and sorting (n=137): time 0.00688/0.9201, allocations: 2.825 MB / 0.8775 GB, free: 6.098 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001282/0.9203, allocations: 197.2 kB / 0.8777 GB, free: 5.863 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003332/0.9236, allocations: 1.738 MB / 0.8794 GB, free: 4.113 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0002376/0.9239, allocations: 53.7 kB / 0.8795 GB, free: 4.055 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008782/0.9248, allocations: 0.8112 MB / 0.8803 GB, free: 3.23 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004555/0.9252, allocations: 469.1 kB / 0.8807 GB, free: 2.766 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004475/0.9257, allocations: 238.8 kB / 0.8809 GB, free: 2.527 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001766/0.9259, allocations: 353.9 kB / 0.8813 GB, free: 2.176 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001129/0.927, allocations: 0.5569 MB / 0.8818 GB, free: 1.617 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00127/0.9283, allocations: 0.7623 MB / 0.8826 GB, free: 0.8008 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002279/0.9306, allocations: 1.282 MB / 0.8838 GB, free: 15.51 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.169e-06/0.9306, allocations: 4 kB / 0.8838 GB, free: 15.5 MB / 0.6544 GB Notification: Performance of matching and sorting (n=150) (initialization): time 0.003795/0.9344, allocations: 1.725 MB / 0.8855 GB, free: 13.75 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.252e-05/0.9344, allocations: 8 kB / 0.8855 GB, free: 13.75 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.869e-06/0.9344, allocations: 0 / 0.8855 GB, free: 13.75 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001096/0.9355, allocations: 212.2 kB / 0.8857 GB, free: 13.52 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001499/0.9371, allocations: 319.5 kB / 0.886 GB, free: 13.21 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007098/0.9442, allocations: 7.309 MB / 0.8932 GB, free: 5.199 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001591/0.9458, allocations: 146.8 kB / 0.8933 GB, free: 5.055 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001848/0.946, allocations: 60.02 kB / 0.8934 GB, free: 4.996 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 8 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (140): * Single equations (assignments): 135 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.001138/0.9471, allocations: 481.5 kB / 0.8938 GB, free: 4.516 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005008/0.9476, allocations: 169.9 kB / 0.894 GB, free: 4.348 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004796/0.9524, allocations: 2.026 MB / 0.896 GB, free: 2.293 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.233e-05/0.9525, allocations: 12 kB / 0.896 GB, free: 2.281 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.223e-05/0.9525, allocations: 12 kB / 0.896 GB, free: 2.27 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.573e-05/0.9525, allocations: 7.969 kB / 0.896 GB, free: 2.262 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007534/0.9601, allocations: 3.793 MB / 0.8997 GB, free: 14.39 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.696e-06/0.9601, allocations: 0 / 0.8997 GB, free: 14.39 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001519/0.9616, allocations: 315.5 kB / 0.9 GB, free: 14.08 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009648/0.9626, allocations: 204.1 kB / 0.9002 GB, free: 13.86 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001398/0.9628, allocations: 39.91 kB / 0.9002 GB, free: 13.82 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007032/0.9698, allocations: 7.347 MB / 0.9074 GB, free: 5.766 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/0.9698, allocations: 0 / 0.9074 GB, free: 5.766 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005154/0.975, allocations: 1.887 MB / 0.9092 GB, free: 3.844 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001112/0.9761, allocations: 454.3 kB / 0.9097 GB, free: 3.379 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005153/0.9767, allocations: 31.98 kB / 0.9097 GB, free: 3.348 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001591/0.9783, allocations: 88.61 kB / 0.9098 GB, free: 3.266 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002988/0.9786, allocations: 105.1 kB / 0.9099 GB, free: 3.164 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001949/0.9788, allocations: 63.95 kB / 0.91 GB, free: 3.102 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.002232/0.981, allocations: 1.252 MB / 0.9112 GB, free: 1.852 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.9e-07/0.9811, allocations: 0 / 0.9112 GB, free: 1.852 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.00217/0.9832, allocations: 0.6391 MB / 0.9118 GB, free: 1.211 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: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (140): * Single equations (assignments): 133 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002086/0.9853, allocations: 0.7541 MB / 0.9125 GB, free: 0.6719 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.003819/0.9892, allocations: 2 MB / 0.9145 GB, free: 14.61 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 6.963e-06/0.9892, allocations: 4.797 kB / 0.9145 GB, free: 14.6 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.002334/0.9915, allocations: 1.372 MB / 0.9158 GB, free: 13.17 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003116/0.9947, allocations: 0.5142 MB / 0.9163 GB, free: 12.68 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008232/1.003, allocations: 3.68 MB / 0.9199 GB, free: 8.977 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001688/1.005, allocations: 1.505 MB / 0.9214 GB, free: 7.441 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.00213/1.007, allocations: 0.4953 MB / 0.9219 GB, free: 6.945 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006209/1.007, allocations: 167.4 kB / 0.922 GB, free: 6.781 MB / 0.6856 GB Notification: Performance of SimCode: time 9.92e-07/1.007, allocations: 0 / 0.922 GB, free: 6.781 MB / 0.6856 GB Notification: Performance of Templates: time 0.05384/1.061, allocations: 30.18 MB / 0.9515 GB, free: 8.82 MB / 0.7169 GB make -j1 -f IDEAS_IDEAS.Fluid.Sources.Examples.Outside_CpData.makefile (rm -f IDEAS_IDEAS.Fluid.Sources.Examples.Outside_CpData.pipe ; mkfifo IDEAS_IDEAS.Fluid.Sources.Examples.Outside_CpData.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Sources.Examples.Outside_CpData.pipe >> ../files/IDEAS_IDEAS.Fluid.Sources.Examples.Outside_CpData.sim & ./IDEAS_IDEAS.Fluid.Sources.Examples.Outside_CpData -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Sources.Examples.Outside_CpData.pipe 2>&1)