Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Sources.Examples.Outside_CpData_Specification.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_Specification,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Sources.Examples.Outside_CpData_Specification") translateModel(IDEAS.Fluid.Sources.Examples.Outside_CpData_Specification,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Sources.Examples.Outside_CpData_Specification") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007955/0.0007956, 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.005352/0.005352, allocations: 173.1 kB / 16.26 MB, free: 6.613 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.44/1.44, allocations: 223.2 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8302/0.8302, allocations: 132.4 MB / 423.8 MB, free: 1.961 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005346/0.0005343, allocations: 8 kB / 0.504 GB, free: 3.918 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.466/0.4665, allocations: 81.58 MB / 0.5837 GB, free: 4.039 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.Outside_CpData_Specification): time 0.1814/0.6479, allocations: 149.5 MB / 0.7296 GB, free: 10.46 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01521/0.6632, allocations: 10.3 MB / 0.7397 GB, free: 132 kB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009769/0.6642, allocations: 15.94 kB / 0.7397 GB, free: 116 kB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0011/0.6653, allocations: 218.6 kB / 0.7399 GB, free: 15.89 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.002842/0.6682, allocations: 0.7562 MB / 0.7407 GB, free: 15.14 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002548/0.6707, allocations: 0.9094 MB / 0.7415 GB, free: 14.25 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001988/0.6727, allocations: 1.499 MB / 0.743 GB, free: 12.74 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00157/0.6743, allocations: 1.001 MB / 0.744 GB, free: 11.71 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001946/0.6763, allocations: 0.4956 MB / 0.7445 GB, free: 11.23 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006973/0.677, allocations: 445.6 kB / 0.7449 GB, free: 10.79 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001451/0.6771, allocations: 28 kB / 0.7449 GB, free: 10.76 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001873/0.679, allocations: 0.9243 MB / 0.7458 GB, free: 9.836 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003134/0.6794, allocations: 235 kB / 0.7461 GB, free: 9.605 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0005934/0.68, allocations: 0.5063 MB / 0.7465 GB, free: 9.09 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.002598/0.6826, allocations: 1.92 MB / 0.7484 GB, free: 7.168 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.6826, allocations: 4 kB / 0.7484 GB, free: 7.164 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.644e-06/0.6826, allocations: 0 / 0.7484 GB, free: 7.164 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.276e-05/0.6826, allocations: 0 / 0.7484 GB, free: 7.164 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: 232 * Number of variables: 232 Notification: Performance of Generate backend data structure: time 0.00269/0.6853, allocations: 1.353 MB / 0.7497 GB, free: 5.762 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.196e-05/0.6854, allocations: 12.03 kB / 0.7498 GB, free: 5.75 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00172/0.6871, allocations: 270.2 kB / 0.75 GB, free: 5.484 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001366/0.6885, allocations: 0.8512 MB / 0.7508 GB, free: 4.59 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.176e-05/0.6886, allocations: 70 kB / 0.7509 GB, free: 4.52 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001469/0.6887, allocations: 88 kB / 0.751 GB, free: 4.434 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002023/0.6908, allocations: 1.051 MB / 0.752 GB, free: 3.344 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.739e-05/0.6908, allocations: 7.984 kB / 0.752 GB, free: 3.336 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000108/0.6909, allocations: 44 kB / 0.7521 GB, free: 3.293 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.194e-05/0.6909, allocations: 20 kB / 0.7521 GB, free: 3.273 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002304/0.6933, allocations: 1.28 MB / 0.7533 GB, free: 1.988 MB / 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.005595/0.6989, allocations: 3.111 MB / 0.7564 GB, free: 14.77 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002115/0.701, allocations: 1.026 MB / 0.7574 GB, free: 13.72 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007934/0.7018, allocations: 399.7 kB / 0.7578 GB, free: 13.32 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002849/0.7021, allocations: 142 kB / 0.7579 GB, free: 13.17 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001047/0.7032, allocations: 0.5436 MB / 0.7584 GB, free: 12.61 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=86): time 4.368e-06/0.7032, allocations: 3.938 kB / 0.7584 GB, free: 12.6 MB / 0.5919 GB Notification: Performance of matching and sorting (n=86): time 0.00417/0.7074, allocations: 1.542 MB / 0.7599 GB, free: 11.02 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001141/0.7075, allocations: 196.9 kB / 0.7601 GB, free: 10.78 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001152/0.7087, allocations: 0.7624 MB / 0.7609 GB, free: 10.01 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0001076/0.7088, allocations: 41.7 kB / 0.7609 GB, free: 9.965 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004709/0.7093, allocations: 444.4 kB / 0.7613 GB, free: 9.523 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002819/0.7095, allocations: 287.8 kB / 0.7616 GB, free: 9.238 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001297/0.7097, allocations: 69.67 kB / 0.7617 GB, free: 9.164 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001541/0.7098, allocations: 341.9 kB / 0.762 GB, free: 8.824 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000727/0.7106, allocations: 325.8 kB / 0.7623 GB, free: 8.504 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008685/0.7115, allocations: 453.6 kB / 0.7627 GB, free: 8.039 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001483/0.713, allocations: 0.753 MB / 0.7635 GB, free: 7.273 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.386e-06/0.713, allocations: 0 / 0.7635 GB, free: 7.273 MB / 0.5919 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002434/0.7154, allocations: 1.033 MB / 0.7645 GB, free: 6.227 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.046e-05/0.7154, allocations: 4 kB / 0.7645 GB, free: 6.223 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.087e-06/0.7155, allocations: 4 kB / 0.7645 GB, free: 6.219 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007793/0.7162, allocations: 113.6 kB / 0.7646 GB, free: 6.102 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008781/0.7171, allocations: 195.7 kB / 0.7648 GB, free: 5.91 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003105/0.7202, allocations: 2.848 MB / 0.7676 GB, free: 2.789 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00105/0.7213, allocations: 121.2 kB / 0.7677 GB, free: 2.672 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001013/0.7214, allocations: 39.95 kB / 0.7677 GB, free: 2.633 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: 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 (96): * Single equations (assignments): 94 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0006139/0.722, allocations: 291.2 kB / 0.768 GB, free: 2.34 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002047/0.7223, allocations: 90.88 kB / 0.7681 GB, free: 2.25 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002964/0.7252, allocations: 1.251 MB / 0.7693 GB, free: 0.9844 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.538e-05/0.7253, allocations: 11.98 kB / 0.7693 GB, free: 0.9727 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.403e-06/0.7253, allocations: 4 kB / 0.7693 GB, free: 0.9688 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.093e-05/0.7253, allocations: 3.984 kB / 0.7693 GB, free: 0.9648 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004175/0.7295, allocations: 2.258 MB / 0.7715 GB, free: 14.64 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.66e-06/0.7295, allocations: 0 / 0.7715 GB, free: 14.64 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008433/0.7303, allocations: 183.8 kB / 0.7717 GB, free: 14.46 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000665/0.731, allocations: 117.6 kB / 0.7718 GB, free: 14.34 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.582e-05/0.7311, allocations: 27.98 kB / 0.7719 GB, free: 14.31 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003121/0.7343, allocations: 2.883 MB / 0.7747 GB, free: 11.15 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.7343, allocations: 0 / 0.7747 GB, free: 11.15 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00308/0.7374, allocations: 1.153 MB / 0.7758 GB, free: 9.977 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000667/0.7381, allocations: 311.5 kB / 0.7761 GB, free: 9.652 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002053/0.7383, allocations: 20 kB / 0.7761 GB, free: 9.633 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009313/0.7392, allocations: 95.86 kB / 0.7762 GB, free: 9.539 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001829/0.7394, allocations: 68.84 kB / 0.7763 GB, free: 9.469 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001004/0.7395, allocations: 39.97 kB / 0.7763 GB, free: 9.43 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0008608/0.7404, allocations: 0.5381 MB / 0.7768 GB, free: 8.898 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.61e-07/0.7404, allocations: 0 / 0.7768 GB, free: 8.898 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001426/0.7418, allocations: 423.2 kB / 0.7772 GB, free: 8.484 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: 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 (95): * Single equations (assignments): 91 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(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.001988/0.7438, allocations: 0.6974 MB / 0.7779 GB, free: 8.004 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.002418/0.7463, allocations: 1.092 MB / 0.779 GB, free: 6.891 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.479e-06/0.7463, allocations: 3.938 kB / 0.779 GB, free: 6.887 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.00135/0.7476, allocations: 0.706 MB / 0.7797 GB, free: 6.152 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001847/0.7495, allocations: 312.7 kB / 0.78 GB, free: 5.855 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005638/0.7552, allocations: 2.554 MB / 0.7825 GB, free: 3.281 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008458/0.756, allocations: 1.075 MB / 0.7835 GB, free: 2.172 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.001378/0.7574, allocations: 303 kB / 0.7838 GB, free: 1.871 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003635/0.7578, allocations: 111.4 kB / 0.7839 GB, free: 1.762 MB / 0.6075 GB Notification: Performance of SimCode: time 6.11e-07/0.7578, allocations: 0 / 0.7839 GB, free: 1.762 MB / 0.6075 GB Notification: Performance of Templates: time 0.03432/0.7922, allocations: 17.67 MB / 0.8012 GB, free: 316 kB / 0.6231 GB make -j1 -f IDEAS_IDEAS.Fluid.Sources.Examples.Outside_CpData_Specification.makefile (rm -f IDEAS_IDEAS.Fluid.Sources.Examples.Outside_CpData_Specification.pipe ; mkfifo IDEAS_IDEAS.Fluid.Sources.Examples.Outside_CpData_Specification.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Sources.Examples.Outside_CpData_Specification.pipe >> ../files/IDEAS_IDEAS.Fluid.Sources.Examples.Outside_CpData_Specification.sim & ./IDEAS_IDEAS.Fluid.Sources.Examples.Outside_CpData_Specification -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Sources.Examples.Outside_CpData_Specification.pipe 2>&1)