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: "" <> buildModelFMU(IDEAS.Fluid.Sources.Examples.Outside_CpData_Specification,fileNamePrefix="IDEAS_IDEAS_Fluid_Sources_Examples_Outside_CpData_Specification",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sources.Examples.Outside_CpData_Specification,fileNamePrefix="IDEAS_IDEAS_Fluid_Sources_Examples_Outside_CpData_Specification",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001184/0.001184, 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.0009995/0.0009994, allocations: 195.7 kB / 16.25 MB, free: 6.621 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.189/1.189, allocations: 222.9 MB / 239.9 MB, free: 4.516 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6755/0.6755, allocations: 132.2 MB / 422.3 MB, free: 1.898 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0011/0.0011, allocations: 63.34 kB / 0.5014 GB, free: 4.098 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3205/0.3216, allocations: 80.2 MB / 0.5797 GB, free: 4.535 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.Outside_CpData_Specification): time 0.1425/0.4641, allocations: 151.6 MB / 0.7277 GB, free: 9.527 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01095/0.4751, allocations: 10.27 MB / 0.7378 GB, free: 15.23 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004563/0.4755, allocations: 23.88 kB / 0.7378 GB, free: 15.2 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0007554/0.4763, allocations: 218.5 kB / 0.738 GB, free: 14.99 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.002381/0.4787, allocations: 0.806 MB / 0.7388 GB, free: 14.19 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0021/0.4808, allocations: 0.9378 MB / 0.7397 GB, free: 13.26 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001629/0.4825, allocations: 1.5 MB / 0.7412 GB, free: 11.75 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001449/0.4839, allocations: 1.145 MB / 0.7423 GB, free: 10.57 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00166/0.4856, allocations: 0.6571 MB / 0.7429 GB, free: 9.93 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006006/0.4862, allocations: 0.5678 MB / 0.7435 GB, free: 9.359 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001377/0.4864, allocations: 124 kB / 0.7436 GB, free: 9.238 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001617/0.488, allocations: 0.9947 MB / 0.7446 GB, free: 8.242 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002641/0.4883, allocations: 358.9 kB / 0.7449 GB, free: 7.891 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0004656/0.4887, allocations: 0.6101 MB / 0.7455 GB, free: 7.277 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.002095/0.4908, allocations: 2.045 MB / 0.7475 GB, free: 5.227 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.4908, allocations: 0 / 0.7475 GB, free: 5.227 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.032e-06/0.4909, allocations: 0 / 0.7475 GB, free: 5.227 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.661e-05/0.4909, allocations: 0 / 0.7475 GB, free: 5.227 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.002438/0.4933, allocations: 1.63 MB / 0.7491 GB, free: 3.539 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.504e-05/0.4934, allocations: 8.031 kB / 0.7491 GB, free: 3.531 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001838/0.4936, allocations: 139.7 kB / 0.7492 GB, free: 3.387 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001465/0.495, allocations: 262.2 kB / 0.7495 GB, free: 3.129 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001197/0.4962, allocations: 1.031 MB / 0.7505 GB, free: 2.055 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.66e-05/0.4963, allocations: 69.94 kB / 0.7506 GB, free: 1.988 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001166/0.4964, allocations: 88 kB / 0.7506 GB, free: 1.902 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001733/0.4982, allocations: 1.043 MB / 0.7517 GB, free: 0.8164 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.909e-05/0.4982, allocations: 4 kB / 0.7517 GB, free: 0.8125 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.331e-05/0.4983, allocations: 36 kB / 0.7517 GB, free: 0.7773 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.933e-05/0.4983, allocations: 24 kB / 0.7517 GB, free: 0.7539 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00196/0.5003, allocations: 1.268 MB / 0.753 GB, free: 15.48 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.004802/0.5051, allocations: 3.14 MB / 0.756 GB, free: 12.23 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001694/0.5068, allocations: 1.007 MB / 0.757 GB, free: 11.2 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000732/0.5075, allocations: 395.7 kB / 0.7574 GB, free: 10.82 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002281/0.5078, allocations: 134.1 kB / 0.7575 GB, free: 10.66 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009802/0.5088, allocations: 0.5439 MB / 0.758 GB, free: 10.11 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=86): time 2.023e-06/0.5088, allocations: 0 / 0.758 GB, free: 10.11 MB / 0.5919 GB Notification: Performance of matching and sorting (n=86): time 0.003613/0.5124, allocations: 1.506 MB / 0.7595 GB, free: 8.551 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.049e-05/0.5125, allocations: 188.9 kB / 0.7597 GB, free: 8.324 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001098/0.5136, allocations: 0.9813 MB / 0.7607 GB, free: 7.336 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 6.978e-05/0.5137, allocations: 49.69 kB / 0.7607 GB, free: 7.281 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.000307/0.514, allocations: 440.4 kB / 0.7611 GB, free: 6.844 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002056/0.5142, allocations: 295.8 kB / 0.7614 GB, free: 6.551 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002819/0.5145, allocations: 146.5 kB / 0.7615 GB, free: 6.402 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001184/0.5146, allocations: 341.9 kB / 0.7619 GB, free: 6.062 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006193/0.5152, allocations: 297.8 kB / 0.7622 GB, free: 5.77 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008169/0.5161, allocations: 445 kB / 0.7626 GB, free: 5.301 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001263/0.5173, allocations: 0.7101 MB / 0.7633 GB, free: 4.582 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.5173, allocations: 0 / 0.7633 GB, free: 4.582 MB / 0.5919 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.002148/0.5195, allocations: 0.9626 MB / 0.7642 GB, free: 3.602 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.448e-05/0.5195, allocations: 4 kB / 0.7642 GB, free: 3.598 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.993e-06/0.5195, allocations: 4 kB / 0.7642 GB, free: 3.594 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007519/0.5203, allocations: 113.7 kB / 0.7643 GB, free: 3.477 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007647/0.5211, allocations: 187.8 kB / 0.7645 GB, free: 3.293 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003239/0.5243, allocations: 3.053 MB / 0.7675 GB, free: 15.95 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007198/0.5251, allocations: 99.2 kB / 0.7676 GB, free: 15.86 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.244e-05/0.5251, allocations: 36.03 kB / 0.7676 GB, free: 15.82 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 (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 (88): * Single equations (assignments): 86 * 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.0003988/0.5255, allocations: 291.6 kB / 0.7679 GB, free: 15.53 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002298/0.5258, allocations: 98.81 kB / 0.768 GB, free: 15.43 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002618/0.5284, allocations: 1.239 MB / 0.7692 GB, free: 14.18 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.446e-06/0.5284, allocations: 11.94 kB / 0.7692 GB, free: 14.17 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.066e-06/0.5284, allocations: 0 / 0.7692 GB, free: 14.17 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.876e-06/0.5284, allocations: 3.984 kB / 0.7692 GB, free: 14.16 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003676/0.5321, allocations: 2.255 MB / 0.7714 GB, free: 11.85 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.647e-06/0.5321, allocations: 0 / 0.7714 GB, free: 11.85 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007551/0.5329, allocations: 183.8 kB / 0.7716 GB, free: 11.67 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005285/0.5334, allocations: 105.6 kB / 0.7717 GB, free: 11.56 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.557e-05/0.5335, allocations: 23.98 kB / 0.7717 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002813/0.5363, allocations: 3.096 MB / 0.7747 GB, free: 8.145 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.61e-07/0.5363, allocations: 0 / 0.7747 GB, free: 8.145 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002129/0.5385, allocations: 1.137 MB / 0.7759 GB, free: 6.984 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003399/0.5388, allocations: 307.5 kB / 0.7761 GB, free: 6.664 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001917/0.539, allocations: 23.92 kB / 0.7762 GB, free: 6.641 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007242/0.5397, allocations: 77.42 kB / 0.7762 GB, free: 6.566 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000137/0.5399, allocations: 64.91 kB / 0.7763 GB, free: 6.504 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.075e-05/0.54, allocations: 43.97 kB / 0.7763 GB, free: 6.461 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0007791/0.5408, allocations: 0.7177 MB / 0.777 GB, free: 5.746 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5408, allocations: 0 / 0.777 GB, free: 5.746 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0009501/0.5417, allocations: 415.1 kB / 0.7774 GB, free: 5.34 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.003703/0.5454, allocations: 2.297 MB / 0.7797 GB, free: 3.234 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.002471/0.5479, allocations: 1.256 MB / 0.7809 GB, free: 1.957 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.5479, allocations: 0 / 0.7809 GB, free: 1.957 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.001091/0.549, allocations: 0.6943 MB / 0.7816 GB, free: 1.238 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001219/0.5503, allocations: 344.1 kB / 0.7819 GB, free: 0.9336 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01336/0.5636, allocations: 8.686 MB / 0.7904 GB, free: 8.016 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005933/0.5642, allocations: 1.083 MB / 0.7915 GB, free: 6.906 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0008733/0.5651, allocations: 303.2 kB / 0.7917 GB, free: 6.605 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005276/0.5656, allocations: 435.2 kB / 0.7922 GB, free: 6.18 MB / 0.6231 GB Notification: Performance of SimCode: time 2.7e-07/0.5657, allocations: 0 / 0.7922 GB, free: 6.18 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7969/1.363, allocations: 25.9 MB / 0.8175 GB, free: 216.4 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001575/1.363, allocations: 278.9 kB / 0.8177 GB, free: 216 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.536/3.899, allocations: 0 / 0.8177 GB, free: 216 MB / 0.6387 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Sources_Examples_Outside_CpData_Specification_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Sources_Examples_Outside_CpData_Specification.fmu > IDEAS_IDEAS.Fluid.Sources.Examples.Outside_CpData_Specification.pipe 2>&1)