Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Taps.Examples.DHW_example.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.Taps.Examples.DHW_example,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Taps_Examples_DHW_example",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Taps.Examples.DHW_example,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Taps_Examples_DHW_example",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.008949/0.008949, allocations: 100.5 kB / 15.73 MB, free: 6.445 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.00159/0.00159, allocations: 197.2 kB / 16.68 MB, free: 6.355 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.367/1.367, allocations: 222.9 MB / 240.4 MB, free: 4.289 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9704/0.9704, allocations: 135.1 MB / 425.7 MB, free: 12.04 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001412/0.001412, allocations: 63.89 kB / 0.5851 GB, free: 3.84 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4734/0.4749, allocations: 80.91 MB / 0.6641 GB, free: 7.242 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Taps.Examples.DHW_example): time 0.04764/0.5225, allocations: 41.96 MB / 0.7051 GB, free: 5.559 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.01677/0.5393, allocations: 10.92 MB / 0.7158 GB, free: 12.49 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002648/0.542, allocations: 51.69 kB / 0.7158 GB, free: 12.44 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.002118/0.5442, allocations: 0.5547 MB / 0.7164 GB, free: 11.88 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.005117/0.5494, allocations: 1.41 MB / 0.7177 GB, free: 10.46 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.004022/0.5534, allocations: 1.301 MB / 0.719 GB, free: 9.18 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.005039/0.5585, allocations: 2.67 MB / 0.7216 GB, free: 6.504 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001972/0.5605, allocations: 1.084 MB / 0.7227 GB, free: 5.398 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003496/0.564, allocations: 1.161 MB / 0.7238 GB, free: 4.238 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001577/0.5656, allocations: 0.8166 MB / 0.7246 GB, free: 3.418 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0003724/0.566, allocations: 112 kB / 0.7247 GB, free: 3.309 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002325/0.5683, allocations: 0.6904 MB / 0.7254 GB, free: 2.617 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0005302/0.5688, allocations: 267 kB / 0.7257 GB, free: 2.355 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.001188/0.57, allocations: 0.6103 MB / 0.7262 GB, free: 1.742 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.003403/0.5735, allocations: 1.85 MB / 0.7281 GB, free: 15.88 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.5735, allocations: 0 / 0.7281 GB, free: 15.88 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.663e-06/0.5735, allocations: 0 / 0.7281 GB, free: 15.88 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.595e-05/0.5735, allocations: 0 / 0.7281 GB, free: 15.88 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: 196 * Number of variables: 196 Notification: Performance of Generate backend data structure: time 0.002633/0.5762, allocations: 1.511 MB / 0.7295 GB, free: 14.32 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.315e-05/0.5762, allocations: 11.97 kB / 0.7295 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000139/0.5764, allocations: 127 kB / 0.7297 GB, free: 14.17 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00164/0.578, allocations: 323.1 kB / 0.73 GB, free: 13.86 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001526/0.5796, allocations: 0.9564 MB / 0.7309 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.661e-05/0.5796, allocations: 58 kB / 0.731 GB, free: 12.8 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001101/0.5797, allocations: 76 kB / 0.731 GB, free: 12.72 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001836/0.5816, allocations: 1.012 MB / 0.732 GB, free: 11.66 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.134e-05/0.5816, allocations: 3.938 kB / 0.732 GB, free: 11.65 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.442e-05/0.5817, allocations: 32 kB / 0.7321 GB, free: 11.62 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.721e-05/0.5817, allocations: 24 kB / 0.7321 GB, free: 11.6 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001985/0.5837, allocations: 0.8195 MB / 0.7329 GB, free: 10.77 MB / 0.5606 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.004761/0.5885, allocations: 4.009 MB / 0.7368 GB, free: 6.57 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001606/0.5901, allocations: 0.6169 MB / 0.7374 GB, free: 5.945 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007763/0.5909, allocations: 313.4 kB / 0.7377 GB, free: 5.637 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000975/0.5919, allocations: 0.934 MB / 0.7386 GB, free: 4.5 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00101/0.5929, allocations: 435.2 kB / 0.739 GB, free: 4.059 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=47): time 2.595e-06/0.5929, allocations: 0 / 0.739 GB, free: 4.059 MB / 0.5606 GB Notification: Performance of matching and sorting (n=47): time 0.002729/0.5956, allocations: 0.9691 MB / 0.74 GB, free: 3.082 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.525e-05/0.5957, allocations: 114.8 kB / 0.7401 GB, free: 2.945 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001194/0.5969, allocations: 0.8786 MB / 0.7409 GB, free: 2.043 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 6.115e-05/0.597, allocations: 37.7 kB / 0.741 GB, free: 2 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004073/0.5974, allocations: 487.6 kB / 0.7414 GB, free: 1.52 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001683/0.5976, allocations: 157.7 kB / 0.7416 GB, free: 1.363 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002245/0.5978, allocations: 138.2 kB / 0.7417 GB, free: 1.223 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.000116/0.5979, allocations: 333.9 kB / 0.742 GB, free: 0.8906 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008507/0.5988, allocations: 301 kB / 0.7423 GB, free: 0.5977 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009451/0.5998, allocations: 481.1 kB / 0.7428 GB, free: 52 kB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0017/0.6015, allocations: 0.7858 MB / 0.7435 GB, free: 15.19 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.699e-06/0.6015, allocations: 0 / 0.7435 GB, free: 15.19 MB / 0.5762 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.00222/0.6037, allocations: 0.9295 MB / 0.7445 GB, free: 14.25 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.941e-05/0.6038, allocations: 41.62 kB / 0.7445 GB, free: 14.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.208e-05/0.6038, allocations: 8 kB / 0.7445 GB, free: 14.19 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.489e-05/0.6038, allocations: 8 kB / 0.7445 GB, free: 14.18 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009817/0.6048, allocations: 200.3 kB / 0.7447 GB, free: 13.99 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.875e-05/0.6048, allocations: 11.94 kB / 0.7447 GB, free: 13.98 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008906/0.6057, allocations: 115.1 kB / 0.7448 GB, free: 13.86 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.631e-05/0.6058, allocations: 39.97 kB / 0.7449 GB, free: 13.82 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 5 (mDHW60C.count,$PRE.mDHW60C.count,mDHW60C.T_start,$PRE.mDHW60C.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (75): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000446/0.6063, allocations: 265.6 kB / 0.7451 GB, free: 13.55 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00024/0.6065, allocations: 102.7 kB / 0.7452 GB, free: 13.45 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002895/0.6094, allocations: 1.078 MB / 0.7463 GB, free: 12.37 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.415e-05/0.6095, allocations: 16.02 kB / 0.7463 GB, free: 12.35 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.041e-06/0.6095, allocations: 0 / 0.7463 GB, free: 12.35 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.797e-06/0.6095, allocations: 4 kB / 0.7463 GB, free: 12.35 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003793/0.6133, allocations: 2.155 MB / 0.7484 GB, free: 10.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.207e-06/0.6133, allocations: 4 kB / 0.7484 GB, free: 10.09 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008404/0.6142, allocations: 155.7 kB / 0.7485 GB, free: 9.941 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.066e-05/0.6142, allocations: 4 kB / 0.7485 GB, free: 9.938 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.379e-05/0.6142, allocations: 19.98 kB / 0.7486 GB, free: 9.918 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.073e-06/0.6143, allocations: 7.938 kB / 0.7486 GB, free: 9.91 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.6143, allocations: 4.031 kB / 0.7486 GB, free: 9.906 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003015/0.6173, allocations: 1.468 MB / 0.75 GB, free: 8.41 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005141/0.6178, allocations: 271.6 kB / 0.7503 GB, free: 8.125 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000248/0.6181, allocations: 12 kB / 0.7503 GB, free: 8.113 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008867/0.619, allocations: 67.97 kB / 0.7503 GB, free: 8.047 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001233/0.6191, allocations: 52.31 kB / 0.7504 GB, free: 7.996 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.267e-05/0.6192, allocations: 23.98 kB / 0.7504 GB, free: 7.973 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001087/0.6203, allocations: 0.6222 MB / 0.751 GB, free: 7.34 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.8e-07/0.6203, allocations: 0 / 0.751 GB, free: 7.34 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001405/0.6217, allocations: 359.4 kB / 0.7514 GB, free: 6.988 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (dHW_RealInput.THot.T,dHW_ProfileReader.THot.T) * Number of discrete variables: 3 ($whenCondition1,mDHW60C.T_start,mDHW60C.count) * Number of discrete states: 1 (mDHW60C.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (59): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 7 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.005248/0.6269, allocations: 2.583 MB / 0.7539 GB, free: 4.523 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002141/0.6291, allocations: 0.7986 MB / 0.7547 GB, free: 3.715 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/0.6291, allocations: 0 / 0.7547 GB, free: 3.715 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0009471/0.6301, allocations: 407.4 kB / 0.7551 GB, free: 3.316 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002183/0.6323, allocations: 477.4 kB / 0.7555 GB, free: 2.859 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01916/0.6514, allocations: 8.299 MB / 0.7636 GB, free: 10.26 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006623/0.6521, allocations: 1.045 MB / 0.7646 GB, free: 9.188 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0008678/0.653, allocations: 211.8 kB / 0.7648 GB, free: 8.977 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006027/0.6536, allocations: 411.2 kB / 0.7652 GB, free: 8.574 MB / 0.5919 GB Notification: Performance of SimCode: time 1.363e-06/0.6537, allocations: 0 / 0.7652 GB, free: 8.574 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06126/0.7149, allocations: 30.45 MB / 0.795 GB, free: 10.41 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.276/9.991, allocations: 6.281 kB / 0.795 GB, free: 10.41 MB / 0.6231 GB (rm -f IDEAS_dev_IDEAS.Fluid.Taps.Examples.DHW_example.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Taps.Examples.DHW_example.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Taps.Examples.DHW_example.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Taps.Examples.DHW_example.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Taps_Examples_DHW_example_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Taps_Examples_DHW_example.fmu > IDEAS_dev_IDEAS.Fluid.Taps.Examples.DHW_example.pipe 2>&1)