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.001377/0.001377, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001836/0.001836, allocations: 193.6 kB / 16.53 MB, free: 6.699 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.387/1.387, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7527/0.7527, allocations: 132.2 MB / 422.6 MB, free: 1.77 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001411/0.001411, allocations: 68.11 kB / 0.5019 GB, free: 8.668 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1473/0.1487, allocations: 80.2 MB / 0.5802 GB, free: 8.695 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.Outside_CpData_Specification): time 0.3947/0.5434, allocations: 153.8 MB / 0.7304 GB, free: 2.051 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.01261/0.556, allocations: 10.39 MB / 0.7405 GB, free: 10.7 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000949/0.557, allocations: 21.31 kB / 0.7405 GB, free: 10.69 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0008275/0.5579, allocations: 265.3 kB / 0.7408 GB, free: 10.52 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.002577/0.5605, allocations: 0.8903 MB / 0.7416 GB, free: 10.05 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002409/0.5629, allocations: 1.029 MB / 0.7426 GB, free: 9.32 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001492/0.5644, allocations: 1.506 MB / 0.7441 GB, free: 8.41 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001231/0.5656, allocations: 1.136 MB / 0.7452 GB, free: 7.648 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001401/0.5671, allocations: 0.6543 MB / 0.7459 GB, free: 7.266 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000537/0.5676, allocations: 0.5493 MB / 0.7464 GB, free: 6.879 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001426/0.5678, allocations: 123.1 kB / 0.7465 GB, free: 6.879 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001621/0.5694, allocations: 0.9902 MB / 0.7475 GB, free: 6.414 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.000261/0.5697, allocations: 357.6 kB / 0.7478 GB, free: 6.148 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0004428/0.5701, allocations: 0.6012 MB / 0.7484 GB, free: 5.699 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002236/0.5723, allocations: 2.042 MB / 0.7504 GB, free: 4.281 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.5724, allocations: 0 / 0.7504 GB, free: 4.281 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.322e-06/0.5724, allocations: 0 / 0.7504 GB, free: 4.281 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.453e-05/0.5724, allocations: 0 / 0.7504 GB, free: 4.281 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: 232 * Number of variables: 232 Notification: Performance of Generate backend data structure: time 0.002313/0.5747, allocations: 1.625 MB / 0.752 GB, free: 2.824 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.128e-05/0.5747, allocations: 12.03 kB / 0.752 GB, free: 2.812 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001407/0.5749, allocations: 147.7 kB / 0.7521 GB, free: 2.66 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001454/0.5764, allocations: 262.2 kB / 0.7524 GB, free: 2.402 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001112/0.5775, allocations: 1.019 MB / 0.7534 GB, free: 1.34 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.766e-05/0.5775, allocations: 68.5 kB / 0.7535 GB, free: 1.277 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001057/0.5776, allocations: 88 kB / 0.7535 GB, free: 1.191 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00154/0.5792, allocations: 1.047 MB / 0.7546 GB, free: 104 kB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.717e-05/0.5792, allocations: 3.938 kB / 0.7546 GB, free: 100 kB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.245e-05/0.5793, allocations: 40 kB / 0.7546 GB, free: 60 kB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.654e-05/0.5793, allocations: 23.98 kB / 0.7546 GB, free: 36 kB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001931/0.5813, allocations: 1.268 MB / 0.7559 GB, free: 14.77 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.004084/0.5854, allocations: 3.145 MB / 0.7589 GB, free: 11.51 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00158/0.5869, allocations: 1.011 MB / 0.7599 GB, free: 10.48 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006524/0.5876, allocations: 394.9 kB / 0.7603 GB, free: 10.1 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001995/0.5878, allocations: 138.1 kB / 0.7604 GB, free: 9.941 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008801/0.5887, allocations: 0.5414 MB / 0.761 GB, free: 9.387 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=86): time 1.904e-06/0.5887, allocations: 0 / 0.761 GB, free: 9.387 MB / 0.5762 GB Notification: Performance of matching and sorting (n=86): time 0.003545/0.5923, allocations: 1.51 MB / 0.7624 GB, free: 7.828 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.034e-05/0.5924, allocations: 192.9 kB / 0.7626 GB, free: 7.598 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009707/0.5933, allocations: 0.989 MB / 0.7636 GB, free: 6.602 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 6.456e-05/0.5934, allocations: 41.7 kB / 0.7636 GB, free: 6.555 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002874/0.5937, allocations: 448.3 kB / 0.7641 GB, free: 6.109 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001849/0.5939, allocations: 287.8 kB / 0.7643 GB, free: 5.824 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002166/0.5941, allocations: 146.6 kB / 0.7645 GB, free: 5.676 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 9.43e-05/0.5942, allocations: 337.9 kB / 0.7648 GB, free: 5.34 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005807/0.5948, allocations: 305.8 kB / 0.7651 GB, free: 5.039 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006872/0.5955, allocations: 433.1 kB / 0.7655 GB, free: 4.578 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001297/0.5968, allocations: 0.7101 MB / 0.7662 GB, free: 3.859 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.5968, allocations: 3.938 kB / 0.7662 GB, free: 3.855 MB / 0.5762 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.002069/0.5989, allocations: 0.9548 MB / 0.7671 GB, free: 2.887 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.168e-05/0.5989, allocations: 7.938 kB / 0.7671 GB, free: 2.879 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.017e-06/0.5989, allocations: 64 / 0.7671 GB, free: 2.879 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006262/0.5996, allocations: 117.6 kB / 0.7672 GB, free: 2.758 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007594/0.6003, allocations: 188.5 kB / 0.7674 GB, free: 2.574 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0031/0.6034, allocations: 3.061 MB / 0.7704 GB, free: 15.23 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001099/0.6046, allocations: 95.42 kB / 0.7705 GB, free: 15.14 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.471e-05/0.6047, allocations: 40.03 kB / 0.7705 GB, free: 15.11 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.0007458/0.6054, allocations: 289.8 kB / 0.7708 GB, free: 14.81 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002282/0.6057, allocations: 94.81 kB / 0.7709 GB, free: 14.72 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002883/0.6085, allocations: 1.223 MB / 0.7721 GB, free: 13.48 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.488e-06/0.6086, allocations: 12 kB / 0.7721 GB, free: 13.47 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.232e-06/0.6086, allocations: 3.938 kB / 0.7721 GB, free: 13.47 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.823e-05/0.6086, allocations: 3.984 kB / 0.7721 GB, free: 13.46 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003805/0.6124, allocations: 2.265 MB / 0.7743 GB, free: 11.14 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.058e-06/0.6124, allocations: 0 / 0.7743 GB, free: 11.14 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007918/0.6132, allocations: 183.8 kB / 0.7745 GB, free: 10.96 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000546/0.6138, allocations: 101.6 kB / 0.7746 GB, free: 10.85 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.738e-05/0.6139, allocations: 31.97 kB / 0.7746 GB, free: 10.82 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002666/0.6165, allocations: 3.088 MB / 0.7777 GB, free: 7.441 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.604e-06/0.6165, allocations: 3.938 kB / 0.7777 GB, free: 7.438 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002408/0.619, allocations: 1.137 MB / 0.7788 GB, free: 6.281 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004403/0.6194, allocations: 299.6 kB / 0.7791 GB, free: 5.969 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001295/0.6195, allocations: 20 kB / 0.7791 GB, free: 5.949 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007297/0.6203, allocations: 71.98 kB / 0.7791 GB, free: 5.879 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001407/0.6204, allocations: 72.84 kB / 0.7792 GB, free: 5.809 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.396e-05/0.6205, allocations: 47.91 kB / 0.7793 GB, free: 5.762 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0007717/0.6213, allocations: 0.7215 MB / 0.78 GB, free: 5.043 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.41e-07/0.6213, allocations: 0 / 0.78 GB, free: 5.043 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001224/0.6225, allocations: 411.2 kB / 0.7804 GB, free: 4.641 MB / 0.5919 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.004332/0.6269, allocations: 2.294 MB / 0.7826 GB, free: 2.539 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.00267/0.6296, allocations: 1.256 MB / 0.7838 GB, free: 1.262 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.108e-06/0.6296, allocations: 0 / 0.7838 GB, free: 1.262 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.00111/0.6307, allocations: 0.6982 MB / 0.7845 GB, free: 0.5352 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001386/0.6321, allocations: 333.7 kB / 0.7848 GB, free: 248 kB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01312/0.6452, allocations: 8.273 MB / 0.7929 GB, free: 7.742 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006328/0.6459, allocations: 1.079 MB / 0.794 GB, free: 6.637 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.001017/0.6469, allocations: 299.2 kB / 0.7942 GB, free: 6.34 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005768/0.6475, allocations: 435.2 kB / 0.7947 GB, free: 5.914 MB / 0.6075 GB Notification: Performance of SimCode: time 4.61e-07/0.6475, allocations: 0 / 0.7947 GB, free: 5.914 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5614/1.209, allocations: 26.12 MB / 0.8202 GB, free: 12.22 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.42/13.63, allocations: 2.391 kB / 0.8202 GB, free: 12.22 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)