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.0009562/0.0009562, allocations: 90.75 kB / 15.06 MB, free: 1.098 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.001356/0.001356, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.388/1.388, allocations: 223.3 MB / 240 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7692/0.7692, allocations: 132.3 MB / 423.4 MB, free: 2.082 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003073/0.0003073, allocations: 8 kB / 0.5035 GB, free: 4.125 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4512/0.4515, allocations: 81.57 MB / 0.5831 GB, free: 4 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.Outside_CpData_Specification): time 0.1576/0.6092, allocations: 139.4 MB / 0.7193 GB, free: 4.738 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.01304/0.6222, allocations: 9.636 MB / 0.7287 GB, free: 11.08 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001145/0.6234, allocations: 19.88 kB / 0.7287 GB, free: 11.06 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0009287/0.6244, allocations: 190.6 kB / 0.7289 GB, free: 10.88 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.002511/0.6269, allocations: 0.6992 MB / 0.7296 GB, free: 10.18 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002378/0.6293, allocations: 0.8077 MB / 0.7304 GB, free: 9.383 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001774/0.6311, allocations: 1.363 MB / 0.7317 GB, free: 8.012 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001778/0.6328, allocations: 0.8525 MB / 0.7326 GB, free: 7.141 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00144/0.6343, allocations: 489.9 kB / 0.733 GB, free: 6.66 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000844/0.6352, allocations: 421.9 kB / 0.7334 GB, free: 6.246 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001821/0.6353, allocations: 28 kB / 0.7335 GB, free: 6.219 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002056/0.6374, allocations: 0.7684 MB / 0.7342 GB, free: 5.449 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0003763/0.6378, allocations: 235 kB / 0.7344 GB, free: 5.219 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003953/0.6382, allocations: 221.1 kB / 0.7346 GB, free: 4.996 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.00247/0.6407, allocations: 1.489 MB / 0.7361 GB, free: 3.504 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 7.615e-06/0.6407, allocations: 0 / 0.7361 GB, free: 3.504 MB / 0.5606 GB Notification: Performance of FrontEnd: time 3.106e-06/0.6407, allocations: 0 / 0.7361 GB, free: 3.504 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.537e-05/0.6407, allocations: 0 / 0.7361 GB, free: 3.504 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.00277/0.6435, allocations: 1.396 MB / 0.7375 GB, free: 2.055 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.364e-05/0.6436, allocations: 8.031 kB / 0.7375 GB, free: 2.047 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001681/0.6437, allocations: 143.7 kB / 0.7376 GB, free: 1.898 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001488/0.6452, allocations: 274.2 kB / 0.7379 GB, free: 1.629 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001245/0.6465, allocations: 0.9847 MB / 0.7388 GB, free: 0.6016 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.435e-05/0.6466, allocations: 69.98 kB / 0.7389 GB, free: 0.5352 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001179/0.6467, allocations: 92 kB / 0.739 GB, free: 456 kB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001862/0.6486, allocations: 1.047 MB / 0.74 GB, free: 15.36 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.064e-05/0.6486, allocations: 0 / 0.74 GB, free: 15.36 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.658e-05/0.6487, allocations: 36 kB / 0.74 GB, free: 15.32 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.773e-05/0.6487, allocations: 24 kB / 0.7401 GB, free: 15.3 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001935/0.6506, allocations: 1.284 MB / 0.7413 GB, free: 14.01 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.004321/0.655, allocations: 3.175 MB / 0.7444 GB, free: 10.73 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001571/0.6566, allocations: 1.014 MB / 0.7454 GB, free: 9.691 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006422/0.6572, allocations: 395.7 kB / 0.7458 GB, free: 9.301 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002222/0.6574, allocations: 146.1 kB / 0.7459 GB, free: 9.141 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000924/0.6584, allocations: 0.5552 MB / 0.7465 GB, free: 8.57 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=86): time 1.903e-06/0.6584, allocations: 0 / 0.7465 GB, free: 8.57 MB / 0.5762 GB Notification: Performance of matching and sorting (n=86): time 0.003406/0.6618, allocations: 1.53 MB / 0.748 GB, free: 6.992 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.036e-05/0.6619, allocations: 196.9 kB / 0.7481 GB, free: 6.758 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001011/0.6629, allocations: 0.9658 MB / 0.7491 GB, free: 5.785 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 6.951e-05/0.663, allocations: 45.7 kB / 0.7491 GB, free: 5.734 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003583/0.6634, allocations: 452.3 kB / 0.7496 GB, free: 5.285 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002479/0.6636, allocations: 283.8 kB / 0.7498 GB, free: 5.004 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.454e-05/0.6637, allocations: 16 kB / 0.7498 GB, free: 4.988 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0002164/0.6639, allocations: 333.9 kB / 0.7502 GB, free: 4.656 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006221/0.6645, allocations: 309.8 kB / 0.7505 GB, free: 4.352 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007341/0.6653, allocations: 448.6 kB / 0.7509 GB, free: 3.883 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000689/0.666, allocations: 362.9 kB / 0.7512 GB, free: 3.531 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.666, allocations: 4 kB / 0.7512 GB, free: 3.527 MB / 0.5762 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.002038/0.668, allocations: 0.9666 MB / 0.7522 GB, free: 2.543 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.153e-05/0.6681, allocations: 7.953 kB / 0.7522 GB, free: 2.535 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.158e-06/0.6681, allocations: 4 kB / 0.7522 GB, free: 2.531 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006594/0.6687, allocations: 117.6 kB / 0.7523 GB, free: 2.41 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007556/0.6695, allocations: 179.8 kB / 0.7525 GB, free: 2.234 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002726/0.6722, allocations: 2.859 MB / 0.7553 GB, free: 15.11 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006638/0.6729, allocations: 115.2 kB / 0.7554 GB, free: 14.99 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.862e-05/0.673, allocations: 36.05 kB / 0.7554 GB, free: 14.96 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 ($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.0003921/0.6734, allocations: 281.7 kB / 0.7557 GB, free: 14.67 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001358/0.6735, allocations: 94.83 kB / 0.7558 GB, free: 14.58 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002564/0.6761, allocations: 1.251 MB / 0.757 GB, free: 13.31 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.908e-06/0.6761, allocations: 12 kB / 0.757 GB, free: 13.3 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.6e-06/0.6762, allocations: 3.953 kB / 0.757 GB, free: 13.3 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.778e-06/0.6762, allocations: 3.984 kB / 0.757 GB, free: 13.29 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003623/0.6798, allocations: 2.274 MB / 0.7592 GB, free: 10.96 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.048e-06/0.6798, allocations: 0 / 0.7592 GB, free: 10.96 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007671/0.6806, allocations: 195.8 kB / 0.7594 GB, free: 10.77 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005611/0.6812, allocations: 113.6 kB / 0.7595 GB, free: 10.65 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.896e-05/0.6812, allocations: 23.98 kB / 0.7596 GB, free: 10.62 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002549/0.6838, allocations: 2.871 MB / 0.7624 GB, free: 7.477 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.6838, allocations: 0 / 0.7624 GB, free: 7.477 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002131/0.686, allocations: 1.149 MB / 0.7635 GB, free: 6.305 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004448/0.6864, allocations: 323.7 kB / 0.7638 GB, free: 5.969 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001414/0.6866, allocations: 20 kB / 0.7638 GB, free: 5.949 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007322/0.6873, allocations: 93.61 kB / 0.7639 GB, free: 5.859 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001335/0.6874, allocations: 76.81 kB / 0.764 GB, free: 5.785 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.89e-05/0.6875, allocations: 35.98 kB / 0.764 GB, free: 5.75 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0007887/0.6883, allocations: 0.7177 MB / 0.7647 GB, free: 5.035 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.6e-07/0.6883, allocations: 0 / 0.7647 GB, free: 5.035 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001081/0.6894, allocations: 415.1 kB / 0.7651 GB, free: 4.629 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 (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.003892/0.6933, allocations: 2.303 MB / 0.7674 GB, free: 2.52 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001872/0.6952, allocations: 1.049 MB / 0.7684 GB, free: 1.445 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.6952, allocations: 0 / 0.7684 GB, free: 1.445 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001057/0.6963, allocations: 0.6982 MB / 0.7691 GB, free: 0.7227 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001293/0.6976, allocations: 308.4 kB / 0.7694 GB, free: 436 kB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0123/0.7099, allocations: 6.723 MB / 0.7759 GB, free: 9.531 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006766/0.7106, allocations: 1.084 MB / 0.777 GB, free: 8.414 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.001031/0.7116, allocations: 310.7 kB / 0.7773 GB, free: 8.109 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005999/0.7123, allocations: 427.2 kB / 0.7777 GB, free: 7.691 MB / 0.6075 GB Notification: Performance of SimCode: time 4.3e-07/0.7123, allocations: 4 kB / 0.7777 GB, free: 7.688 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04637/0.7586, allocations: 26.33 MB / 0.8034 GB, free: 13.82 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002421/0.7589, allocations: 267.3 kB / 0.8036 GB, free: 13.45 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.482/3.241, allocations: 4.062 kB / 0.8037 GB, free: 13.45 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/linux/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) Environment - environmentSimulation: