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.003564/0.003564, allocations: 101.5 kB / 15.88 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.0009984/0.0009984, allocations: 196.8 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.174/1.174, allocations: 222.9 MB / 240.5 MB, free: 4.547 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6151/0.6151, allocations: 115.3 MB / 406 MB, free: 2.742 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001126/0.001126, allocations: 68.38 kB / 493 MB, free: 6.652 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1157/0.1168, allocations: 76.18 MB / 0.5559 GB, free: 10.68 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable): time 0.01448/0.1313, allocations: 15.47 MB / 0.571 GB, free: 11.14 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.005432/0.1368, allocations: 4.354 MB / 0.5752 GB, free: 6.773 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000455/0.1373, allocations: 11.94 kB / 0.5752 GB, free: 6.762 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007712/0.1381, allocations: 222.9 kB / 0.5754 GB, free: 6.543 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001314/0.1394, allocations: 0.5481 MB / 0.576 GB, free: 5.992 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001529/0.141, allocations: 0.6366 MB / 0.5766 GB, free: 5.367 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001306/0.1423, allocations: 1.314 MB / 0.5779 GB, free: 4.051 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004442/0.1427, allocations: 295.9 kB / 0.5782 GB, free: 3.758 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007085/0.1434, allocations: 386.3 kB / 0.5785 GB, free: 3.379 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005427/0.144, allocations: 322.5 kB / 0.5788 GB, free: 3.062 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 6.946e-05/0.1441, allocations: 16 kB / 0.5789 GB, free: 3.047 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009742/0.1451, allocations: 0.6121 MB / 0.5795 GB, free: 2.434 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 9.641e-05/0.1452, allocations: 87.59 kB / 0.5795 GB, free: 2.348 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001995/0.1454, allocations: 210.8 kB / 0.5797 GB, free: 2.141 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000761/0.1461, allocations: 0.7399 MB / 0.5805 GB, free: 1.398 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.506e-06/0.1462, allocations: 0 / 0.5805 GB, free: 1.398 MB / 446.1 MB Notification: Performance of FrontEnd: time 7.21e-07/0.1462, allocations: 4 kB / 0.5805 GB, free: 1.395 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.681e-06/0.1462, allocations: 0 / 0.5805 GB, free: 1.395 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.001095/0.1473, allocations: 0.8369 MB / 0.5813 GB, free: 0.5078 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.551e-05/0.1473, allocations: 8.031 kB / 0.5813 GB, free: 0.5 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.961e-05/0.1474, allocations: 54.73 kB / 0.5813 GB, free: 448 kB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.94e-05/0.1475, allocations: 56.31 kB / 0.5814 GB, free: 392 kB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1884/0.3359, allocations: 414.6 kB / 0.5818 GB, free: 34.22 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.616e-05/0.3359, allocations: 20.84 kB / 0.5818 GB, free: 34.22 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.444e-05/0.336, allocations: 25.47 kB / 0.5818 GB, free: 34.22 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000464/0.3365, allocations: 213.3 kB / 0.582 GB, free: 34.19 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.077e-06/0.3365, allocations: 1.25 kB / 0.582 GB, free: 34.19 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.002e-05/0.3365, allocations: 5.891 kB / 0.582 GB, free: 34.19 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.061e-05/0.3365, allocations: 5.812 kB / 0.582 GB, free: 34.19 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003601/0.3369, allocations: 171.1 kB / 0.5822 GB, free: 34.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.001482/0.3384, allocations: 0.9403 MB / 0.5831 GB, free: 33.78 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002785/0.3387, allocations: 135.1 kB / 0.5833 GB, free: 33.76 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001526/0.3388, allocations: 77.06 kB / 0.5833 GB, free: 33.75 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001778/0.339, allocations: 332.2 kB / 0.5836 GB, free: 33.38 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.7e-05/0.3391, allocations: 34.17 kB / 0.5837 GB, free: 33.34 MB / 446.1 MB Notification: Performance of pre-optimization done (n=14): time 1.664e-06/0.3391, allocations: 0 / 0.5837 GB, free: 33.34 MB / 446.1 MB Notification: Performance of matching and sorting (n=14): time 0.0005845/0.3396, allocations: 239.9 kB / 0.5839 GB, free: 33.3 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.013e-05/0.3397, allocations: 60.92 kB / 0.584 GB, free: 33.24 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004661/0.3401, allocations: 479.3 kB / 0.5844 GB, free: 33.04 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.098e-05/0.3402, allocations: 32.08 kB / 0.5845 GB, free: 33 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001228/0.3403, allocations: 235.1 kB / 0.5847 GB, free: 32.82 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.733e-05/0.3403, allocations: 46.06 kB / 0.5847 GB, free: 32.8 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.662e-05/0.3404, allocations: 61.44 kB / 0.5848 GB, free: 32.76 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.424e-05/0.3405, allocations: 349.5 kB / 0.5851 GB, free: 32.43 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001742/0.3407, allocations: 77.62 kB / 0.5852 GB, free: 32.41 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002214/0.3409, allocations: 150.1 kB / 0.5853 GB, free: 32.31 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003159/0.3412, allocations: 166.4 kB / 0.5855 GB, free: 32.23 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.3412, allocations: 0 / 0.5855 GB, free: 32.23 MB / 446.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004693/0.3417, allocations: 253.1 kB / 0.5857 GB, free: 32.13 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.376e-05/0.3417, allocations: 5.062 kB / 0.5857 GB, free: 32.13 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.3417, allocations: 1.031 kB / 0.5857 GB, free: 32.13 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.232e-05/0.3418, allocations: 5.922 kB / 0.5857 GB, free: 32.13 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002273/0.342, allocations: 46.5 kB / 0.5858 GB, free: 32.12 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.675e-06/0.342, allocations: 5.984 kB / 0.5858 GB, free: 32.12 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003176/0.3423, allocations: 42.25 kB / 0.5858 GB, free: 32.11 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.961e-05/0.3424, allocations: 12.53 kB / 0.5858 GB, free: 32.11 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002525/0.3426, allocations: 189.3 kB / 0.586 GB, free: 31.99 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002119/0.3429, allocations: 162.6 kB / 0.5862 GB, free: 31.88 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002942/0.3432, allocations: 167.8 kB / 0.5863 GB, free: 31.8 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.132e-06/0.3432, allocations: 0.8125 kB / 0.5863 GB, free: 31.8 MB / 446.1 MB Notification: Performance of matching and sorting (n=24) (initialization_lambda0): time 0.0004533/0.3436, allocations: 257.1 kB / 0.5866 GB, free: 31.69 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.855e-06/0.3436, allocations: 8.906 kB / 0.5866 GB, free: 31.69 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.074e-06/0.3436, allocations: 0.6875 kB / 0.5866 GB, free: 31.69 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.346e-06/0.3437, allocations: 2.438 kB / 0.5866 GB, free: 31.69 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002007/0.3439, allocations: 50.39 kB / 0.5866 GB, free: 31.68 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.677e-06/0.3439, allocations: 2.172 kB / 0.5867 GB, free: 31.68 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003329/0.3442, allocations: 50 kB / 0.5867 GB, free: 31.67 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.23e-05/0.3442, allocations: 12.55 kB / 0.5867 GB, free: 31.67 MB / 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.028e-05/0.3443, allocations: 191.4 kB / 0.5869 GB, free: 31.48 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.472e-05/0.3444, allocations: 39.61 kB / 0.5869 GB, free: 31.46 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005036/0.3449, allocations: 249.8 kB / 0.5872 GB, free: 31.36 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.452e-06/0.3449, allocations: 2.922 kB / 0.5872 GB, free: 31.36 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.3449, allocations: 5.844 kB / 0.5872 GB, free: 31.36 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.3449, allocations: 0.6562 kB / 0.5872 GB, free: 31.36 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008374/0.3458, allocations: 0.7116 MB / 0.5879 GB, free: 30.89 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/0.3458, allocations: 4.969 kB / 0.5879 GB, free: 30.89 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001226/0.3459, allocations: 31.17 kB / 0.5879 GB, free: 30.88 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.096e-06/0.3459, allocations: 1.781 kB / 0.5879 GB, free: 30.88 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.345e-05/0.3459, allocations: 8.016 kB / 0.5879 GB, free: 30.88 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.166e-06/0.3459, allocations: 2.359 kB / 0.5879 GB, free: 30.88 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.474e-06/0.3459, allocations: 1.75 kB / 0.5879 GB, free: 30.88 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004059/0.3464, allocations: 340.9 kB / 0.5882 GB, free: 30.65 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000105/0.3465, allocations: 146.6 kB / 0.5884 GB, free: 30.52 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.972e-05/0.3465, allocations: 2.641 kB / 0.5884 GB, free: 30.52 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002267/0.3468, allocations: 23.03 kB / 0.5884 GB, free: 30.51 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.321e-05/0.3468, allocations: 14.31 kB / 0.5884 GB, free: 30.51 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.445e-05/0.3468, allocations: 9.406 kB / 0.5884 GB, free: 30.51 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.000323/0.3472, allocations: 331.8 kB / 0.5887 GB, free: 30.36 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3472, allocations: 0 / 0.5887 GB, free: 30.36 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0005874/0.3478, allocations: 203.9 kB / 0.5889 GB, free: 30.32 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 (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.001376/0.3491, allocations: 1.248 MB / 0.5902 GB, free: 29.52 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0005782/0.3497, allocations: 276.5 kB / 0.5904 GB, free: 29.44 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.554e-06/0.3497, allocations: 0 / 0.5904 GB, free: 29.44 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001746/0.3499, allocations: 89.42 kB / 0.5905 GB, free: 29.42 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001165/0.3511, allocations: 211 kB / 0.5907 GB, free: 29.37 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003795/0.3549, allocations: 3.518 MB / 0.5941 GB, free: 27.15 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002501/0.3552, allocations: 0.8223 MB / 0.5949 GB, free: 26.45 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002993/0.3555, allocations: 92.27 kB / 0.595 GB, free: 26.43 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000158/0.3556, allocations: 143.1 kB / 0.5952 GB, free: 26.33 MB / 446.1 MB Notification: Performance of SimCode: time 4.31e-07/0.3556, allocations: 0 / 0.5952 GB, free: 26.33 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.673/3.029, allocations: 12.41 MB / 0.6073 GB, free: 22.39 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.3733/3.402, allocations: 265.1 kB / 0.6076 GB, free: 22.12 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.08/5.482, allocations: 1.531 kB / 0.6076 GB, free: 22.12 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/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)