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.001668/0.001668, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.00122/0.00122, allocations: 194.6 kB / 16.25 MB, free: 6.68 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.294/1.294, allocations: 222.9 MB / 239.9 MB, free: 4.445 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8958/0.8958, allocations: 135.6 MB / 425.7 MB, free: 11.85 MB / 350.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.002321/0.002321, allocations: 64.47 kB / 0.5055 GB, free: 5.113 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1442/0.1466, allocations: 81.02 MB / 0.5846 GB, free: 4.223 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Taps.Examples.TapProfile): time 0.2426/0.3892, allocations: 43.23 MB / 0.6268 GB, free: 29.26 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.007134/0.3963, allocations: 8.369 MB / 0.635 GB, free: 23.27 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005559/0.3969, allocations: 40.22 kB / 0.635 GB, free: 23.25 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0008553/0.3978, allocations: 446.6 kB / 0.6355 GB, free: 22.96 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.001892/0.3997, allocations: 1.402 MB / 0.6368 GB, free: 22.15 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001637/0.4014, allocations: 1.081 MB / 0.6379 GB, free: 21.55 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001649/0.403, allocations: 2.654 MB / 0.6405 GB, free: 20.27 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000748/0.4038, allocations: 0.8953 MB / 0.6413 GB, free: 19.86 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001477/0.4053, allocations: 1.272 MB / 0.6426 GB, free: 19.22 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006068/0.4059, allocations: 0.7642 MB / 0.6433 GB, free: 18.86 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001131/0.406, allocations: 84.72 kB / 0.6434 GB, free: 18.86 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001138/0.4071, allocations: 0.8891 MB / 0.6443 GB, free: 18.5 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001591/0.4073, allocations: 250 kB / 0.6445 GB, free: 18.35 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003241/0.4076, allocations: 0.5441 MB / 0.6451 GB, free: 18.01 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001273/0.4089, allocations: 1.684 MB / 0.6467 GB, free: 17.36 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.327e-06/0.4089, allocations: 0 / 0.6467 GB, free: 17.36 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.022e-06/0.409, allocations: 0 / 0.6467 GB, free: 17.36 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.076e-05/0.409, allocations: 0 / 0.6467 GB, free: 17.36 MB / 0.4981 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.001428/0.4104, allocations: 1.37 MB / 0.648 GB, free: 16.39 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.288e-05/0.4104, allocations: 10.5 kB / 0.648 GB, free: 16.39 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.26e-05/0.4105, allocations: 107.9 kB / 0.6481 GB, free: 16.32 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001583/0.4107, allocations: 120.3 kB / 0.6483 GB, free: 16.26 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000823/0.4115, allocations: 0.7829 MB / 0.649 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.454e-05/0.4116, allocations: 55.06 kB / 0.6491 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.779e-05/0.4117, allocations: 73.38 kB / 0.6492 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001024/0.4127, allocations: 0.7797 MB / 0.6499 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.893e-05/0.4127, allocations: 3.938 kB / 0.6499 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.338e-05/0.4128, allocations: 26.25 kB / 0.6499 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.244e-05/0.4128, allocations: 18.06 kB / 0.65 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007818/0.4136, allocations: 0.5125 MB / 0.6505 GB, free: 15.08 MB / 0.4981 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.002513/0.4161, allocations: 3.655 MB / 0.654 GB, free: 12.21 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006202/0.4167, allocations: 341.6 kB / 0.6544 GB, free: 12.07 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003339/0.4171, allocations: 209.9 kB / 0.6546 GB, free: 12 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005818/0.4177, allocations: 1.306 MB / 0.6558 GB, free: 10.48 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004637/0.4181, allocations: 265.4 kB / 0.6561 GB, free: 10.36 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=41): time 2.014e-06/0.4182, allocations: 1.312 kB / 0.6561 GB, free: 10.36 MB / 0.4981 GB Notification: Performance of matching and sorting (n=41): time 0.001224/0.4194, allocations: 0.6411 MB / 0.6567 GB, free: 10.12 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.747e-05/0.4194, allocations: 119.1 kB / 0.6568 GB, free: 9.98 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009077/0.4204, allocations: 0.8091 MB / 0.6576 GB, free: 9.621 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.306e-05/0.4204, allocations: 41.66 kB / 0.6577 GB, free: 9.582 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002722/0.4207, allocations: 470.8 kB / 0.6581 GB, free: 9.207 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 8.784e-05/0.4208, allocations: 130.7 kB / 0.6582 GB, free: 9.105 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001766/0.421, allocations: 125.1 kB / 0.6583 GB, free: 9.047 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.651e-05/0.421, allocations: 328.6 kB / 0.6587 GB, free: 8.734 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003258/0.4213, allocations: 170.5 kB / 0.6588 GB, free: 8.68 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00043/0.4218, allocations: 371.8 kB / 0.6592 GB, free: 8.402 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006999/0.4225, allocations: 0.5324 MB / 0.6597 GB, free: 8.039 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.258e-06/0.4225, allocations: 1.719 kB / 0.6597 GB, free: 8.039 MB / 0.4981 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001048/0.4236, allocations: 0.6273 MB / 0.6603 GB, free: 7.777 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.614e-05/0.4236, allocations: 10.22 kB / 0.6603 GB, free: 7.777 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.845e-06/0.4236, allocations: 5.25 kB / 0.6603 GB, free: 7.777 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.88e-05/0.4236, allocations: 9.094 kB / 0.6603 GB, free: 7.777 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003875/0.424, allocations: 127.6 kB / 0.6605 GB, free: 7.762 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.332e-05/0.424, allocations: 15.94 kB / 0.6605 GB, free: 7.754 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005554/0.4246, allocations: 104.7 kB / 0.6606 GB, free: 7.707 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.756e-05/0.4247, allocations: 33.08 kB / 0.6606 GB, free: 7.703 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * 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 (65): * Single equations (assignments): 65 * 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.0002649/0.4249, allocations: 261.3 kB / 0.6609 GB, free: 7.508 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001227/0.4251, allocations: 92.12 kB / 0.6609 GB, free: 7.461 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001661/0.4267, allocations: 1.086 MB / 0.662 GB, free: 7.051 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.776e-05/0.4268, allocations: 11.62 kB / 0.662 GB, free: 7.051 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.249e-06/0.4268, allocations: 7.922 kB / 0.662 GB, free: 7.043 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.206e-06/0.4268, allocations: 4.625 kB / 0.662 GB, free: 7.043 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002436/0.4292, allocations: 1.967 MB / 0.6639 GB, free: 6.02 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.212e-06/0.4293, allocations: 2.688 kB / 0.6639 GB, free: 6.02 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002773/0.4295, allocations: 84.47 kB / 0.664 GB, free: 6.012 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.053e-06/0.4295, allocations: 5.531 kB / 0.664 GB, free: 6.012 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.079e-05/0.4296, allocations: 22.62 kB / 0.6641 GB, free: 6.004 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.716e-06/0.4296, allocations: 10.55 kB / 0.6641 GB, free: 6 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.376e-06/0.4296, allocations: 3.156 kB / 0.6641 GB, free: 6 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001247/0.4309, allocations: 0.9792 MB / 0.665 GB, free: 5.465 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002665/0.4311, allocations: 269.2 kB / 0.6653 GB, free: 5.262 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001146/0.4313, allocations: 17.95 kB / 0.6653 GB, free: 5.254 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000454/0.4317, allocations: 60.23 kB / 0.6654 GB, free: 5.238 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001064/0.4318, allocations: 63.81 kB / 0.6654 GB, free: 5.215 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.68e-05/0.4319, allocations: 39.31 kB / 0.6655 GB, free: 5.203 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0006671/0.4326, allocations: 0.5496 MB / 0.666 GB, free: 4.957 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.61e-07/0.4326, allocations: 0 / 0.666 GB, free: 4.957 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0009065/0.4335, allocations: 348.8 kB / 0.6663 GB, free: 4.867 MB / 0.4981 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.003331/0.4368, allocations: 2.191 MB / 0.6685 GB, free: 3.586 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001202/0.4381, allocations: 0.6219 MB / 0.6691 GB, free: 3.387 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.4381, allocations: 4.125 kB / 0.6691 GB, free: 3.383 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005677/0.4386, allocations: 382.6 kB / 0.6694 GB, free: 3.254 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001714/0.4404, allocations: 405.3 kB / 0.6698 GB, free: 3.129 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009406/0.4498, allocations: 7.356 MB / 0.677 GB, free: 14.55 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006715/0.4505, allocations: 1.051 MB / 0.678 GB, free: 13.82 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0005751/0.4511, allocations: 195 kB / 0.6782 GB, free: 13.77 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005025/0.4516, allocations: 376.9 kB / 0.6786 GB, free: 13.51 MB / 0.5137 GB Notification: Performance of SimCode: time 3.71e-07/0.4516, allocations: 1.125 kB / 0.6786 GB, free: 13.51 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3203/0.7719, allocations: 28.23 MB / 0.7062 GB, free: 15.21 MB / 0.5294 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000342/0.7722, allocations: 224.4 kB / 0.7064 GB, free: 14.96 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.622/4.394, allocations: 0 / 0.7064 GB, free: 14.96 MB / 0.5294 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)