Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/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.Outside_CpData,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Sources.Examples.Outside_CpData") translateModel(IBPSA.Fluid.Sources.Examples.Outside_CpData,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.001079/0.001079, allocations: 88.17 kB / 15.7 MB, free: 460 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001368/0.001368, allocations: 177.1 kB / 16.58 MB, free: 6.852 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.431/1.431, allocations: 223.3 MB / 240.6 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7146/0.7146, allocations: 115.5 MB / 407.2 MB, free: 2.852 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002962/0.0002962, allocations: 8 kB / 495.2 MB, free: 6.758 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1368/0.1372, allocations: 77.52 MB / 0.5593 GB, free: 9.441 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sources.Examples.Outside_CpData): time 0.4044/0.5416, allocations: 152.8 MB / 0.7085 GB, free: 14.56 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.01993/0.5616, allocations: 16.08 MB / 0.7242 GB, free: 14.45 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001384/0.563, allocations: 23.81 kB / 0.7243 GB, free: 14.42 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001243/0.5643, allocations: 413 kB / 0.7247 GB, free: 14.02 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.004344/0.5686, allocations: 1.404 MB / 0.726 GB, free: 12.61 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.003227/0.5719, allocations: 1.128 MB / 0.7271 GB, free: 11.5 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.003334/0.5752, allocations: 2.753 MB / 0.7298 GB, free: 8.742 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002087/0.5773, allocations: 1.45 MB / 0.7312 GB, free: 7.25 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001877/0.5792, allocations: 1.022 MB / 0.7322 GB, free: 6.227 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001213/0.5804, allocations: 0.8789 MB / 0.7331 GB, free: 5.344 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001739/0.5806, allocations: 48 kB / 0.7331 GB, free: 5.297 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002352/0.583, allocations: 1.014 MB / 0.7341 GB, free: 4.281 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.000579/0.5836, allocations: 0.5839 MB / 0.7347 GB, free: 3.695 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0004973/0.5841, allocations: 428.4 kB / 0.7351 GB, free: 3.27 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.002863/0.5869, allocations: 2.572 MB / 0.7376 GB, free: 0.6914 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.853e-06/0.587, allocations: 0 / 0.7376 GB, free: 0.6914 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.583e-06/0.587, allocations: 3.938 kB / 0.7376 GB, free: 0.6875 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.13e-05/0.587, allocations: 0 / 0.7376 GB, free: 0.6875 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 430 * Number of variables: 430 Notification: Performance of Generate backend data structure: time 0.00387/0.5909, allocations: 2.324 MB / 0.7399 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.424e-05/0.5909, allocations: 8.031 kB / 0.7399 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00357/0.5945, allocations: 0.5707 MB / 0.7405 GB, free: 13.71 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002376/0.5969, allocations: 1.53 MB / 0.742 GB, free: 12.13 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001054/0.597, allocations: 139.4 kB / 0.7421 GB, free: 12 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002211/0.5973, allocations: 164 kB / 0.7422 GB, free: 11.84 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003393/0.6007, allocations: 1.925 MB / 0.7441 GB, free: 9.859 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.884e-05/0.6007, allocations: 4 kB / 0.7441 GB, free: 9.855 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001602/0.6009, allocations: 72 kB / 0.7442 GB, free: 9.785 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.245e-05/0.6009, allocations: 40 kB / 0.7442 GB, free: 9.746 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003497/0.6044, allocations: 2.089 MB / 0.7463 GB, free: 7.652 MB / 0.5606 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.008762/0.6132, allocations: 6.108 MB / 0.7522 GB, free: 1.199 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003239/0.6165, allocations: 2.083 MB / 0.7543 GB, free: 15.04 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001245/0.6177, allocations: 0.7645 MB / 0.755 GB, free: 14.28 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005759/0.6183, allocations: 437.5 kB / 0.7554 GB, free: 13.78 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001716/0.62, allocations: 0.9973 MB / 0.7564 GB, free: 12.76 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=146): time 3.527e-06/0.62, allocations: 0 / 0.7564 GB, free: 12.76 MB / 0.5762 GB Notification: Performance of matching and sorting (n=146): time 0.00649/0.6265, allocations: 2.961 MB / 0.7593 GB, free: 9.688 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001114/0.6267, allocations: 205.2 kB / 0.7595 GB, free: 9.441 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002318/0.629, allocations: 1.768 MB / 0.7612 GB, free: 7.66 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.00015/0.6292, allocations: 57.64 kB / 0.7613 GB, free: 7.598 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007338/0.6299, allocations: 0.835 MB / 0.7621 GB, free: 6.75 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004342/0.6303, allocations: 481 kB / 0.7626 GB, free: 6.273 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.125e-05/0.6304, allocations: 24 kB / 0.7626 GB, free: 6.25 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001545/0.6306, allocations: 357.9 kB / 0.7629 GB, free: 5.895 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001114/0.6317, allocations: 0.596 MB / 0.7635 GB, free: 5.301 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001277/0.633, allocations: 0.7935 MB / 0.7643 GB, free: 4.453 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001223/0.6342, allocations: 0.6623 MB / 0.7649 GB, free: 3.793 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.23e-06/0.6343, allocations: 4 kB / 0.7649 GB, free: 3.789 MB / 0.5762 GB Notification: Performance of matching and sorting (n=162) (initialization): time 0.003704/0.638, allocations: 1.803 MB / 0.7667 GB, free: 1.961 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.162e-05/0.638, allocations: 7.984 kB / 0.7667 GB, free: 1.953 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.014e-05/0.638, allocations: 4.562 kB / 0.7667 GB, free: 1.949 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009799/0.639, allocations: 220.2 kB / 0.7669 GB, free: 1.719 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001542/0.6406, allocations: 331.6 kB / 0.7672 GB, free: 1.395 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00559/0.6462, allocations: 6.818 MB / 0.7739 GB, free: 9.91 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001505/0.6477, allocations: 190.9 kB / 0.7741 GB, free: 9.723 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000122/0.6478, allocations: 47.97 kB / 0.7741 GB, free: 9.676 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 17 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.weaDat.locTim.tNext,weaDat.locTim.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.decAng.tNext,weaDat.decAng.tNext,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.canRepeatWeatherFile) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (152): * Single equations (assignments): 147 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0009151/0.6487, allocations: 487.2 kB / 0.7746 GB, free: 9.191 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002899/0.649, allocations: 181.7 kB / 0.7748 GB, free: 9.012 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004453/0.6535, allocations: 2.14 MB / 0.7768 GB, free: 6.84 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.311e-05/0.6535, allocations: 16 kB / 0.7769 GB, free: 6.824 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/0.6535, allocations: 0 / 0.7769 GB, free: 6.824 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.452e-05/0.6536, allocations: 11.97 kB / 0.7769 GB, free: 6.812 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006479/0.66, allocations: 3.971 MB / 0.7807 GB, free: 2.766 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.4e-06/0.6601, allocations: 0 / 0.7807 GB, free: 2.766 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001465/0.6615, allocations: 323.5 kB / 0.7811 GB, free: 2.449 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009215/0.6625, allocations: 216.1 kB / 0.7813 GB, free: 2.223 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001037/0.6626, allocations: 39.97 kB / 0.7813 GB, free: 2.184 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005498/0.6681, allocations: 6.843 MB / 0.788 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.6681, allocations: 0 / 0.788 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003927/0.6721, allocations: 1.979 MB / 0.7899 GB, free: 8.648 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008234/0.6729, allocations: 494.2 kB / 0.7904 GB, free: 8.145 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002182/0.6731, allocations: 35.95 kB / 0.7904 GB, free: 8.109 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001266/0.6744, allocations: 149.1 kB / 0.7906 GB, free: 7.969 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002112/0.6746, allocations: 109.1 kB / 0.7907 GB, free: 7.863 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001485/0.6748, allocations: 71.95 kB / 0.7907 GB, free: 7.793 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.001678/0.6765, allocations: 1.265 MB / 0.792 GB, free: 6.531 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.11e-07/0.6765, allocations: 0 / 0.792 GB, free: 6.531 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001743/0.6782, allocations: 0.6898 MB / 0.7926 GB, free: 5.84 MB / 0.6075 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 (149): * Single equations (assignments): 139 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.001641/0.6799, allocations: 0.7403 MB / 0.7934 GB, free: 5.301 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.00328/0.6832, allocations: 2.082 MB / 0.7954 GB, free: 3.156 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 5.67e-06/0.6832, allocations: 4.562 kB / 0.7954 GB, free: 3.152 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.001944/0.6851, allocations: 1.418 MB / 0.7968 GB, free: 1.668 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002081/0.6872, allocations: 0.4948 MB / 0.7973 GB, free: 1.176 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006381/0.6936, allocations: 4.492 MB / 0.8017 GB, free: 12.65 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001217/0.6949, allocations: 1.537 MB / 0.8032 GB, free: 11.09 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.001856/0.6967, allocations: 497.1 kB / 0.8036 GB, free: 10.59 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004811/0.6972, allocations: 179.3 kB / 0.8038 GB, free: 10.42 MB / 0.6231 GB Notification: Performance of SimCode: time 5.51e-07/0.6972, allocations: 0 / 0.8038 GB, free: 10.42 MB / 0.6231 GB Notification: Performance of Templates: time 0.2932/0.9905, allocations: 29.43 MB / 0.8325 GB, free: 225.4 MB / 0.6387 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Sources.Examples.Outside_CpData.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Sources.Examples.Outside_CpData.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Sources.Examples.Outside_CpData.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Sources.Examples.Outside_CpData.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Sources.Examples.Outside_CpData.sim & ./IBPSA_latest_IBPSA.Fluid.Sources.Examples.Outside_CpData -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Sources.Examples.Outside_CpData.pipe 2>&1)