Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Fluid.Sources.Examples.Outside_CpData,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData") translateModel(IDEAS.Fluid.Sources.Examples.Outside_CpData,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.0008792/0.0008792, allocations: 92.16 kB / 15.06 MB, free: 1.098 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.0009886/0.0009886, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.498/1.498, allocations: 223.3 MB / 240 MB, free: 5.285 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.043/1.043, allocations: 135.3 MB / 426.4 MB, free: 14.34 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004956/0.0004958, allocations: 16.5 kB / 0.507 GB, free: 5.152 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2247/0.2252, allocations: 82.3 MB / 0.5874 GB, free: 3.023 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.Outside_CpData): time 0.5531/0.7784, allocations: 151.5 MB / 0.7353 GB, free: 15.84 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0232/0.8017, allocations: 15.85 MB / 0.7508 GB, free: 4.52 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001743/0.8034, allocations: 27.22 kB / 0.7508 GB, free: 4.508 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001851/0.8053, allocations: 367.6 kB / 0.7512 GB, free: 4.207 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.005522/0.8109, allocations: 1.286 MB / 0.7524 GB, free: 3.258 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.003545/0.8144, allocations: 1.085 MB / 0.7535 GB, free: 2.52 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.004034/0.8185, allocations: 2.442 MB / 0.7559 GB, free: 0.5508 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002508/0.821, allocations: 1.461 MB / 0.7573 GB, free: 15.06 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002421/0.8234, allocations: 0.9648 MB / 0.7582 GB, free: 14.09 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001393/0.8248, allocations: 0.7933 MB / 0.759 GB, free: 13.29 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0003337/0.8252, allocations: 44 kB / 0.759 GB, free: 13.25 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003013/0.8282, allocations: 1.01 MB / 0.76 GB, free: 12.24 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0006255/0.8288, allocations: 0.5606 MB / 0.7606 GB, free: 11.68 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0005532/0.8294, allocations: 384.5 kB / 0.761 GB, free: 11.29 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.003776/0.8332, allocations: 2.424 MB / 0.7633 GB, free: 8.863 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 7.675e-06/0.8332, allocations: 3.984 kB / 0.7633 GB, free: 8.859 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.953e-06/0.8332, allocations: 3.938 kB / 0.7633 GB, free: 8.855 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.0001284/0.8333, allocations: 4 kB / 0.7633 GB, free: 8.852 MB / 0.5762 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.004788/0.8381, allocations: 2.204 MB / 0.7655 GB, free: 6.586 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.132e-05/0.8382, allocations: 8.031 kB / 0.7655 GB, free: 6.578 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003972/0.8422, allocations: 0.563 MB / 0.766 GB, free: 6.012 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003328/0.8455, allocations: 1.487 MB / 0.7675 GB, free: 4.473 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001502/0.8457, allocations: 131.3 kB / 0.7676 GB, free: 4.344 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004107/0.8461, allocations: 164 kB / 0.7678 GB, free: 4.184 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004321/0.8505, allocations: 1.867 MB / 0.7696 GB, free: 2.266 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.641e-05/0.8505, allocations: 0 / 0.7696 GB, free: 2.266 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002504/0.8508, allocations: 72 kB / 0.7697 GB, free: 2.195 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.712e-05/0.8508, allocations: 40 kB / 0.7697 GB, free: 2.156 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003969/0.8548, allocations: 2.042 MB / 0.7717 GB, free: 112 kB / 0.5762 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.01056/0.8654, allocations: 5.583 MB / 0.7771 GB, free: 10.27 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003442/0.8689, allocations: 1.995 MB / 0.7791 GB, free: 8.207 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001337/0.8702, allocations: 0.7335 MB / 0.7798 GB, free: 7.469 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006505/0.8709, allocations: 433.7 kB / 0.7802 GB, free: 6.973 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001751/0.8727, allocations: 0.927 MB / 0.7811 GB, free: 6.027 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=137): time 3.807e-06/0.8727, allocations: 0 / 0.7811 GB, free: 6.027 MB / 0.5919 GB Notification: Performance of matching and sorting (n=137): time 0.006578/0.8793, allocations: 2.837 MB / 0.7839 GB, free: 3.074 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001225/0.8794, allocations: 209.2 kB / 0.7841 GB, free: 2.828 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002761/0.8822, allocations: 1.73 MB / 0.7858 GB, free: 1.086 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.000213/0.8824, allocations: 53.7 kB / 0.7858 GB, free: 1.027 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.000819/0.8833, allocations: 0.8034 MB / 0.7866 GB, free: 216 kB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005162/0.8838, allocations: 457.4 kB / 0.7871 GB, free: 15.75 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.997e-05/0.8839, allocations: 28 kB / 0.7871 GB, free: 15.73 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001401/0.884, allocations: 353.9 kB / 0.7874 GB, free: 15.38 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001097/0.8851, allocations: 0.5569 MB / 0.788 GB, free: 14.82 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001295/0.8865, allocations: 0.7584 MB / 0.7887 GB, free: 14.01 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00123/0.8877, allocations: 0.6505 MB / 0.7893 GB, free: 13.36 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.15e-06/0.8877, allocations: 0 / 0.7893 GB, free: 13.36 MB / 0.6075 GB Notification: Performance of matching and sorting (n=150) (initialization): time 0.003797/0.8915, allocations: 1.725 MB / 0.791 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.514e-05/0.8916, allocations: 12 kB / 0.791 GB, free: 11.6 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.313e-05/0.8916, allocations: 0 / 0.791 GB, free: 11.6 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001077/0.8927, allocations: 216.1 kB / 0.7912 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001568/0.8943, allocations: 319.6 kB / 0.7916 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006525/0.9008, allocations: 6.812 MB / 0.7982 GB, free: 3.594 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001871/0.9027, allocations: 158.9 kB / 0.7984 GB, free: 3.438 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002243/0.9029, allocations: 55.95 kB / 0.7984 GB, free: 3.383 MB / 0.6075 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 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.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 (140): * Single equations (assignments): 135 * 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.001205/0.9041, allocations: 470.5 kB / 0.7989 GB, free: 2.914 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005483/0.9047, allocations: 169.8 kB / 0.799 GB, free: 2.746 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004662/0.9094, allocations: 2.031 MB / 0.801 GB, free: 0.6875 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.632e-05/0.9094, allocations: 19.94 kB / 0.801 GB, free: 0.668 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.119e-05/0.9094, allocations: 0 / 0.801 GB, free: 0.668 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.606e-05/0.9094, allocations: 11.97 kB / 0.801 GB, free: 0.6562 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007256/0.9167, allocations: 3.788 MB / 0.8047 GB, free: 12.79 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.334e-06/0.9167, allocations: 0 / 0.8047 GB, free: 12.79 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001452/0.9182, allocations: 315.6 kB / 0.805 GB, free: 12.48 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000936/0.9192, allocations: 220 kB / 0.8052 GB, free: 12.25 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001304/0.9193, allocations: 39.97 kB / 0.8053 GB, free: 12.21 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005866/0.9252, allocations: 6.828 MB / 0.812 GB, free: 4.711 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.9252, allocations: 0 / 0.812 GB, free: 4.711 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00437/0.9296, allocations: 1.889 MB / 0.8138 GB, free: 2.789 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001222/0.9308, allocations: 466.3 kB / 0.8142 GB, free: 2.312 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004833/0.9313, allocations: 24 kB / 0.8143 GB, free: 2.289 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001592/0.933, allocations: 141.9 kB / 0.8144 GB, free: 2.152 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002713/0.9332, allocations: 101.1 kB / 0.8145 GB, free: 2.055 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002107/0.9335, allocations: 67.95 kB / 0.8146 GB, free: 1.988 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.002114/0.9356, allocations: 1.237 MB / 0.8158 GB, free: 0.7539 MB / 0.6231 GB Notification: Performance of sort global known variables: time 2e-07/0.9356, allocations: 4 kB / 0.8158 GB, free: 0.75 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.002429/0.938, allocations: 0.6313 MB / 0.8164 GB, free: 120 kB / 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: 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 (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.002258/0.9403, allocations: 0.744 MB / 0.8171 GB, free: 15.57 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.003544/0.9439, allocations: 2.004 MB / 0.8191 GB, free: 13.5 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 8.195e-06/0.9439, allocations: 4.797 kB / 0.8191 GB, free: 13.5 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.002046/0.946, allocations: 1.364 MB / 0.8204 GB, free: 12.07 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002858/0.9488, allocations: 486.5 kB / 0.8209 GB, free: 11.61 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01043/0.9593, allocations: 4.472 MB / 0.8252 GB, free: 7.105 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002645/0.962, allocations: 1.501 MB / 0.8267 GB, free: 5.57 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.004063/0.9661, allocations: 0.4962 MB / 0.8272 GB, free: 5.07 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001129/0.9672, allocations: 163.4 kB / 0.8273 GB, free: 4.91 MB / 0.6387 GB Notification: Performance of SimCode: time 2.785e-06/0.9672, allocations: 0 / 0.8273 GB, free: 4.91 MB / 0.6387 GB Notification: Performance of Templates: time 0.09514/1.062, allocations: 27.74 MB / 0.8544 GB, free: 9.422 MB / 0.67 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData.sim & ./IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData.pipe 2>&1)