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.001042/0.001042, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.00106/0.001061, allocations: 190.3 kB / 16.13 MB, free: 6.664 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.29/1.29, allocations: 222.9 MB / 239.8 MB, free: 4.594 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7285/0.7285, allocations: 132.2 MB / 422.1 MB, free: 2.016 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001171/0.001171, allocations: 54.91 kB / 0.5012 GB, free: 4.246 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.347/0.3482, allocations: 80.21 MB / 0.5795 GB, free: 4.562 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.Outside_CpData_Specification): time 0.1554/0.5037, allocations: 151.5 MB / 0.7274 GB, free: 9.758 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01279/0.5165, allocations: 10.46 MB / 0.7376 GB, free: 15.27 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007257/0.5173, allocations: 23.81 kB / 0.7377 GB, free: 15.25 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0007436/0.518, allocations: 214.5 kB / 0.7379 GB, free: 15.04 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.002141/0.5202, allocations: 0.7608 MB / 0.7386 GB, free: 14.28 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002089/0.5223, allocations: 0.9054 MB / 0.7395 GB, free: 13.38 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.00136/0.5237, allocations: 1.5 MB / 0.7409 GB, free: 11.88 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001298/0.525, allocations: 1.055 MB / 0.742 GB, free: 10.79 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001682/0.5267, allocations: 0.5824 MB / 0.7425 GB, free: 10.22 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005521/0.5272, allocations: 0.5366 MB / 0.7431 GB, free: 9.68 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001286/0.5274, allocations: 60 kB / 0.7431 GB, free: 9.621 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001712/0.5291, allocations: 0.9555 MB / 0.7441 GB, free: 8.664 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002528/0.5293, allocations: 290.9 kB / 0.7443 GB, free: 8.379 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0004491/0.5298, allocations: 0.5515 MB / 0.7449 GB, free: 7.824 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001938/0.5317, allocations: 2.002 MB / 0.7468 GB, free: 5.816 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.5318, allocations: 0 / 0.7468 GB, free: 5.816 MB / 0.5762 GB Notification: Performance of FrontEnd: time 7.11e-07/0.5318, allocations: 0 / 0.7468 GB, free: 5.816 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.038e-05/0.5318, allocations: 0 / 0.7468 GB, free: 5.816 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.002553/0.5343, allocations: 1.614 MB / 0.7484 GB, free: 4.145 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.657e-05/0.5344, allocations: 15.97 kB / 0.7484 GB, free: 4.129 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001632/0.5345, allocations: 147.7 kB / 0.7486 GB, free: 3.977 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001572/0.5361, allocations: 262.2 kB / 0.7488 GB, free: 3.719 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001223/0.5374, allocations: 1.027 MB / 0.7498 GB, free: 2.648 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.067e-05/0.5374, allocations: 70 kB / 0.7499 GB, free: 2.582 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001098/0.5375, allocations: 88 kB / 0.75 GB, free: 2.496 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001699/0.5392, allocations: 1.039 MB / 0.751 GB, free: 1.414 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.66e-05/0.5393, allocations: 0 / 0.751 GB, free: 1.414 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.212e-05/0.5394, allocations: 44 kB / 0.751 GB, free: 1.371 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.763e-05/0.5394, allocations: 23.98 kB / 0.751 GB, free: 1.348 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002195/0.5416, allocations: 1.268 MB / 0.7523 GB, free: 80 kB / 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.004463/0.5461, allocations: 3.124 MB / 0.7553 GB, free: 12.84 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001655/0.5477, allocations: 1.014 MB / 0.7563 GB, free: 11.8 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006776/0.5484, allocations: 391.6 kB / 0.7567 GB, free: 11.42 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000231/0.5487, allocations: 138.1 kB / 0.7568 GB, free: 11.27 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009403/0.5496, allocations: 0.544 MB / 0.7574 GB, free: 10.71 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=86): time 2.294e-06/0.5496, allocations: 0 / 0.7574 GB, free: 10.71 MB / 0.5919 GB Notification: Performance of matching and sorting (n=86): time 0.003713/0.5533, allocations: 1.499 MB / 0.7588 GB, free: 9.16 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.059e-05/0.5534, allocations: 200.9 kB / 0.759 GB, free: 8.922 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001034/0.5545, allocations: 0.9812 MB / 0.76 GB, free: 7.934 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 7.077e-05/0.5546, allocations: 49.7 kB / 0.76 GB, free: 7.879 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003158/0.5549, allocations: 444.4 kB / 0.7605 GB, free: 7.438 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002022/0.5551, allocations: 283.8 kB / 0.7607 GB, free: 7.156 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002293/0.5553, allocations: 154.5 kB / 0.7609 GB, free: 7 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001076/0.5555, allocations: 337.9 kB / 0.7612 GB, free: 6.664 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006033/0.5561, allocations: 293.8 kB / 0.7615 GB, free: 6.375 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007261/0.5568, allocations: 441 kB / 0.7619 GB, free: 5.91 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001297/0.5581, allocations: 0.7101 MB / 0.7626 GB, free: 5.191 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.5581, allocations: 4 kB / 0.7626 GB, free: 5.188 MB / 0.5919 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.002182/0.5603, allocations: 0.9587 MB / 0.7635 GB, free: 4.211 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.591e-05/0.5603, allocations: 4 kB / 0.7635 GB, free: 4.207 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.755e-06/0.5603, allocations: 7.984 kB / 0.7635 GB, free: 4.199 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007255/0.5611, allocations: 113.7 kB / 0.7636 GB, free: 4.082 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008171/0.5619, allocations: 183.8 kB / 0.7638 GB, free: 3.902 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002779/0.5647, allocations: 2.858 MB / 0.7666 GB, free: 0.7773 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007162/0.5654, allocations: 103.3 kB / 0.7667 GB, free: 0.6758 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.428e-05/0.5655, allocations: 31.98 kB / 0.7667 GB, free: 0.6445 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.0004379/0.5659, allocations: 287.5 kB / 0.767 GB, free: 364 kB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001759/0.5661, allocations: 98.88 kB / 0.7671 GB, free: 264 kB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002687/0.5688, allocations: 1.216 MB / 0.7683 GB, free: 15.03 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.424e-06/0.5688, allocations: 11.94 kB / 0.7683 GB, free: 15.02 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.86e-06/0.5688, allocations: 4 kB / 0.7683 GB, free: 15.01 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.638e-06/0.5689, allocations: 3.984 kB / 0.7683 GB, free: 15.01 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003564/0.5724, allocations: 2.27 MB / 0.7705 GB, free: 12.68 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.547e-06/0.5724, allocations: 0 / 0.7705 GB, free: 12.68 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007719/0.5732, allocations: 179.8 kB / 0.7707 GB, free: 12.5 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006318/0.5739, allocations: 121.6 kB / 0.7708 GB, free: 12.38 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.87e-05/0.5739, allocations: 27.97 kB / 0.7708 GB, free: 12.35 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002693/0.5766, allocations: 2.875 MB / 0.7737 GB, free: 9.191 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.5766, allocations: 0 / 0.7737 GB, free: 9.191 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002308/0.579, allocations: 1.137 MB / 0.7748 GB, free: 8.031 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003656/0.5793, allocations: 303.5 kB / 0.7751 GB, free: 7.715 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001313/0.5795, allocations: 23.98 kB / 0.7751 GB, free: 7.691 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007608/0.5802, allocations: 71.94 kB / 0.7751 GB, free: 7.621 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001599/0.5804, allocations: 68.89 kB / 0.7752 GB, free: 7.555 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.625e-05/0.5805, allocations: 39.97 kB / 0.7752 GB, free: 7.516 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0008378/0.5814, allocations: 0.7332 MB / 0.776 GB, free: 6.785 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5814, allocations: 0 / 0.776 GB, free: 6.785 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001118/0.5825, allocations: 407.2 kB / 0.7764 GB, free: 6.387 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.004281/0.5868, allocations: 2.288 MB / 0.7786 GB, free: 4.285 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0019/0.5887, allocations: 1.025 MB / 0.7796 GB, free: 3.238 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.975e-06/0.5887, allocations: 4 kB / 0.7796 GB, free: 3.234 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.001153/0.5899, allocations: 0.6941 MB / 0.7803 GB, free: 2.516 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001316/0.5912, allocations: 309.5 kB / 0.7806 GB, free: 2.219 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01443/0.6056, allocations: 8.696 MB / 0.7891 GB, free: 9.297 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006559/0.6063, allocations: 1.08 MB / 0.7901 GB, free: 8.191 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.001011/0.6073, allocations: 306.4 kB / 0.7904 GB, free: 7.891 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005862/0.6079, allocations: 423.3 kB / 0.7908 GB, free: 7.477 MB / 0.6231 GB Notification: Performance of SimCode: time 4.31e-07/0.6079, allocations: 0 / 0.7908 GB, free: 7.477 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7058/1.314, allocations: 25.28 MB / 0.8155 GB, free: 215.5 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001597/1.314, allocations: 282.9 kB / 0.8158 GB, free: 215.1 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.551/3.865, allocations: 0 / 0.8158 GB, free: 215.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)