Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable.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.TwoWayValveTable,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Actuators_Valves_Examples_TwoWayValveTable",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Actuators_Valves_Examples_TwoWayValveTable",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.004338/0.004338, allocations: 100.8 kB / 15.87 MB, free: 6.312 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.001193/0.001193, allocations: 197.4 kB / 16.79 MB, free: 6.242 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.183/1.183, allocations: 222.9 MB / 240.5 MB, free: 4.555 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6129/0.6129, allocations: 115.3 MB / 405.9 MB, free: 2.766 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001196/0.001196, allocations: 60.31 kB / 493 MB, free: 6.66 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1123/0.1135, allocations: 76.18 MB / 0.5558 GB, free: 10.69 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable): time 0.01611/0.1297, allocations: 17.38 MB / 0.5728 GB, free: 9.238 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.005507/0.1352, allocations: 4.926 MB / 0.5776 GB, free: 4.297 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003812/0.1356, allocations: 19.88 kB / 0.5776 GB, free: 4.277 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006519/0.1363, allocations: 214.9 kB / 0.5779 GB, free: 4.066 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001151/0.1375, allocations: 0.556 MB / 0.5784 GB, free: 3.508 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001451/0.1389, allocations: 0.6513 MB / 0.579 GB, free: 2.867 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001142/0.1401, allocations: 1.271 MB / 0.5803 GB, free: 1.594 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003975/0.1405, allocations: 299.5 kB / 0.5806 GB, free: 1.297 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005689/0.1411, allocations: 386.3 kB / 0.5809 GB, free: 0.918 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003675/0.1414, allocations: 310.6 kB / 0.5812 GB, free: 0.6133 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 5.79e-05/0.1415, allocations: 20 kB / 0.5812 GB, free: 0.5938 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.1954/0.3369, allocations: 0.6959 MB / 0.5819 GB, free: 12.19 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002219/0.3371, allocations: 121.8 kB / 0.582 GB, free: 12.19 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003644/0.3375, allocations: 235.8 kB / 0.5823 GB, free: 12.19 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001433/0.339, allocations: 0.8557 MB / 0.5831 GB, free: 12.14 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.339, allocations: 0 / 0.5831 GB, free: 12.14 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.339, allocations: 1 kB / 0.5831 GB, free: 12.14 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.659e-05/0.339, allocations: 0 / 0.5831 GB, free: 12.14 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.001336/0.3404, allocations: 0.8792 MB / 0.584 GB, free: 11.59 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.796e-05/0.3404, allocations: 10.09 kB / 0.584 GB, free: 11.59 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.309e-05/0.3405, allocations: 60.72 kB / 0.584 GB, free: 11.55 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001783/0.3406, allocations: 58.97 kB / 0.5841 GB, free: 11.52 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005462/0.3412, allocations: 446.2 kB / 0.5845 GB, free: 11.26 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.068e-05/0.3412, allocations: 21.16 kB / 0.5845 GB, free: 11.26 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.214e-05/0.3413, allocations: 35.31 kB / 0.5846 GB, free: 11.26 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004865/0.3418, allocations: 286.8 kB / 0.5848 GB, free: 11.18 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.026e-05/0.3418, allocations: 0.5625 kB / 0.5848 GB, free: 11.18 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.28e-05/0.3418, allocations: 9.406 kB / 0.5848 GB, free: 11.18 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.047e-06/0.3418, allocations: 10.06 kB / 0.5849 GB, free: 11.18 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000413/0.3422, allocations: 193.9 kB / 0.585 GB, free: 11.18 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.001774/0.344, allocations: 1.478 MB / 0.5865 GB, free: 26.31 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003148/0.3444, allocations: 161.9 kB / 0.5866 GB, free: 26.29 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001727/0.3445, allocations: 87.44 kB / 0.5867 GB, free: 26.28 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001364/0.3459, allocations: 1.274 MB / 0.588 GB, free: 25.14 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.427e-05/0.3459, allocations: 37.12 kB / 0.588 GB, free: 25.11 MB / 462.1 MB Notification: Performance of pre-optimization done (n=15): time 1.342e-06/0.3459, allocations: 0 / 0.588 GB, free: 25.11 MB / 462.1 MB Notification: Performance of matching and sorting (n=15): time 0.000597/0.3465, allocations: 252.4 kB / 0.5882 GB, free: 25.04 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.86e-05/0.3466, allocations: 54.23 kB / 0.5883 GB, free: 24.98 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006658/0.3472, allocations: 0.5868 MB / 0.5889 GB, free: 24.86 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 1.978e-05/0.3473, allocations: 32.44 kB / 0.5889 GB, free: 24.82 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001625/0.3474, allocations: 270.9 kB / 0.5892 GB, free: 24.69 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.073e-05/0.3475, allocations: 53.53 kB / 0.5892 GB, free: 24.66 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.311e-05/0.3476, allocations: 72.92 kB / 0.5893 GB, free: 24.64 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001117/0.3477, allocations: 358.4 kB / 0.5896 GB, free: 24.33 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001962/0.3479, allocations: 76.88 kB / 0.5897 GB, free: 24.32 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002699/0.3482, allocations: 214.5 kB / 0.5899 GB, free: 24.19 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003611/0.3485, allocations: 235.5 kB / 0.5901 GB, free: 24.1 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.3486, allocations: 0 / 0.5901 GB, free: 24.1 MB / 462.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005614/0.3491, allocations: 311 kB / 0.5904 GB, free: 24.04 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.483e-05/0.3491, allocations: 5.656 kB / 0.5904 GB, free: 24.04 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/0.3492, allocations: 10.62 kB / 0.5904 GB, free: 24.04 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.432e-05/0.3492, allocations: 7.938 kB / 0.5904 GB, free: 24.04 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002384/0.3494, allocations: 61.88 kB / 0.5905 GB, free: 24.04 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.388e-06/0.3494, allocations: 5.516 kB / 0.5905 GB, free: 24.04 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000338/0.3498, allocations: 47.88 kB / 0.5905 GB, free: 24.02 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.234e-05/0.3498, allocations: 16 kB / 0.5906 GB, free: 24.02 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002852/0.3501, allocations: 218 kB / 0.5908 GB, free: 23.93 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002351/0.3504, allocations: 210.6 kB / 0.591 GB, free: 23.8 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003334/0.3507, allocations: 235.3 kB / 0.5912 GB, free: 23.7 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.864e-06/0.3507, allocations: 0 / 0.5912 GB, free: 23.7 MB / 462.1 MB Notification: Performance of matching and sorting (n=33) (initialization_lambda0): time 0.0005284/0.3512, allocations: 306.4 kB / 0.5915 GB, free: 23.64 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.968e-06/0.3513, allocations: 9.906 kB / 0.5915 GB, free: 23.64 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.379e-06/0.3513, allocations: 3.469 kB / 0.5915 GB, free: 23.64 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.222e-06/0.3513, allocations: 7.75 kB / 0.5915 GB, free: 23.64 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002161/0.3515, allocations: 66.86 kB / 0.5916 GB, free: 23.64 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.732e-06/0.3515, allocations: 8.016 kB / 0.5916 GB, free: 23.64 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003478/0.3519, allocations: 37.34 kB / 0.5916 GB, free: 23.63 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.58e-05/0.3519, allocations: 20.45 kB / 0.5916 GB, free: 23.62 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (33): * Single equations (assignments): 33 * 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.0001016/0.352, allocations: 195.3 kB / 0.5918 GB, free: 23.45 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.995e-05/0.3521, allocations: 45.56 kB / 0.5919 GB, free: 23.42 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005106/0.3526, allocations: 265.6 kB / 0.5921 GB, free: 23.37 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.274e-06/0.3526, allocations: 7.25 kB / 0.5921 GB, free: 23.36 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.3526, allocations: 0.8438 kB / 0.5921 GB, free: 23.36 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.546e-06/0.3526, allocations: 2.312 kB / 0.5921 GB, free: 23.36 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009091/0.3536, allocations: 0.7271 MB / 0.5928 GB, free: 23.03 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.878e-06/0.3536, allocations: 1.281 kB / 0.5928 GB, free: 23.03 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000121/0.3537, allocations: 36.67 kB / 0.5929 GB, free: 23.02 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.667e-06/0.3537, allocations: 2.094 kB / 0.5929 GB, free: 23.02 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.306e-05/0.3537, allocations: 7.078 kB / 0.5929 GB, free: 23.02 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.796e-06/0.3537, allocations: 1.75 kB / 0.5929 GB, free: 23.02 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.3537, allocations: 2.922 kB / 0.5929 GB, free: 23.02 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004355/0.3542, allocations: 353.3 kB / 0.5932 GB, free: 22.83 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001198/0.3543, allocations: 153.4 kB / 0.5934 GB, free: 22.7 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.793e-05/0.3544, allocations: 5.25 kB / 0.5934 GB, free: 22.7 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002135/0.3546, allocations: 16.92 kB / 0.5934 GB, free: 22.7 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.443e-05/0.3546, allocations: 15.2 kB / 0.5934 GB, free: 22.7 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.623e-05/0.3547, allocations: 10.5 kB / 0.5934 GB, free: 22.7 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0004473/0.3551, allocations: 424.5 kB / 0.5938 GB, free: 22.61 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3551, allocations: 0 / 0.5938 GB, free: 22.61 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0007292/0.3559, allocations: 230.4 kB / 0.594 GB, free: 22.58 MB / 462.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 (17): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.2385/0.5944, allocations: 1.279 MB / 0.5953 GB, free: 21.79 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0007439/0.5952, allocations: 318.2 kB / 0.5956 GB, free: 21.78 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.5952, allocations: 1.094 kB / 0.5956 GB, free: 21.78 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001714/0.5954, allocations: 92.98 kB / 0.5957 GB, free: 21.78 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001238/0.5966, allocations: 245.9 kB / 0.5959 GB, free: 21.76 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004932/0.6016, allocations: 4.137 MB / 0.6 GB, free: 19.8 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003616/0.6019, allocations: 0.845 MB / 0.6008 GB, free: 19.1 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0003524/0.6023, allocations: 104.9 kB / 0.6009 GB, free: 19.07 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001815/0.6025, allocations: 162.9 kB / 0.601 GB, free: 19.07 MB / 462.1 MB Notification: Performance of SimCode: time 2.51e-07/0.6025, allocations: 0.5 kB / 0.601 GB, free: 19.07 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.974/2.577, allocations: 14.48 MB / 0.6152 GB, free: 15 MB / 462.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001596/2.577, allocations: 255.4 kB / 0.6154 GB, free: 14.75 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.982/4.558, allocations: 3.938 kB / 0.6154 GB, free: 14.74 MB / 462.1 MB (rm -f IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Actuators_Valves_Examples_TwoWayValveTable_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Actuators_Valves_Examples_TwoWayValveTable.fmu > IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe 2>&1)