Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.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.Examples.TwoWayValvesTable,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Actuators_Valves_Examples_TwoWayValvesTable",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Actuators_Valves_Examples_TwoWayValvesTable",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.00103/0.00103, allocations: 97.52 kB / 15.69 MB, free: 488 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.001254/0.001254, allocations: 171 kB / 16.56 MB, free: 6.391 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.43/1.43, allocations: 223.2 MB / 240.5 MB, free: 5.461 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6208/0.6208, allocations: 113.7 MB / 405.3 MB, free: 4.699 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004584/0.0004588, allocations: 13.09 kB / 493 MB, free: 8.594 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1711/0.1716, allocations: 77.11 MB / 0.5567 GB, free: 11.69 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable): time 0.01222/0.1839, allocations: 13.08 MB / 0.5695 GB, free: 14.57 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.00589/0.1898, allocations: 3.745 MB / 0.5732 GB, free: 10.82 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000513/0.1904, allocations: 11.88 kB / 0.5732 GB, free: 10.8 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009035/0.1913, allocations: 250.8 kB / 0.5734 GB, free: 10.56 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001629/0.1929, allocations: 0.627 MB / 0.574 GB, free: 9.93 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0021/0.1951, allocations: 0.7695 MB / 0.5748 GB, free: 9.18 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001032/0.1961, allocations: 0.6248 MB / 0.5754 GB, free: 8.551 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004014/0.1965, allocations: 274.7 kB / 0.5756 GB, free: 8.277 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006518/0.1972, allocations: 338.8 kB / 0.576 GB, free: 7.945 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003089/0.1975, allocations: 227 kB / 0.5762 GB, free: 7.723 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 4.14e-05/0.1975, allocations: 20 kB / 0.5762 GB, free: 7.703 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008483/0.1984, allocations: 399.4 kB / 0.5766 GB, free: 7.312 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001594/0.1986, allocations: 79.66 kB / 0.5767 GB, free: 7.234 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 9.393e-05/0.1987, allocations: 105.5 kB / 0.5768 GB, free: 7.125 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000579/0.1992, allocations: 490.8 kB / 0.5772 GB, free: 6.645 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.1993, allocations: 0 / 0.5772 GB, free: 6.645 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.944e-06/0.1993, allocations: 0 / 0.5772 GB, free: 6.645 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.432e-06/0.1993, allocations: 0 / 0.5772 GB, free: 6.645 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 51 * Number of variables: 51 Notification: Performance of Generate backend data structure: time 0.00113/0.2004, allocations: 0.7412 MB / 0.5779 GB, free: 5.855 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.184e-05/0.2005, allocations: 8.031 kB / 0.578 GB, free: 5.848 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.71e-05/0.2005, allocations: 58.53 kB / 0.578 GB, free: 5.781 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.272e-05/0.2006, allocations: 55.28 kB / 0.5781 GB, free: 5.727 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005791/0.2012, allocations: 393 kB / 0.5784 GB, free: 5.305 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.564e-05/0.2012, allocations: 20.44 kB / 0.5785 GB, free: 5.285 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.95e-05/0.2013, allocations: 28 kB / 0.5785 GB, free: 5.258 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003946/0.2017, allocations: 219.2 kB / 0.5787 GB, free: 5.039 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.866e-06/0.2017, allocations: 0 / 0.5787 GB, free: 5.039 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.312e-05/0.2017, allocations: 12 kB / 0.5787 GB, free: 5.027 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.247e-06/0.2018, allocations: 4 kB / 0.5787 GB, free: 5.023 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004216/0.2022, allocations: 173.6 kB / 0.5789 GB, free: 4.852 MB / 446.1 MB 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.001627/0.2038, allocations: 0.9535 MB / 0.5798 GB, free: 3.824 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002728/0.2041, allocations: 146.5 kB / 0.5799 GB, free: 3.672 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002939/0.2044, allocations: 340.4 kB / 0.5803 GB, free: 3.266 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.697e-05/0.2044, allocations: 30.56 kB / 0.5803 GB, free: 3.227 MB / 446.1 MB Notification: Performance of pre-optimization done (n=14): time 1.272e-06/0.2044, allocations: 0 / 0.5803 GB, free: 3.227 MB / 446.1 MB Notification: Performance of matching and sorting (n=14): time 0.0006251/0.2051, allocations: 260.4 kB / 0.5805 GB, free: 2.969 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.118e-05/0.2051, allocations: 59.3 kB / 0.5806 GB, free: 2.898 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005213/0.2057, allocations: 474 kB / 0.5811 GB, free: 2.426 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.042e-05/0.2057, allocations: 33.7 kB / 0.5811 GB, free: 2.387 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001811/0.2059, allocations: 232.6 kB / 0.5813 GB, free: 2.156 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.565e-05/0.2059, allocations: 43.36 kB / 0.5813 GB, free: 2.113 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.097e-05/0.2059, allocations: 4 kB / 0.5814 GB, free: 2.109 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001626/0.2061, allocations: 346.8 kB / 0.5817 GB, free: 1.762 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001655/0.2063, allocations: 75.95 kB / 0.5818 GB, free: 1.688 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002325/0.2065, allocations: 156.6 kB / 0.5819 GB, free: 1.508 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001824/0.2067, allocations: 79.91 kB / 0.582 GB, free: 1.43 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.2067, allocations: 0 / 0.582 GB, free: 1.43 MB / 446.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004557/0.2072, allocations: 263.6 kB / 0.5822 GB, free: 1.168 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001162/0.2073, allocations: 271 kB / 0.5825 GB, free: 0.8828 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.2073, allocations: 4 kB / 0.5825 GB, free: 0.8789 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.518e-05/0.2073, allocations: 4 kB / 0.5825 GB, free: 0.875 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002202/0.2076, allocations: 55.84 kB / 0.5826 GB, free: 0.8203 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.837e-06/0.2076, allocations: 4 kB / 0.5826 GB, free: 0.8164 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003058/0.2079, allocations: 51.66 kB / 0.5826 GB, free: 0.7656 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.031e-05/0.2079, allocations: 11.98 kB / 0.5826 GB, free: 0.7539 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.133e-06/0.2079, allocations: 4 kB / 0.5826 GB, free: 0.75 MB / 446.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003714/0.2083, allocations: 179.8 kB / 0.5828 GB, free: 0.5742 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.398e-06/0.2083, allocations: 4 kB / 0.5828 GB, free: 0.5703 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.415e-06/0.2083, allocations: 0 / 0.5828 GB, free: 0.5703 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001832/0.2085, allocations: 52.09 kB / 0.5828 GB, free: 0.5195 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.09e-06/0.2086, allocations: 7.953 kB / 0.5829 GB, free: 0.5117 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002886/0.2088, allocations: 43.72 kB / 0.5829 GB, free: 480 kB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.006e-05/0.2089, allocations: 11.98 kB / 0.5829 GB, free: 468 kB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (24): * Single equations (assignments): 24 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001901/0.2091, allocations: 241.1 kB / 0.5831 GB, free: 216 kB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.75e-05/0.2091, allocations: 39.52 kB / 0.5832 GB, free: 176 kB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.4134/0.6226, allocations: 263.3 kB / 0.5834 GB, free: 34.2 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.856e-05/0.6227, allocations: 1.656 kB / 0.5834 GB, free: 34.2 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.415e-05/0.6227, allocations: 5.031 kB / 0.5834 GB, free: 34.2 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.947e-06/0.6227, allocations: 1.062 kB / 0.5834 GB, free: 34.2 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002379/0.6251, allocations: 0.7063 MB / 0.5841 GB, free: 33.88 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.927e-05/0.6252, allocations: 2.594 kB / 0.5841 GB, free: 33.88 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002918/0.6255, allocations: 36.38 kB / 0.5842 GB, free: 33.88 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.648e-05/0.6255, allocations: 6.125 kB / 0.5842 GB, free: 33.88 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.126e-05/0.6256, allocations: 3.891 kB / 0.5842 GB, free: 33.88 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.156e-05/0.6256, allocations: 1.969 kB / 0.5842 GB, free: 33.88 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.217e-06/0.6256, allocations: 2.016 kB / 0.5842 GB, free: 33.88 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001069/0.6267, allocations: 407.5 kB / 0.5846 GB, free: 33.66 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003225/0.627, allocations: 150.2 kB / 0.5847 GB, free: 33.56 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.576e-05/0.6271, allocations: 4.016 kB / 0.5847 GB, free: 33.56 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000411/0.6275, allocations: 27.3 kB / 0.5847 GB, free: 33.56 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.807e-05/0.6277, allocations: 12.91 kB / 0.5847 GB, free: 33.56 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.623e-05/0.6277, allocations: 11.27 kB / 0.5848 GB, free: 33.56 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0008599/0.6286, allocations: 333.8 kB / 0.5851 GB, free: 33.47 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.8e-07/0.6286, allocations: 1.062 kB / 0.5851 GB, free: 33.47 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00161/0.6302, allocations: 193.7 kB / 0.5853 GB, free: 33.47 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (16): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003219/0.6335, allocations: 1.578 MB / 0.5868 GB, free: 32.4 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00119/0.6347, allocations: 276.8 kB / 0.5871 GB, free: 32.4 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.649e-06/0.6347, allocations: 0.6562 kB / 0.5871 GB, free: 32.4 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003139/0.635, allocations: 92.28 kB / 0.5872 GB, free: 32.39 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001844/0.6369, allocations: 224.8 kB / 0.5874 GB, free: 32.38 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003306/0.6402, allocations: 1.488 MB / 0.5888 GB, free: 31.38 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006233/0.6408, allocations: 0.8396 MB / 0.5896 GB, free: 30.68 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0007784/0.6417, allocations: 87.42 kB / 0.5897 GB, free: 30.67 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004677/0.6421, allocations: 142.8 kB / 0.5899 GB, free: 30.66 MB / 446.1 MB Notification: Performance of SimCode: time 1.713e-06/0.6422, allocations: 1.062 kB / 0.5899 GB, free: 30.66 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05248/0.6947, allocations: 12 MB / 0.6016 GB, free: 27.93 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002483/0.695, allocations: 234.2 kB / 0.6018 GB, free: 27.68 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.616/3.311, allocations: 4 kB / 0.6018 GB, free: 27.68 MB / 446.1 MB (rm -f IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Actuators_Valves_Examples_TwoWayValvesTable_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Actuators_Valves_Examples_TwoWayValvesTable.fmu > IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe 2>&1) Environment - environmentSimulation: