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.00088/0.00088, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.0008443/0.0008444, allocations: 177.3 kB / 15.94 MB, free: 228 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.224/1.224, allocations: 223.2 MB / 239.9 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8757/0.8757, allocations: 135.2 MB / 426.2 MB, free: 14.37 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002827/0.0002827, allocations: 8 kB / 0.5068 GB, free: 5.266 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1468/0.1471, allocations: 82.31 MB / 0.5872 GB, free: 3.125 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.Outside_CpData): time 0.389/0.5362, allocations: 140.1 MB / 0.724 GB, free: 8.883 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.01742/0.5536, allocations: 14.07 MB / 0.7377 GB, free: 15.09 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001083/0.5547, allocations: 24.91 kB / 0.7377 GB, free: 15.08 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001021/0.5558, allocations: 343.9 kB / 0.7381 GB, free: 14.89 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.00345/0.5592, allocations: 1.296 MB / 0.7393 GB, free: 14.14 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002753/0.562, allocations: 1.082 MB / 0.7404 GB, free: 13.6 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001878/0.5639, allocations: 1.507 MB / 0.7419 GB, free: 12.81 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001524/0.5654, allocations: 1.467 MB / 0.7433 GB, free: 12.22 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001219/0.5667, allocations: 0.8931 MB / 0.7442 GB, free: 11.43 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006596/0.5673, allocations: 0.659 MB / 0.7448 GB, free: 10.88 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001144/0.5674, allocations: 44 kB / 0.7448 GB, free: 10.84 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001975/0.5694, allocations: 0.9811 MB / 0.7458 GB, free: 10.04 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.000431/0.5699, allocations: 0.548 MB / 0.7463 GB, free: 9.613 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0002914/0.5702, allocations: 398.9 kB / 0.7467 GB, free: 9.219 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002183/0.5724, allocations: 2.536 MB / 0.7492 GB, free: 6.688 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 2.224e-06/0.5724, allocations: 0 / 0.7492 GB, free: 6.688 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.432e-06/0.5724, allocations: 0 / 0.7492 GB, free: 6.688 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.776e-05/0.5724, allocations: 0 / 0.7492 GB, free: 6.688 MB / 0.5606 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.003254/0.5757, allocations: 2.321 MB / 0.7515 GB, free: 4.305 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 2.867e-05/0.5757, allocations: 12.03 kB / 0.7515 GB, free: 4.293 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003139/0.5788, allocations: 0.5707 MB / 0.752 GB, free: 3.719 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003367/0.5822, allocations: 3.281 MB / 0.7552 GB, free: 396 kB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.89e-05/0.5823, allocations: 123.3 kB / 0.7554 GB, free: 272 kB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001745/0.5825, allocations: 164 kB / 0.7555 GB, free: 108 kB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002694/0.5852, allocations: 1.859 MB / 0.7573 GB, free: 14.2 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.398e-05/0.5852, allocations: 0 / 0.7573 GB, free: 14.2 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001361/0.5854, allocations: 68 kB / 0.7574 GB, free: 14.13 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.663e-05/0.5854, allocations: 40 kB / 0.7574 GB, free: 14.09 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002921/0.5883, allocations: 2.043 MB / 0.7594 GB, free: 12.04 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.007265/0.5956, allocations: 6.095 MB / 0.7654 GB, free: 5.695 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002639/0.5983, allocations: 1.743 MB / 0.7671 GB, free: 3.957 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001313/0.5984, allocations: 73.31 kB / 0.7671 GB, free: 3.887 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001325/0.5997, allocations: 0.9231 MB / 0.768 GB, free: 2.945 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=137): time 2.184e-06/0.5998, allocations: 0 / 0.768 GB, free: 2.945 MB / 0.5762 GB Notification: Performance of matching and sorting (n=137): time 0.005488/0.6053, allocations: 2.843 MB / 0.7708 GB, free: 15.99 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.798e-05/0.6054, allocations: 197.2 kB / 0.771 GB, free: 15.75 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003687/0.609, allocations: 3.999 MB / 0.7749 GB, free: 11.74 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0001109/0.6092, allocations: 53.7 kB / 0.775 GB, free: 11.68 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006121/0.6098, allocations: 0.8628 MB / 0.7758 GB, free: 10.81 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.000303/0.6101, allocations: 457.3 kB / 0.7762 GB, free: 10.36 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.049e-05/0.6102, allocations: 24 kB / 0.7763 GB, free: 10.33 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001193/0.6103, allocations: 345.9 kB / 0.7766 GB, free: 9.988 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008885/0.6112, allocations: 0.5374 MB / 0.7771 GB, free: 9.453 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001043/0.6122, allocations: 0.7559 MB / 0.7779 GB, free: 8.633 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009747/0.6132, allocations: 0.6154 MB / 0.7785 GB, free: 8.02 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.6132, allocations: 0 / 0.7785 GB, free: 8.02 MB / 0.5919 GB Notification: Performance of matching and sorting (n=142) (initialization): time 0.003007/0.6162, allocations: 1.686 MB / 0.7801 GB, free: 6.309 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.622e-05/0.6163, allocations: 4 kB / 0.7801 GB, free: 6.305 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.6163, allocations: 0 / 0.7801 GB, free: 6.305 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009482/0.6172, allocations: 216.2 kB / 0.7803 GB, free: 6.078 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001328/0.6186, allocations: 307.6 kB / 0.7806 GB, free: 5.777 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00502/0.6236, allocations: 6.854 MB / 0.7873 GB, free: 14.26 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00115/0.6248, allocations: 161.3 kB / 0.7875 GB, free: 14.1 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.569e-05/0.6249, allocations: 55.97 kB / 0.7875 GB, free: 14.05 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: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (132): * Single equations (assignments): 127 * 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.0006933/0.6256, allocations: 469.4 kB / 0.788 GB, free: 13.58 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002291/0.6258, allocations: 181.8 kB / 0.7881 GB, free: 13.4 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003758/0.6296, allocations: 2.039 MB / 0.7901 GB, free: 11.33 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.083e-05/0.6296, allocations: 16 kB / 0.7901 GB, free: 11.31 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.227e-06/0.6296, allocations: 3.984 kB / 0.7901 GB, free: 11.31 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.283e-05/0.6296, allocations: 3.984 kB / 0.7902 GB, free: 11.3 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005382/0.635, allocations: 3.758 MB / 0.7938 GB, free: 7.449 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.292e-06/0.635, allocations: 4 kB / 0.7938 GB, free: 7.445 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001318/0.6363, allocations: 315.9 kB / 0.7941 GB, free: 7.137 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008761/0.6372, allocations: 228 kB / 0.7943 GB, free: 6.898 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.718e-05/0.6373, allocations: 39.97 kB / 0.7944 GB, free: 6.859 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004857/0.6422, allocations: 6.867 MB / 0.8011 GB, free: 15.32 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.208e-06/0.6422, allocations: 4.156 kB / 0.8011 GB, free: 15.32 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003362/0.6456, allocations: 2.09 MB / 0.8031 GB, free: 13.12 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007841/0.6464, allocations: 0.502 MB / 0.8036 GB, free: 12.59 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001973/0.6466, allocations: 32 kB / 0.8037 GB, free: 12.56 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001122/0.6477, allocations: 138.2 kB / 0.8038 GB, free: 12.43 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001672/0.6479, allocations: 105.1 kB / 0.8039 GB, free: 12.33 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000123/0.648, allocations: 63.95 kB / 0.8039 GB, free: 12.27 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.002728/0.6507, allocations: 3.08 MB / 0.807 GB, free: 9.191 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.6e-07/0.6508, allocations: 0 / 0.807 GB, free: 9.191 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001462/0.6522, allocations: 0.643 MB / 0.8076 GB, free: 8.547 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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.001403/0.6536, allocations: 0.7477 MB / 0.8083 GB, free: 8 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.002689/0.6563, allocations: 1.965 MB / 0.8102 GB, free: 5.973 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.6564, allocations: 0.7969 kB / 0.8102 GB, free: 5.973 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.001721/0.6581, allocations: 1.38 MB / 0.8116 GB, free: 4.527 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001718/0.6598, allocations: 476.5 kB / 0.812 GB, free: 4.066 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006336/0.6662, allocations: 4.484 MB / 0.8164 GB, free: 15.53 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001016/0.6672, allocations: 1.544 MB / 0.8179 GB, free: 13.95 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001678/0.6689, allocations: 0.5127 MB / 0.8184 GB, free: 13.43 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004195/0.6693, allocations: 183.3 kB / 0.8186 GB, free: 13.25 MB / 0.6387 GB Notification: Performance of SimCode: time 5.31e-07/0.6693, allocations: 0 / 0.8186 GB, free: 13.25 MB / 0.6387 GB Notification: Performance of Templates: time 0.04341/0.7127, allocations: 30.02 MB / 0.8479 GB, free: 15.49 MB / 0.67 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: