Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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-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: "" <> buildModelFMU(IDEAS.Fluid.Sources.Examples.Outside_CpData_Specification,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Sources_Examples_Outside_CpData_Specification",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sources.Examples.Outside_CpData_Specification,fileNamePrefix="IDEAS_dev_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.0009355/0.0009359, allocations: 100.3 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.0009513/0.0009512, 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 2.882/2.882, allocations: 223.2 MB / 239.9 MB, free: 5.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 2.612/2.612, allocations: 135.2 MB / 426.2 MB, free: 14.18 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0006455/0.0006458, allocations: 12.69 kB / 0.5069 GB, free: 5.133 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.372/0.3727, allocations: 82.32 MB / 0.5873 GB, free: 2.992 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.Outside_CpData_Specification): time 1.044/1.417, allocations: 129.8 MB / 0.7141 GB, free: 15.8 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.04065/1.458, allocations: 8.695 MB / 0.7225 GB, free: 9.781 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001727/1.46, allocations: 18.59 kB / 0.7226 GB, free: 9.773 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.005574/1.465, allocations: 130.6 kB / 0.7227 GB, free: 9.703 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.01039/1.476, allocations: 0.7537 MB / 0.7234 GB, free: 9.273 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.01464/1.49, allocations: 0.8103 MB / 0.7242 GB, free: 8.871 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.008258/1.499, allocations: 0.9312 MB / 0.7251 GB, free: 8.367 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007936/1.507, allocations: 0.8522 MB / 0.726 GB, free: 8.062 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006926/1.514, allocations: 476.2 kB / 0.7264 GB, free: 7.852 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001844/1.516, allocations: 380 kB / 0.7268 GB, free: 7.688 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.000497/1.516, allocations: 29.31 kB / 0.7268 GB, free: 7.684 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004332/1.52, allocations: 0.7346 MB / 0.7275 GB, free: 7.488 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0009357/1.521, allocations: 232.3 kB / 0.7277 GB, free: 7.391 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0009889/1.522, allocations: 216.4 kB / 0.7279 GB, free: 7.246 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.01001/1.533, allocations: 1.478 MB / 0.7294 GB, free: 6.887 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 7.214e-06/1.533, allocations: 1.438 kB / 0.7294 GB, free: 6.887 MB / 0.545 GB Notification: Performance of FrontEnd: time 5.32e-06/1.533, allocations: 0 / 0.7294 GB, free: 6.887 MB / 0.545 GB Notification: Performance of Transformations before backend: time 0.0001147/1.533, allocations: 0 / 0.7294 GB, free: 6.887 MB / 0.545 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.01151/1.544, allocations: 1.399 MB / 0.7308 GB, free: 5.934 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 6.819e-05/1.544, allocations: 11 kB / 0.7308 GB, free: 5.934 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000939/1.545, allocations: 145.9 kB / 0.7309 GB, free: 5.836 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003661/1.549, allocations: 269.3 kB / 0.7312 GB, free: 5.762 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007996/1.557, allocations: 0.9858 MB / 0.7321 GB, free: 5.211 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002255/1.557, allocations: 69.12 kB / 0.7322 GB, free: 5.18 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004988/1.558, allocations: 94.89 kB / 0.7323 GB, free: 5.148 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004856/1.563, allocations: 1.037 MB / 0.7333 GB, free: 4.688 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.779e-05/1.563, allocations: 0 / 0.7333 GB, free: 4.688 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002915/1.563, allocations: 43.91 kB / 0.7333 GB, free: 4.656 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.279e-05/1.563, allocations: 23.22 kB / 0.7334 GB, free: 4.656 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009256/1.573, allocations: 1.279 MB / 0.7346 GB, free: 4.363 MB / 0.545 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.0118/1.584, allocations: 3.173 MB / 0.7377 GB, free: 2.074 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003695/1.588, allocations: 0.9557 MB / 0.7386 GB, free: 1.121 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002232/1.588, allocations: 53.02 kB / 0.7387 GB, free: 1.07 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001969/1.59, allocations: 0.5485 MB / 0.7392 GB, free: 0.5078 MB / 0.545 GB Notification: Performance of pre-optimization done (n=86): time 5.43e-06/1.59, allocations: 0 / 0.7392 GB, free: 0.5078 MB / 0.545 GB Notification: Performance of matching and sorting (n=86): time 0.007931/1.598, allocations: 1.524 MB / 0.7407 GB, free: 14.93 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000205/1.599, allocations: 200.9 kB / 0.7409 GB, free: 14.69 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002821/1.602, allocations: 0.9697 MB / 0.7419 GB, free: 13.71 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0003388/1.602, allocations: 41.7 kB / 0.7419 GB, free: 13.67 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007778/1.603, allocations: 452.3 kB / 0.7423 GB, free: 13.22 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.000617/1.603, allocations: 283.8 kB / 0.7426 GB, free: 12.94 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001309/1.604, allocations: 16 kB / 0.7426 GB, free: 12.93 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0002331/1.604, allocations: 341.9 kB / 0.7429 GB, free: 12.59 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00142/1.605, allocations: 305.8 kB / 0.7432 GB, free: 12.29 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00162/1.607, allocations: 433.1 kB / 0.7436 GB, free: 11.83 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001597/1.608, allocations: 366.8 kB / 0.744 GB, free: 11.47 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.185e-06/1.609, allocations: 0 / 0.744 GB, free: 11.47 MB / 0.5606 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.004448/1.613, allocations: 0.9627 MB / 0.7449 GB, free: 10.5 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 4.41e-05/1.613, allocations: 4 kB / 0.7449 GB, free: 10.49 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.465e-05/1.613, allocations: 3.938 kB / 0.7449 GB, free: 10.49 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001326/1.614, allocations: 121.6 kB / 0.7451 GB, free: 10.36 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001822/1.616, allocations: 187.8 kB / 0.7452 GB, free: 10.18 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005299/1.622, allocations: 2.877 MB / 0.748 GB, free: 7.031 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001722/1.623, allocations: 111.3 kB / 0.7482 GB, free: 6.922 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002606/1.624, allocations: 27.98 kB / 0.7482 GB, free: 6.895 MB / 0.5606 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 (88): * Single equations (assignments): 86 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.00131/1.625, allocations: 285.7 kB / 0.7485 GB, free: 6.605 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005663/1.626, allocations: 98.83 kB / 0.7485 GB, free: 6.508 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005445/1.631, allocations: 1.245 MB / 0.7498 GB, free: 5.258 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.247e-05/1.631, allocations: 12 kB / 0.7498 GB, free: 5.246 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.114e-05/1.631, allocations: 0 / 0.7498 GB, free: 5.246 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.218e-05/1.631, allocations: 3.984 kB / 0.7498 GB, free: 5.242 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008129/1.639, allocations: 2.148 MB / 0.7519 GB, free: 3.027 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.131e-05/1.639, allocations: 4 kB / 0.7519 GB, free: 3.023 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001681/1.641, allocations: 191.8 kB / 0.7521 GB, free: 2.836 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001145/1.642, allocations: 117.6 kB / 0.7522 GB, free: 2.715 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002142/1.643, allocations: 23.98 kB / 0.7522 GB, free: 2.691 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004825/1.647, allocations: 2.896 MB / 0.755 GB, free: 15.52 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.808e-06/1.647, allocations: 8.016 kB / 0.755 GB, free: 15.51 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005084/1.653, allocations: 1.179 MB / 0.7562 GB, free: 14.29 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001387/1.654, allocations: 319.4 kB / 0.7565 GB, free: 13.96 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005871/1.655, allocations: 24 kB / 0.7565 GB, free: 13.93 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001774/1.656, allocations: 87.92 kB / 0.7566 GB, free: 13.85 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003844/1.657, allocations: 80.84 kB / 0.7567 GB, free: 13.77 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002366/1.657, allocations: 39.98 kB / 0.7567 GB, free: 13.73 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001943/1.659, allocations: 0.7254 MB / 0.7574 GB, free: 13.01 MB / 0.5762 GB Notification: Performance of sort global known variables: time 5.91e-07/1.659, allocations: 0 / 0.7574 GB, free: 13.01 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.002793/1.662, allocations: 411.1 kB / 0.7578 GB, free: 12.61 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.008881/1.671, allocations: 2.478 MB / 0.7602 GB, free: 10.3 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.004605/1.675, allocations: 1.041 MB / 0.7612 GB, free: 9.246 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.211e-05/1.676, allocations: 1.625 kB / 0.7612 GB, free: 9.246 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.002632/1.678, allocations: 0.7061 MB / 0.7619 GB, free: 8.516 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003103/1.681, allocations: 289.8 kB / 0.7622 GB, free: 8.238 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02765/1.709, allocations: 7.118 MB / 0.7692 GB, free: 0.9375 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001399/1.711, allocations: 1.106 MB / 0.7702 GB, free: 15.8 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0026/1.713, allocations: 299.2 kB / 0.7705 GB, free: 15.5 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001258/1.714, allocations: 431.2 kB / 0.7709 GB, free: 15.09 MB / 0.5919 GB Notification: Performance of SimCode: time 1.854e-06/1.715, allocations: 8 kB / 0.7709 GB, free: 15.08 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1463/1.861, allocations: 26.31 MB / 0.7966 GB, free: 5.152 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000428/1.861, allocations: 263.4 kB / 0.7969 GB, free: 4.793 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.544/7.405, allocations: 3.234 kB / 0.7969 GB, free: 4.793 MB / 0.6075 GB (rm -f IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData_Specification.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData_Specification.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData_Specification.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData_Specification.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Sources_Examples_Outside_CpData_Specification_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Sources_Examples_Outside_CpData_Specification.fmu > IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData_Specification.pipe 2>&1) Environment - environmentSimulation: