Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Actuators_Valves_Validation_ThreeWayValveParameterization",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Actuators_Valves_Validation_ThreeWayValveParameterization",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.0007817/0.0007818, allocations: 98.03 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008528/0.0008529, allocations: 185.9 kB / 16.92 MB, free: 6.754 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.247/1.247, allocations: 223.3 MB / 241 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6559/0.6559, allocations: 115.5 MB / 407.6 MB, free: 2.75 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002953/0.0002953, allocations: 13.38 kB / 496 MB, free: 6.293 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1222/0.1225, allocations: 77.53 MB / 0.56 GB, free: 8.977 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization): time 0.3707/0.4932, allocations: 151 MB / 0.7075 GB, free: 15.55 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.03608/0.5293, allocations: 30.15 MB / 0.737 GB, free: 1.328 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004546/0.5339, allocations: 123.1 kB / 0.7371 GB, free: 1.207 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.002384/0.5363, allocations: 0.8116 MB / 0.7379 GB, free: 400 kB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.007349/0.5436, allocations: 2.904 MB / 0.7407 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.005045/0.5487, allocations: 2.303 MB / 0.743 GB, free: 11.22 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.007945/0.5567, allocations: 7.385 MB / 0.7502 GB, free: 3.812 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002648/0.5593, allocations: 1.851 MB / 0.752 GB, free: 1.922 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004542/0.5639, allocations: 2.372 MB / 0.7543 GB, free: 15.54 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002484/0.5664, allocations: 1.898 MB / 0.7561 GB, free: 13.63 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0002193/0.5666, allocations: 100 kB / 0.7562 GB, free: 13.54 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001819/0.5685, allocations: 0.9319 MB / 0.7571 GB, free: 12.6 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003923/0.5689, allocations: 445.9 kB / 0.7576 GB, free: 12.16 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001051/0.5699, allocations: 1.151 MB / 0.7587 GB, free: 11 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.002687/0.5726, allocations: 3.122 MB / 0.7617 GB, free: 7.867 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.01e-06/0.5726, allocations: 7.938 kB / 0.7618 GB, free: 7.859 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.563e-06/0.5726, allocations: 4 kB / 0.7618 GB, free: 7.855 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 2.12e-05/0.5727, allocations: 0 / 0.7618 GB, free: 7.855 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 297 * Number of variables: 297 Notification: Performance of Generate backend data structure: time 0.003724/0.5764, allocations: 2.344 MB / 0.764 GB, free: 5.445 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.83e-05/0.5764, allocations: 12.03 kB / 0.7641 GB, free: 5.434 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001833/0.5766, allocations: 177.4 kB / 0.7642 GB, free: 5.25 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003311/0.577, allocations: 264.8 kB / 0.7645 GB, free: 4.988 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001833/0.5788, allocations: 1.445 MB / 0.7659 GB, free: 3.469 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.401e-05/0.5789, allocations: 114.3 kB / 0.766 GB, free: 3.355 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000196/0.5791, allocations: 136 kB / 0.7661 GB, free: 3.223 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001885/0.581, allocations: 1.167 MB / 0.7673 GB, free: 2.027 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.232e-05/0.581, allocations: 3.938 kB / 0.7673 GB, free: 2.023 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001/0.5811, allocations: 52 kB / 0.7673 GB, free: 1.973 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.274e-05/0.5811, allocations: 28 kB / 0.7673 GB, free: 1.945 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001686/0.5828, allocations: 1.02 MB / 0.7683 GB, free: 0.918 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.008342/0.5912, allocations: 6.35 MB / 0.7745 GB, free: 10.1 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008577/0.5921, allocations: 0.5834 MB / 0.7751 GB, free: 9.512 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005435/0.5926, allocations: 395.9 kB / 0.7755 GB, free: 9.125 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003709/0.593, allocations: 0.5031 MB / 0.776 GB, free: 8.508 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.601e-05/0.593, allocations: 39.11 kB / 0.776 GB, free: 8.461 MB / 0.5919 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001224/0.5943, allocations: 334.7 kB / 0.7763 GB, free: 8.133 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=58): time 2.424e-06/0.5943, allocations: 0 / 0.7763 GB, free: 8.133 MB / 0.5919 GB Notification: Performance of matching and sorting (n=58): time 0.001816/0.5961, allocations: 1.133 MB / 0.7774 GB, free: 6.996 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.685e-05/0.5961, allocations: 59.91 kB / 0.7775 GB, free: 6.926 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00211/0.5983, allocations: 1.908 MB / 0.7794 GB, free: 4.992 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 7.763e-05/0.5983, allocations: 45.7 kB / 0.7794 GB, free: 4.941 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006689/0.599, allocations: 0.9185 MB / 0.7803 GB, free: 4.012 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001417/0.5992, allocations: 205 kB / 0.7805 GB, free: 3.809 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001448/0.5993, allocations: 121.6 kB / 0.7806 GB, free: 3.684 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001104/0.5994, allocations: 349.9 kB / 0.781 GB, free: 3.336 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007311/0.6002, allocations: 434.4 kB / 0.7814 GB, free: 2.91 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009332/0.6011, allocations: 0.6762 MB / 0.782 GB, free: 2.152 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00173/0.6029, allocations: 0.9656 MB / 0.783 GB, free: 1.145 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.63e-06/0.6029, allocations: 4 kB / 0.783 GB, free: 1.141 MB / 0.5919 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.00215/0.605, allocations: 1.377 MB / 0.7843 GB, free: 15.75 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001019/0.6051, allocations: 198.5 kB / 0.7845 GB, free: 15.51 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.05e-05/0.6052, allocations: 7.938 kB / 0.7845 GB, free: 15.5 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.775e-05/0.6052, allocations: 8 kB / 0.7845 GB, free: 15.49 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001158/0.6063, allocations: 271.6 kB / 0.7848 GB, free: 15.23 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.607e-05/0.6064, allocations: 15.92 kB / 0.7848 GB, free: 15.21 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001446/0.6078, allocations: 151.6 kB / 0.7849 GB, free: 15.06 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.677e-05/0.6079, allocations: 55.95 kB / 0.785 GB, free: 15.01 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 6.081e-06/0.6079, allocations: 4 kB / 0.785 GB, free: 15 MB / 0.6075 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001767/0.6097, allocations: 1.124 MB / 0.7861 GB, free: 13.88 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/0.6097, allocations: 4 kB / 0.7861 GB, free: 13.88 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.276e-06/0.6097, allocations: 8 kB / 0.7861 GB, free: 13.87 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001065/0.6108, allocations: 275.6 kB / 0.7864 GB, free: 13.6 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.008e-05/0.6108, allocations: 15.88 kB / 0.7864 GB, free: 13.58 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001259/0.6121, allocations: 147.9 kB / 0.7865 GB, free: 13.44 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.452e-05/0.6122, allocations: 55.95 kB / 0.7866 GB, free: 13.38 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (144): * Single equations (assignments): 144 * 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.0005966/0.6128, allocations: 448.7 kB / 0.787 GB, free: 12.93 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002139/0.613, allocations: 201.4 kB / 0.7872 GB, free: 12.73 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001824/0.6148, allocations: 1.077 MB / 0.7883 GB, free: 11.65 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.383e-05/0.6149, allocations: 8 kB / 0.7883 GB, free: 11.64 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/0.6149, allocations: 3.938 kB / 0.7883 GB, free: 11.64 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.718e-06/0.6149, allocations: 3.984 kB / 0.7883 GB, free: 11.63 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003058/0.618, allocations: 2.41 MB / 0.7906 GB, free: 9.145 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.11e-06/0.618, allocations: 0 / 0.7906 GB, free: 9.145 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005409/0.6185, allocations: 143.7 kB / 0.7908 GB, free: 9.004 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.35e-06/0.6185, allocations: 4 kB / 0.7908 GB, free: 9 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.931e-05/0.6186, allocations: 23.98 kB / 0.7908 GB, free: 8.977 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.699e-06/0.6186, allocations: 4 kB / 0.7908 GB, free: 8.973 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.6186, allocations: 0 / 0.7908 GB, free: 8.973 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001286/0.6199, allocations: 1.062 MB / 0.7918 GB, free: 7.875 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004575/0.6204, allocations: 382.2 kB / 0.7922 GB, free: 7.48 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001822/0.6205, allocations: 15.98 kB / 0.7922 GB, free: 7.465 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009023/0.6215, allocations: 99.61 kB / 0.7923 GB, free: 7.367 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000102/0.6216, allocations: 52.58 kB / 0.7924 GB, free: 7.316 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.231e-05/0.6216, allocations: 24 kB / 0.7924 GB, free: 7.293 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.001545/0.6232, allocations: 1.252 MB / 0.7936 GB, free: 6.027 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6232, allocations: 0 / 0.7936 GB, free: 6.027 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001753/0.6249, allocations: 0.8888 MB / 0.7945 GB, free: 5.137 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (77): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * 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.002181/0.6271, allocations: 1.859 MB / 0.7963 GB, free: 3.242 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.002509/0.6296, allocations: 1.584 MB / 0.7978 GB, free: 1.664 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.6297, allocations: 0 / 0.7978 GB, free: 1.664 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0005891/0.6303, allocations: 404 kB / 0.7982 GB, free: 1.273 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005868/0.6361, allocations: 1.14 MB / 0.7993 GB, free: 148 kB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02302/0.6592, allocations: 15.73 MB / 0.8147 GB, free: 15.23 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008714/0.6601, allocations: 1.409 MB / 0.8161 GB, free: 13.78 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001647/0.6617, allocations: 397.6 kB / 0.8164 GB, free: 13.39 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009997/0.6627, allocations: 0.8273 MB / 0.8172 GB, free: 12.56 MB / 0.6387 GB Notification: Performance of SimCode: time 6.21e-07/0.6627, allocations: 3.938 kB / 0.8173 GB, free: 12.56 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3099/0.9727, allocations: 53.82 MB / 0.8698 GB, free: 210.3 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001479/0.9729, allocations: 270.2 kB / 0.8701 GB, free: 210 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.425/4.397, allocations: 0 / 0.8701 GB, free: 210 MB / 0.6387 GB (rm -f IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Actuators_Valves_Validation_ThreeWayValveParameterization_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Actuators_Valves_Validation_ThreeWayValveParameterization.fmu > IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe 2>&1)