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.001139/0.001139, allocations: 91.45 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.008963/0.008964, allocations: 170.5 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.402/1.402, allocations: 223.2 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7418/0.7418, allocations: 132.3 MB / 423.8 MB, free: 1.984 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003151/0.0003151, allocations: 8.234 kB / 0.5041 GB, free: 3.812 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.375/0.3753, allocations: 81.58 MB / 0.5837 GB, free: 3.867 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.Outside_CpData_Specification): time 0.1569/0.5322, allocations: 149.5 MB / 0.7297 GB, free: 10.29 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01244/0.5447, allocations: 10.3 MB / 0.7398 GB, free: 15.96 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006738/0.5454, allocations: 19.78 kB / 0.7398 GB, free: 15.94 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0006591/0.5461, allocations: 218.5 kB / 0.74 GB, free: 15.73 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.00192/0.548, allocations: 0.7606 MB / 0.7407 GB, free: 14.97 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.00197/0.55, allocations: 0.9022 MB / 0.7416 GB, free: 14.08 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001337/0.5513, allocations: 1.496 MB / 0.7431 GB, free: 12.57 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001188/0.5525, allocations: 0.9937 MB / 0.7441 GB, free: 11.55 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00156/0.5541, allocations: 0.5035 MB / 0.7446 GB, free: 11.07 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005045/0.5546, allocations: 449.6 kB / 0.745 GB, free: 10.62 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 7.68e-05/0.5547, allocations: 24 kB / 0.745 GB, free: 10.6 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001487/0.5562, allocations: 0.9282 MB / 0.7459 GB, free: 9.672 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002296/0.5564, allocations: 243 kB / 0.7461 GB, free: 9.434 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0004232/0.5568, allocations: 0.5063 MB / 0.7466 GB, free: 8.918 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001982/0.5588, allocations: 1.939 MB / 0.7485 GB, free: 6.973 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.5589, allocations: 4 kB / 0.7485 GB, free: 6.969 MB / 0.5762 GB Notification: Performance of FrontEnd: time 3.777e-06/0.5589, allocations: 0 / 0.7485 GB, free: 6.969 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.307e-05/0.5589, allocations: 3.938 kB / 0.7485 GB, free: 6.965 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.002319/0.5612, allocations: 1.381 MB / 0.7499 GB, free: 5.535 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.835e-05/0.5613, allocations: 12.03 kB / 0.7499 GB, free: 5.523 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001901/0.5614, allocations: 147.7 kB / 0.75 GB, free: 5.371 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001566/0.563, allocations: 274.2 kB / 0.7503 GB, free: 5.102 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00128/0.5643, allocations: 1.015 MB / 0.7513 GB, free: 4.043 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.686e-05/0.5644, allocations: 77.94 kB / 0.7514 GB, free: 3.965 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001259/0.5645, allocations: 88 kB / 0.7514 GB, free: 3.879 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001861/0.5664, allocations: 1.051 MB / 0.7525 GB, free: 2.789 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.198e-05/0.5664, allocations: 4 kB / 0.7525 GB, free: 2.785 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.85e-05/0.5665, allocations: 40 kB / 0.7525 GB, free: 2.746 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.934e-05/0.5665, allocations: 27.94 kB / 0.7525 GB, free: 2.719 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002206/0.5688, allocations: 1.284 MB / 0.7538 GB, free: 1.43 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.004755/0.5735, allocations: 3.162 MB / 0.7569 GB, free: 14.16 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001772/0.5753, allocations: 1.034 MB / 0.7579 GB, free: 13.1 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007456/0.5761, allocations: 395.7 kB / 0.7583 GB, free: 12.71 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002288/0.5763, allocations: 138.1 kB / 0.7584 GB, free: 12.56 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001008/0.5773, allocations: 0.5518 MB / 0.7589 GB, free: 11.99 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=86): time 2.325e-06/0.5774, allocations: 0 / 0.7589 GB, free: 11.99 MB / 0.5919 GB Notification: Performance of matching and sorting (n=86): time 0.003935/0.5813, allocations: 1.538 MB / 0.7604 GB, free: 10.41 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001072/0.5814, allocations: 192.9 kB / 0.7606 GB, free: 10.18 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001135/0.5826, allocations: 0.9851 MB / 0.7616 GB, free: 9.184 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 7.497e-05/0.5826, allocations: 49.64 kB / 0.7616 GB, free: 9.129 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003463/0.583, allocations: 444.4 kB / 0.7621 GB, free: 8.688 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002353/0.5832, allocations: 287.8 kB / 0.7623 GB, free: 8.402 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.926e-05/0.5833, allocations: 65.69 kB / 0.7624 GB, free: 8.332 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001259/0.5835, allocations: 333.9 kB / 0.7627 GB, free: 8 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006809/0.5842, allocations: 313.8 kB / 0.763 GB, free: 7.691 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007818/0.585, allocations: 445.1 kB / 0.7634 GB, free: 7.223 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00144/0.5864, allocations: 0.7296 MB / 0.7642 GB, free: 6.48 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.5864, allocations: 0 / 0.7642 GB, free: 6.48 MB / 0.5919 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.002307/0.5887, allocations: 0.9783 MB / 0.7651 GB, free: 5.488 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.779e-05/0.5888, allocations: 4 kB / 0.7651 GB, free: 5.484 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.755e-06/0.5888, allocations: 4 kB / 0.7651 GB, free: 5.48 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008174/0.5896, allocations: 109.7 kB / 0.7652 GB, free: 5.367 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008385/0.5905, allocations: 183.8 kB / 0.7654 GB, free: 5.188 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002964/0.5934, allocations: 2.867 MB / 0.7682 GB, free: 2.047 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007584/0.5942, allocations: 117.1 kB / 0.7683 GB, free: 1.934 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.579e-05/0.5943, allocations: 39.91 kB / 0.7683 GB, free: 1.895 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: 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.0004338/0.5947, allocations: 277.7 kB / 0.7686 GB, free: 1.613 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001417/0.5949, allocations: 98.88 kB / 0.7687 GB, free: 1.516 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002858/0.5977, allocations: 1.247 MB / 0.7699 GB, free: 260 kB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.005e-05/0.5978, allocations: 12 kB / 0.7699 GB, free: 248 kB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.5978, allocations: 0 / 0.7699 GB, free: 248 kB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.062e-05/0.5978, allocations: 3.984 kB / 0.7699 GB, free: 244 kB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003813/0.6016, allocations: 2.278 MB / 0.7722 GB, free: 13.89 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.847e-06/0.6016, allocations: 0 / 0.7722 GB, free: 13.89 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008192/0.6024, allocations: 195.7 kB / 0.7724 GB, free: 13.7 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006553/0.6031, allocations: 121.6 kB / 0.7725 GB, free: 13.58 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.094e-05/0.6032, allocations: 23.98 kB / 0.7725 GB, free: 13.55 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00274/0.6059, allocations: 2.875 MB / 0.7753 GB, free: 10.4 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.6059, allocations: 0 / 0.7753 GB, free: 10.4 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002343/0.6083, allocations: 1.157 MB / 0.7764 GB, free: 9.223 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003981/0.6087, allocations: 315.5 kB / 0.7767 GB, free: 8.895 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001145/0.6088, allocations: 16 kB / 0.7767 GB, free: 8.879 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007952/0.6096, allocations: 99.77 kB / 0.7768 GB, free: 8.781 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001497/0.6098, allocations: 68.89 kB / 0.7769 GB, free: 8.711 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.181e-05/0.6099, allocations: 35.98 kB / 0.7769 GB, free: 8.676 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0008314/0.6107, allocations: 0.7293 MB / 0.7777 GB, free: 7.953 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.11e-07/0.6107, allocations: 0 / 0.7777 GB, free: 7.953 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001017/0.6117, allocations: 411.2 kB / 0.778 GB, free: 7.551 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.003906/0.6157, allocations: 2.325 MB / 0.7803 GB, free: 5.422 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001863/0.6175, allocations: 1.045 MB / 0.7813 GB, free: 4.352 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.6175, allocations: 0 / 0.7813 GB, free: 4.352 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.00109/0.6186, allocations: 0.7098 MB / 0.782 GB, free: 3.621 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001349/0.62, allocations: 305.1 kB / 0.7823 GB, free: 3.328 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01442/0.6344, allocations: 8.801 MB / 0.7909 GB, free: 10.3 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006406/0.6351, allocations: 1.08 MB / 0.792 GB, free: 9.195 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0009371/0.636, allocations: 303.2 kB / 0.7923 GB, free: 8.895 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005611/0.6366, allocations: 435.2 kB / 0.7927 GB, free: 8.469 MB / 0.6231 GB Notification: Performance of SimCode: time 4.4e-07/0.6366, allocations: 0 / 0.7927 GB, free: 8.469 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1932/0.8298, allocations: 24.89 MB / 0.817 GB, free: 24 kB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.2926/1.123, allocations: 276.8 kB / 0.8172 GB, free: 226.1 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.765/3.888, allocations: 0.75 kB / 0.8172 GB, free: 226.1 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)