Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Taps.Examples.TapProfile.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.TapProfile,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Taps_Examples_TapProfile",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Taps.Examples.TapProfile,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Taps_Examples_TapProfile",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.005689/0.005689, allocations: 98.16 kB / 15.73 MB, free: 6.008 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.001521/0.001521, allocations: 196.6 kB / 16.67 MB, free: 5.926 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.343/1.343, allocations: 222.9 MB / 240.4 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7981/0.7981, allocations: 135.6 MB / 426.1 MB, free: 3.66 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001789/0.001789, allocations: 64.83 kB / 0.5857 GB, free: 21.53 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1342/0.136, allocations: 81.02 MB / 0.6648 GB, free: 5.746 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Taps.Examples.TapProfile): time 0.04506/0.1811, allocations: 43.59 MB / 0.7074 GB, free: 10.01 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.01195/0.1931, allocations: 8.45 MB / 0.7157 GB, free: 1.539 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001056/0.1942, allocations: 43.69 kB / 0.7157 GB, free: 1.496 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001405/0.1956, allocations: 0.5158 MB / 0.7162 GB, free: 0.9766 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.003902/0.1995, allocations: 1.512 MB / 0.7177 GB, free: 15.46 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002923/0.2025, allocations: 1.184 MB / 0.7188 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.003462/0.2059, allocations: 2.65 MB / 0.7214 GB, free: 11.63 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001335/0.2073, allocations: 0.9101 MB / 0.7223 GB, free: 10.71 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002551/0.2098, allocations: 1.272 MB / 0.7236 GB, free: 9.43 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001114/0.211, allocations: 0.7349 MB / 0.7243 GB, free: 8.691 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001552/0.2111, allocations: 88 kB / 0.7244 GB, free: 8.605 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001902/0.213, allocations: 0.8773 MB / 0.7252 GB, free: 7.727 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002758/0.2133, allocations: 239.1 kB / 0.7254 GB, free: 7.492 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0006202/0.214, allocations: 0.5441 MB / 0.726 GB, free: 6.945 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.00246/0.2164, allocations: 1.713 MB / 0.7276 GB, free: 5.227 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.2164, allocations: 0 / 0.7276 GB, free: 5.227 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.293e-06/0.2165, allocations: 0 / 0.7276 GB, free: 5.227 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.362e-05/0.2165, allocations: 0 / 0.7276 GB, free: 5.227 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: 164 * Number of variables: 164 Notification: Performance of Generate backend data structure: time 0.002036/0.2185, allocations: 1.41 MB / 0.729 GB, free: 3.758 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.924e-05/0.2186, allocations: 13.05 kB / 0.729 GB, free: 3.746 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001423/0.2187, allocations: 110.7 kB / 0.7291 GB, free: 3.629 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002129/0.2189, allocations: 124.2 kB / 0.7293 GB, free: 3.508 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001325/0.2203, allocations: 0.8318 MB / 0.7301 GB, free: 2.637 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.096e-05/0.2203, allocations: 57.31 kB / 0.7301 GB, free: 2.578 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000109/0.2204, allocations: 71.98 kB / 0.7302 GB, free: 2.508 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0013/0.2218, allocations: 0.7823 MB / 0.731 GB, free: 1.66 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.707e-05/0.2218, allocations: 0 / 0.731 GB, free: 1.66 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.252e-05/0.2218, allocations: 28 kB / 0.731 GB, free: 1.633 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.75e-05/0.2219, allocations: 16 kB / 0.731 GB, free: 1.617 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001013/0.2229, allocations: 0.5202 MB / 0.7315 GB, free: 1.098 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.004065/0.227, allocations: 3.823 MB / 0.7352 GB, free: 13.02 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000714/0.2277, allocations: 338.5 kB / 0.7356 GB, free: 12.69 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003841/0.2281, allocations: 209.4 kB / 0.7358 GB, free: 12.48 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001136/0.2292, allocations: 1.307 MB / 0.737 GB, free: 10.88 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005288/0.2298, allocations: 267.3 kB / 0.7373 GB, free: 10.61 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=41): time 2.304e-06/0.2298, allocations: 0 / 0.7373 GB, free: 10.61 MB / 0.5762 GB Notification: Performance of matching and sorting (n=41): time 0.001444/0.2312, allocations: 0.6524 MB / 0.7379 GB, free: 9.945 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.31e-05/0.2313, allocations: 110.8 kB / 0.738 GB, free: 9.812 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001088/0.2324, allocations: 0.8177 MB / 0.7388 GB, free: 8.969 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 4.999e-05/0.2325, allocations: 37.7 kB / 0.7389 GB, free: 8.926 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004244/0.2329, allocations: 480.5 kB / 0.7393 GB, free: 8.449 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001239/0.2331, allocations: 130.9 kB / 0.7395 GB, free: 8.32 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001999/0.2333, allocations: 130.2 kB / 0.7396 GB, free: 8.188 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001517/0.2334, allocations: 330 kB / 0.7399 GB, free: 7.859 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003681/0.2338, allocations: 169 kB / 0.7401 GB, free: 7.691 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005965/0.2344, allocations: 389.5 kB / 0.7404 GB, free: 7.234 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009175/0.2353, allocations: 0.5425 MB / 0.741 GB, free: 6.617 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.43e-06/0.2353, allocations: 4 kB / 0.741 GB, free: 6.613 MB / 0.5762 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001256/0.2366, allocations: 0.649 MB / 0.7416 GB, free: 5.957 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.946e-05/0.2366, allocations: 8 kB / 0.7416 GB, free: 5.949 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.089e-05/0.2366, allocations: 11.94 kB / 0.7416 GB, free: 5.938 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.238e-05/0.2367, allocations: 11.94 kB / 0.7416 GB, free: 5.926 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004242/0.2371, allocations: 123.8 kB / 0.7417 GB, free: 5.805 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.935e-05/0.2371, allocations: 11.98 kB / 0.7418 GB, free: 5.793 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005039/0.2376, allocations: 79.48 kB / 0.7418 GB, free: 5.715 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.657e-05/0.2377, allocations: 51.91 kB / 0.7419 GB, free: 5.664 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 12 ($PRE.tap2.demPro.nextTimeEvent,$whenCondition2,$PRE.tap1.demPro.nextTimeEvent,$whenCondition1,tap2.demPro.nextTimeEventScaled,$PRE.tap2.demPro.nextTimeEventScaled,tap2.demPro.nextTimeEvent,tap2.DHWCom,tap1.demPro.nextTimeEventScaled,$PRE.tap1.demPro.nextTimeEventScaled,tap1.demPro.nextTimeEvent,tap1.DHWCom) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 67 * Array equations: 0 * Algorithm blocks: 0 * 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.0003494/0.2381, allocations: 265.6 kB / 0.7421 GB, free: 5.395 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001491/0.2382, allocations: 99.39 kB / 0.7422 GB, free: 5.297 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00195/0.2402, allocations: 1.077 MB / 0.7433 GB, free: 4.211 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.235e-05/0.2402, allocations: 11.98 kB / 0.7433 GB, free: 4.199 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.221e-06/0.2402, allocations: 4 kB / 0.7433 GB, free: 4.195 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.977e-06/0.2403, allocations: 3.984 kB / 0.7433 GB, free: 4.191 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002825/0.2431, allocations: 1.961 MB / 0.7452 GB, free: 2.137 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.915e-06/0.2431, allocations: 8.062 kB / 0.7452 GB, free: 2.129 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000296/0.2434, allocations: 91.83 kB / 0.7453 GB, free: 2.039 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.183e-06/0.2434, allocations: 4 kB / 0.7453 GB, free: 2.035 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.311e-05/0.2435, allocations: 23.98 kB / 0.7453 GB, free: 2.012 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.432e-06/0.2435, allocations: 4 kB / 0.7453 GB, free: 2.008 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.097e-06/0.2435, allocations: 11.88 kB / 0.7454 GB, free: 1.996 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001479/0.245, allocations: 0.9843 MB / 0.7463 GB, free: 0.9609 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003401/0.2453, allocations: 272.1 kB / 0.7466 GB, free: 0.6758 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001126/0.2454, allocations: 19.98 kB / 0.7466 GB, free: 0.6562 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003705/0.2458, allocations: 31.97 kB / 0.7466 GB, free: 0.625 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001118/0.2459, allocations: 60.44 kB / 0.7467 GB, free: 0.5664 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.449e-05/0.246, allocations: 27.98 kB / 0.7467 GB, free: 0.5391 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.2564/0.5024, allocations: 0.5554 MB / 0.7472 GB, free: 79.73 MB / 0.5762 GB Notification: Performance of sort global known variables: time 5.71e-07/0.5025, allocations: 0 / 0.7472 GB, free: 79.73 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001342/0.5038, allocations: 354.7 kB / 0.7476 GB, free: 79.73 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition2,$whenCondition1,tap1.DHWCom,tap1.demPro.nextTimeEvent,tap1.demPro.nextTimeEventScaled,tap2.DHWCom,tap2.demPro.nextTimeEvent,tap2.demPro.nextTimeEventScaled) * Number of discrete states: 4 (tap2.demPro.nextTimeEvent,tap1.demPro.nextTimeEvent,tap2.demPro.nextTimeEventScaled,tap1.demPro.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (69): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 16 * When equations: 4 * 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.003612/0.5074, allocations: 2.195 MB / 0.7497 GB, free: 78.91 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001007/0.5085, allocations: 0.5798 MB / 0.7503 GB, free: 78.89 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/0.5085, allocations: 0 / 0.7503 GB, free: 78.89 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0005493/0.509, allocations: 395 kB / 0.7507 GB, free: 78.87 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001634/0.5107, allocations: 399.1 kB / 0.7511 GB, free: 78.84 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008123/0.5188, allocations: 6.744 MB / 0.7576 GB, free: 75.3 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004753/0.5193, allocations: 1.048 MB / 0.7587 GB, free: 74.59 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0005042/0.5198, allocations: 192.9 kB / 0.7588 GB, free: 74.56 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003862/0.5202, allocations: 380.7 kB / 0.7592 GB, free: 74.3 MB / 0.5762 GB Notification: Performance of SimCode: time 7.41e-07/0.5202, allocations: 0 / 0.7592 GB, free: 74.3 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.007/1.527, allocations: 28.83 MB / 0.7874 GB, free: 59.28 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.3/15.83, allocations: 7.797 kB / 0.7874 GB, free: 59.27 MB / 0.5762 GB (rm -f IDEAS_dev_IDEAS.Fluid.Taps.Examples.TapProfile.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Taps.Examples.TapProfile.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Taps.Examples.TapProfile.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Taps.Examples.TapProfile.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Taps_Examples_TapProfile_fmu --startTime=0 --stopTime=864000 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Taps_Examples_TapProfile.fmu > IDEAS_dev_IDEAS.Fluid.Taps.Examples.TapProfile.pipe 2>&1)