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.0008476/0.0008476, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.005277/0.005277, allocations: 169.9 kB / 16.26 MB, free: 6.676 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.444/1.444, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9894/0.9894, allocations: 135.3 MB / 426.7 MB, free: 14.26 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005492/0.0005493, allocations: 8 kB / 0.5076 GB, free: 4.793 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2097/0.2103, allocations: 82.3 MB / 0.588 GB, free: 2.66 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.Outside_CpData): time 0.5256/0.7359, allocations: 162.4 MB / 0.7466 GB, free: 6.066 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.02332/0.7593, allocations: 16.93 MB / 0.7631 GB, free: 9.152 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001999/0.7614, allocations: 28 kB / 0.7631 GB, free: 9.141 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001668/0.7631, allocations: 444.2 kB / 0.7635 GB, free: 8.75 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.005788/0.7689, allocations: 1.465 MB / 0.765 GB, free: 7.285 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003813/0.7727, allocations: 1.226 MB / 0.7662 GB, free: 6.082 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.003887/0.7766, allocations: 2.767 MB / 0.7689 GB, free: 3.305 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002498/0.7791, allocations: 1.676 MB / 0.7705 GB, free: 1.586 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004763/0.7839, allocations: 1.041 MB / 0.7715 GB, free: 0.5859 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001258/0.7852, allocations: 0.8201 MB / 0.7723 GB, free: 15.76 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001798/0.7854, allocations: 47.94 kB / 0.7724 GB, free: 15.71 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003019/0.7884, allocations: 1.516 MB / 0.7739 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0005258/0.7889, allocations: 0.5565 MB / 0.7744 GB, free: 13.64 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0009349/0.7899, allocations: 0.9255 MB / 0.7753 GB, free: 12.7 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.004052/0.7939, allocations: 3.208 MB / 0.7784 GB, free: 9.48 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 6.712e-06/0.794, allocations: 4 kB / 0.7784 GB, free: 9.477 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.813e-06/0.794, allocations: 4 kB / 0.7784 GB, free: 9.473 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 4.848e-05/0.794, allocations: 0 / 0.7784 GB, free: 9.473 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.003816/0.7979, allocations: 2.173 MB / 0.7806 GB, free: 7.238 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.738e-05/0.7979, allocations: 8.031 kB / 0.7806 GB, free: 7.23 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003689/0.8016, allocations: 0.563 MB / 0.7811 GB, free: 6.664 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002372/0.804, allocations: 1.561 MB / 0.7826 GB, free: 5.051 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001011/0.8041, allocations: 123.3 kB / 0.7828 GB, free: 4.93 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000212/0.8043, allocations: 163.9 kB / 0.7829 GB, free: 4.77 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003221/0.8075, allocations: 1.885 MB / 0.7848 GB, free: 2.832 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.874e-05/0.8076, allocations: 0 / 0.7848 GB, free: 2.832 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001642/0.8078, allocations: 68 kB / 0.7848 GB, free: 2.766 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.143e-05/0.8078, allocations: 43.94 kB / 0.7849 GB, free: 2.723 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003433/0.8112, allocations: 2.05 MB / 0.7869 GB, free: 0.668 MB / 0.5919 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.008356/0.8196, allocations: 5.588 MB / 0.7923 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003131/0.8228, allocations: 2.004 MB / 0.7943 GB, free: 8.746 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001235/0.824, allocations: 0.7374 MB / 0.795 GB, free: 8.004 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005813/0.8246, allocations: 433.7 kB / 0.7954 GB, free: 7.508 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001609/0.8262, allocations: 0.9388 MB / 0.7963 GB, free: 6.547 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=137): time 2.945e-06/0.8262, allocations: 0 / 0.7963 GB, free: 6.547 MB / 0.6075 GB Notification: Performance of matching and sorting (n=137): time 0.007047/0.8333, allocations: 2.852 MB / 0.7991 GB, free: 3.582 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001208/0.8334, allocations: 193.2 kB / 0.7993 GB, free: 3.352 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002372/0.8358, allocations: 1.742 MB / 0.801 GB, free: 1.598 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0001837/0.836, allocations: 57.7 kB / 0.8011 GB, free: 1.535 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007302/0.8368, allocations: 0.8073 MB / 0.8018 GB, free: 0.7148 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004464/0.8372, allocations: 461.3 kB / 0.8023 GB, free: 264 kB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001476/0.8374, allocations: 101.7 kB / 0.8024 GB, free: 156 kB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001765/0.8376, allocations: 345.9 kB / 0.8027 GB, free: 15.81 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001103/0.8387, allocations: 0.5686 MB / 0.8033 GB, free: 15.24 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001247/0.8399, allocations: 0.7701 MB / 0.804 GB, free: 14.42 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002243/0.8422, allocations: 1.282 MB / 0.8053 GB, free: 13.12 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.721e-06/0.8422, allocations: 0 / 0.8053 GB, free: 13.12 MB / 0.6231 GB Notification: Performance of matching and sorting (n=150) (initialization): time 0.003793/0.846, allocations: 1.737 MB / 0.807 GB, free: 11.36 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.235e-05/0.846, allocations: 8 kB / 0.807 GB, free: 11.36 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.197e-06/0.8461, allocations: 3.938 kB / 0.807 GB, free: 11.35 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001152/0.8472, allocations: 216.2 kB / 0.8072 GB, free: 11.12 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001499/0.8487, allocations: 319.6 kB / 0.8075 GB, free: 10.81 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005762/0.8545, allocations: 6.795 MB / 0.8141 GB, free: 3.348 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001697/0.8562, allocations: 180.3 kB / 0.8143 GB, free: 3.176 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001288/0.8564, allocations: 55.95 kB / 0.8144 GB, free: 3.121 MB / 0.6231 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.001001/0.8574, allocations: 465.5 kB / 0.8148 GB, free: 2.656 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003392/0.8577, allocations: 173.9 kB / 0.815 GB, free: 2.484 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004379/0.8621, allocations: 2.034 MB / 0.817 GB, free: 428 kB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.387e-05/0.8621, allocations: 16 kB / 0.817 GB, free: 412 kB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.214e-06/0.8622, allocations: 3.938 kB / 0.817 GB, free: 408 kB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.668e-05/0.8622, allocations: 11.97 kB / 0.817 GB, free: 396 kB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006654/0.8688, allocations: 3.808 MB / 0.8207 GB, free: 12.5 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.733e-06/0.8689, allocations: 0 / 0.8207 GB, free: 12.5 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001424/0.8703, allocations: 307.6 kB / 0.821 GB, free: 12.2 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001008/0.8714, allocations: 220.1 kB / 0.8212 GB, free: 11.97 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001156/0.8715, allocations: 35.97 kB / 0.8212 GB, free: 11.94 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006039/0.8775, allocations: 6.84 MB / 0.8279 GB, free: 4.43 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.8776, allocations: 0 / 0.8279 GB, free: 4.43 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004332/0.8819, allocations: 1.896 MB / 0.8298 GB, free: 2.496 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000922/0.8829, allocations: 474.3 kB / 0.8302 GB, free: 2.012 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002009/0.8831, allocations: 24 kB / 0.8302 GB, free: 1.988 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001246/0.8843, allocations: 134.2 kB / 0.8304 GB, free: 1.859 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002652/0.8846, allocations: 101.1 kB / 0.8305 GB, free: 1.762 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001507/0.8848, allocations: 75.89 kB / 0.8305 GB, free: 1.688 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001965/0.8867, allocations: 1.248 MB / 0.8318 GB, free: 452 kB / 0.6387 GB Notification: Performance of sort global known variables: time 4.11e-07/0.8867, allocations: 0 / 0.8318 GB, free: 452 kB / 0.6387 GB Notification: Performance of remove unused functions: time 0.002328/0.8891, allocations: 0.643 MB / 0.8324 GB, free: 15.8 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.00204/0.8911, allocations: 0.7442 MB / 0.8331 GB, free: 15.25 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.003547/0.8947, allocations: 2.004 MB / 0.8351 GB, free: 13.18 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.156e-05/0.8947, allocations: 4.797 kB / 0.8351 GB, free: 13.17 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.002057/0.8968, allocations: 1.383 MB / 0.8364 GB, free: 11.72 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002633/0.8994, allocations: 490.8 kB / 0.8369 GB, free: 11.25 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007744/0.9072, allocations: 4.617 MB / 0.8414 GB, free: 6.598 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00115/0.9084, allocations: 1.497 MB / 0.8429 GB, free: 5.066 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.002004/0.9104, allocations: 0.4924 MB / 0.8433 GB, free: 4.57 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004631/0.9108, allocations: 163.3 kB / 0.8435 GB, free: 4.41 MB / 0.6544 GB Notification: Performance of SimCode: time 2.595e-06/0.9109, allocations: 4 kB / 0.8435 GB, free: 4.406 MB / 0.6544 GB Notification: Performance of Templates: time 0.3533/1.264, allocations: 28.54 MB / 0.8714 GB, free: 208.6 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)