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.001326/0.001327, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001405/0.001405, allocations: 197.3 kB / 16.26 MB, free: 6.629 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.427/1.427, allocations: 222.9 MB / 239.9 MB, free: 4.539 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.078/1.078, allocations: 135.2 MB / 425.2 MB, free: 11.88 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001969/0.001969, allocations: 60.66 kB / 0.5049 GB, free: 5.625 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1771/0.1791, allocations: 80.94 MB / 0.5839 GB, free: 4.848 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.Outside_CpData): time 0.4623/0.6414, allocations: 164.6 MB / 0.7447 GB, free: 5.395 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.02541/0.6669, allocations: 16.92 MB / 0.7612 GB, free: 7.699 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002408/0.6693, allocations: 31.81 kB / 0.7613 GB, free: 7.668 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.00268/0.6721, allocations: 453.3 kB / 0.7617 GB, free: 7.223 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0067/0.6788, allocations: 1.495 MB / 0.7631 GB, free: 5.727 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.004344/0.6832, allocations: 1.265 MB / 0.7644 GB, free: 4.484 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.004642/0.6879, allocations: 2.525 MB / 0.7668 GB, free: 1.953 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004046/0.692, allocations: 1.953 MB / 0.7688 GB, free: 15.95 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006876/0.6989, allocations: 1.334 MB / 0.7701 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001966/0.7009, allocations: 1.064 MB / 0.7711 GB, free: 13.61 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0007669/0.7016, allocations: 212 kB / 0.7713 GB, free: 13.4 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003714/0.7054, allocations: 1.544 MB / 0.7728 GB, free: 11.86 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.001198/0.7066, allocations: 0.7673 MB / 0.7736 GB, free: 11.09 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.002153/0.7088, allocations: 1.127 MB / 0.7747 GB, free: 9.953 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.006519/0.7153, allocations: 3.396 MB / 0.778 GB, free: 6.547 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 6.142e-06/0.7153, allocations: 0 / 0.778 GB, free: 6.547 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.583e-06/0.7154, allocations: 0 / 0.778 GB, free: 6.547 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 9.928e-05/0.7155, allocations: 0 / 0.778 GB, free: 6.547 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: 417 * Number of variables: 417 Notification: Performance of Generate backend data structure: time 0.006403/0.7219, allocations: 2.621 MB / 0.7805 GB, free: 3.863 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 5.267e-05/0.7219, allocations: 8.031 kB / 0.7805 GB, free: 3.855 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004146/0.7261, allocations: 0.5488 MB / 0.7811 GB, free: 3.305 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003007/0.7291, allocations: 1.56 MB / 0.7826 GB, free: 1.691 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001109/0.7293, allocations: 127.3 kB / 0.7827 GB, free: 1.566 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002365/0.7295, allocations: 164 kB / 0.7829 GB, free: 1.406 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003625/0.7331, allocations: 1.88 MB / 0.7847 GB, free: 15.47 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.226e-05/0.7332, allocations: 0 / 0.7847 GB, free: 15.47 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001786/0.7334, allocations: 72 kB / 0.7848 GB, free: 15.4 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.511e-05/0.7334, allocations: 40 kB / 0.7848 GB, free: 15.36 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003615/0.737, allocations: 2.042 MB / 0.7868 GB, free: 13.32 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.009758/0.7468, allocations: 5.546 MB / 0.7922 GB, free: 7.508 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003318/0.7501, allocations: 2.004 MB / 0.7942 GB, free: 5.434 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00132/0.7515, allocations: 0.7357 MB / 0.7949 GB, free: 4.699 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006766/0.7522, allocations: 429.7 kB / 0.7953 GB, free: 4.203 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001738/0.7539, allocations: 0.9319 MB / 0.7962 GB, free: 3.254 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=137): time 3.817e-06/0.7539, allocations: 0 / 0.7962 GB, free: 3.254 MB / 0.6075 GB Notification: Performance of matching and sorting (n=137): time 0.006944/0.7609, allocations: 2.829 MB / 0.799 GB, free: 320 kB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001411/0.7611, allocations: 197.2 kB / 0.7992 GB, free: 76 kB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002574/0.7636, allocations: 1.742 MB / 0.8009 GB, free: 14.32 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0002325/0.7639, allocations: 53.7 kB / 0.8009 GB, free: 14.26 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008508/0.7647, allocations: 0.8073 MB / 0.8017 GB, free: 13.44 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005155/0.7653, allocations: 465.2 kB / 0.8022 GB, free: 12.98 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004219/0.7657, allocations: 250.7 kB / 0.8024 GB, free: 12.73 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001784/0.7659, allocations: 353.9 kB / 0.8027 GB, free: 12.38 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001093/0.767, allocations: 0.5569 MB / 0.8033 GB, free: 11.82 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001343/0.7683, allocations: 0.7702 MB / 0.804 GB, free: 11 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002341/0.7707, allocations: 1.275 MB / 0.8053 GB, free: 9.715 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.919e-06/0.7707, allocations: 0 / 0.8053 GB, free: 9.715 MB / 0.6231 GB Notification: Performance of matching and sorting (n=150) (initialization): time 0.004111/0.7748, allocations: 1.725 MB / 0.807 GB, free: 7.965 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.665e-05/0.7749, allocations: 8 kB / 0.807 GB, free: 7.957 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.117e-06/0.7749, allocations: 0 / 0.807 GB, free: 7.957 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001125/0.776, allocations: 220.2 kB / 0.8072 GB, free: 7.727 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001532/0.7776, allocations: 315.5 kB / 0.8075 GB, free: 7.418 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007006/0.7846, allocations: 7.315 MB / 0.8146 GB, free: 15.4 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001746/0.7864, allocations: 161.6 kB / 0.8148 GB, free: 15.24 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000138/0.7865, allocations: 51.95 kB / 0.8148 GB, free: 15.19 MB / 0.6387 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.0009955/0.7875, allocations: 477.4 kB / 0.8153 GB, free: 14.71 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004447/0.788, allocations: 169.8 kB / 0.8154 GB, free: 14.55 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004714/0.7927, allocations: 2.03 MB / 0.8174 GB, free: 12.49 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.843e-05/0.7927, allocations: 15.98 kB / 0.8174 GB, free: 12.47 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.296e-05/0.7928, allocations: 4 kB / 0.8174 GB, free: 12.47 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.646e-05/0.7928, allocations: 7.969 kB / 0.8175 GB, free: 12.46 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008528/0.8013, allocations: 3.798 MB / 0.8212 GB, free: 8.586 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.053e-06/0.8014, allocations: 4 kB / 0.8212 GB, free: 8.582 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001453/0.8028, allocations: 311.6 kB / 0.8215 GB, free: 8.277 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009595/0.8038, allocations: 204.1 kB / 0.8217 GB, free: 8.062 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001426/0.804, allocations: 43.91 kB / 0.8217 GB, free: 8.02 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007889/0.8119, allocations: 7.337 MB / 0.8289 GB, free: 15.98 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.549e-06/0.8119, allocations: 0 / 0.8289 GB, free: 15.98 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005057/0.817, allocations: 1.892 MB / 0.8307 GB, free: 14.05 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001214/0.8182, allocations: 458.3 kB / 0.8312 GB, free: 13.58 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005567/0.8188, allocations: 35.88 kB / 0.8312 GB, free: 13.55 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001785/0.8206, allocations: 99.91 kB / 0.8313 GB, free: 13.45 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003063/0.8209, allocations: 109.1 kB / 0.8314 GB, free: 13.34 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002177/0.8211, allocations: 63.95 kB / 0.8314 GB, free: 13.28 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.002314/0.8235, allocations: 1.248 MB / 0.8327 GB, free: 12.04 MB / 0.6544 GB Notification: Performance of sort global known variables: time 4e-07/0.8235, allocations: 0 / 0.8327 GB, free: 12.04 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.002277/0.8258, allocations: 0.643 MB / 0.8333 GB, free: 11.39 MB / 0.6544 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.002557/0.8283, allocations: 0.7464 MB / 0.834 GB, free: 10.85 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.006174/0.8345, allocations: 2.415 MB / 0.8364 GB, free: 8.367 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.282e-05/0.8346, allocations: 4.797 kB / 0.8364 GB, free: 8.363 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.002701/0.8373, allocations: 1.372 MB / 0.8377 GB, free: 6.93 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003175/0.8405, allocations: 0.5262 MB / 0.8382 GB, free: 6.426 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009231/0.8497, allocations: 4.55 MB / 0.8427 GB, free: 1.848 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001726/0.8515, allocations: 1.501 MB / 0.8441 GB, free: 324 kB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.002452/0.854, allocations: 496.2 kB / 0.8446 GB, free: 15.83 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006518/0.8546, allocations: 163.4 kB / 0.8448 GB, free: 15.67 MB / 0.67 GB Notification: Performance of SimCode: time 7.91e-07/0.8547, allocations: 3.938 kB / 0.8448 GB, free: 15.66 MB / 0.67 GB Notification: Performance of Templates: time 0.3065/1.161, allocations: 29.82 MB / 0.8739 GB, free: 215 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)