Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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.Actuators.Valves.Examples.TwoWayValvesTable,fileNamePrefix="IDEAS_IDEAS_Fluid_Actuators_Valves_Examples_TwoWayValvesTable",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable,fileNamePrefix="IDEAS_IDEAS_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.0076/0.0076, allocations: 100.7 kB / 15.73 MB, free: 6.004 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.001819/0.001819, allocations: 195.1 kB / 16.68 MB, free: 5.926 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.288/1.288, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7601/0.7601, allocations: 132.2 MB / 422.7 MB, free: 6.598 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001143/0.001143, allocations: 67.92 kB / 0.5809 GB, free: 24.03 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1404/0.1416, allocations: 80.21 MB / 0.6592 GB, free: 10.76 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable): time 0.01455/0.1562, allocations: 15.55 MB / 0.6744 GB, free: 11.15 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.005621/0.1618, allocations: 4.33 MB / 0.6786 GB, free: 6.805 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004573/0.1623, allocations: 19.88 kB / 0.6786 GB, free: 6.785 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0008146/0.1631, allocations: 258.3 kB / 0.6789 GB, free: 6.531 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.001313/0.1645, allocations: 0.6023 MB / 0.6795 GB, free: 5.926 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.001769/0.1663, allocations: 0.7094 MB / 0.6802 GB, free: 5.227 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.001197/0.1675, allocations: 1.033 MB / 0.6812 GB, free: 4.188 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004408/0.1679, allocations: 338.7 kB / 0.6815 GB, free: 3.859 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006117/0.1686, allocations: 430.3 kB / 0.6819 GB, free: 3.438 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003719/0.1689, allocations: 318.5 kB / 0.6822 GB, free: 3.125 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 5.256e-05/0.169, allocations: 32 kB / 0.6822 GB, free: 3.094 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009487/0.17, allocations: 0.6278 MB / 0.6828 GB, free: 2.465 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 9.881e-05/0.1701, allocations: 103.5 kB / 0.6829 GB, free: 2.363 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0001822/0.1703, allocations: 222.8 kB / 0.6832 GB, free: 2.145 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0008723/0.1711, allocations: 0.7758 MB / 0.6839 GB, free: 1.367 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.64e-06/0.1712, allocations: 4 kB / 0.6839 GB, free: 1.363 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.643e-06/0.1712, allocations: 0 / 0.6839 GB, free: 1.363 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 7.624e-06/0.1712, allocations: 0 / 0.6839 GB, free: 1.363 MB / 0.5137 GB 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.001166/0.1723, allocations: 0.829 MB / 0.6847 GB, free: 496 kB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/0.1724, allocations: 16.02 kB / 0.6847 GB, free: 480 kB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.47e-05/0.1725, allocations: 50.73 kB / 0.6848 GB, free: 420 kB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.715e-05/0.1726, allocations: 52.38 kB / 0.6848 GB, free: 368 kB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006614/0.1732, allocations: 436.4 kB / 0.6853 GB, free: 15.89 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.078e-05/0.1733, allocations: 16.44 kB / 0.6853 GB, free: 15.88 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.789e-05/0.1733, allocations: 28 kB / 0.6853 GB, free: 15.85 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004081/0.1737, allocations: 219.2 kB / 0.6855 GB, free: 15.62 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.04e-05/0.1737, allocations: 0 / 0.6855 GB, free: 15.62 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.801e-05/0.1738, allocations: 4 kB / 0.6855 GB, free: 15.62 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.456e-06/0.1738, allocations: 12 kB / 0.6855 GB, free: 15.61 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003559/0.1741, allocations: 165.6 kB / 0.6857 GB, free: 15.45 MB / 0.5294 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.00144/0.1756, allocations: 0.9417 MB / 0.6866 GB, free: 14.43 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002679/0.1759, allocations: 126.6 kB / 0.6867 GB, free: 14.29 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001495/0.176, allocations: 84.73 kB / 0.6868 GB, free: 14.21 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002542/0.1763, allocations: 340.4 kB / 0.6871 GB, free: 13.8 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.731e-05/0.1763, allocations: 30.56 kB / 0.6872 GB, free: 13.76 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=14): time 1.222e-06/0.1763, allocations: 0 / 0.6872 GB, free: 13.76 MB / 0.5294 GB Notification: Performance of matching and sorting (n=14): time 0.0006066/0.1769, allocations: 236.3 kB / 0.6874 GB, free: 13.53 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.381e-05/0.177, allocations: 59.41 kB / 0.6874 GB, free: 13.46 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004558/0.1774, allocations: 481.9 kB / 0.6879 GB, free: 12.98 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.562e-05/0.1775, allocations: 29.7 kB / 0.6879 GB, free: 12.94 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.000159/0.1776, allocations: 236.6 kB / 0.6881 GB, free: 12.71 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 3.417e-05/0.1777, allocations: 43.3 kB / 0.6882 GB, free: 12.66 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.487e-05/0.1778, allocations: 61.59 kB / 0.6882 GB, free: 12.6 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001209/0.1779, allocations: 358.7 kB / 0.6886 GB, free: 12.24 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001777/0.1781, allocations: 76.81 kB / 0.6887 GB, free: 12.16 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002376/0.1783, allocations: 143.7 kB / 0.6888 GB, free: 11.99 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003299/0.1787, allocations: 164 kB / 0.689 GB, free: 11.82 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.1787, allocations: 0 / 0.689 GB, free: 11.82 MB / 0.5294 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004793/0.1792, allocations: 255 kB / 0.6892 GB, free: 11.57 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.396e-05/0.1792, allocations: 4 kB / 0.6892 GB, free: 11.57 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.582e-06/0.1792, allocations: 4 kB / 0.6892 GB, free: 11.56 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.361e-05/0.1792, allocations: 0 / 0.6892 GB, free: 11.56 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002315/0.1794, allocations: 47.91 kB / 0.6893 GB, free: 11.52 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.763e-06/0.1795, allocations: 3.938 kB / 0.6893 GB, free: 11.51 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002831/0.1798, allocations: 47.66 kB / 0.6893 GB, free: 11.46 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.784e-05/0.1798, allocations: 8 kB / 0.6893 GB, free: 11.46 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002582/0.1801, allocations: 192.1 kB / 0.6895 GB, free: 11.27 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002281/0.1803, allocations: 162.1 kB / 0.6896 GB, free: 11.07 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003169/0.1806, allocations: 168.2 kB / 0.6898 GB, free: 10.89 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.142e-06/0.1806, allocations: 0 / 0.6898 GB, free: 10.89 MB / 0.5294 GB Notification: Performance of matching and sorting (n=24) (initialization_lambda0): time 0.0004635/0.1811, allocations: 257 kB / 0.6901 GB, free: 10.64 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 7.795e-06/0.1811, allocations: 4 kB / 0.6901 GB, free: 10.63 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.845e-06/0.1811, allocations: 4.172 kB / 0.6901 GB, free: 10.63 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.144e-06/0.1811, allocations: 4 kB / 0.6901 GB, free: 10.62 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001956/0.1813, allocations: 55.91 kB / 0.6901 GB, free: 10.57 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.584e-06/0.1813, allocations: 0 / 0.6901 GB, free: 10.57 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003082/0.1816, allocations: 43.86 kB / 0.6902 GB, free: 10.53 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.072e-05/0.1817, allocations: 11.94 kB / 0.6902 GB, free: 10.52 MB / 0.5294 GB 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 9.949e-05/0.1818, allocations: 192.2 kB / 0.6904 GB, free: 10.32 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.554e-05/0.1819, allocations: 43.44 kB / 0.6904 GB, free: 10.28 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005224/0.1824, allocations: 249.3 kB / 0.6906 GB, free: 10.02 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.682e-06/0.1824, allocations: 0 / 0.6906 GB, free: 10.02 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.688e-06/0.1824, allocations: 4 kB / 0.6906 GB, free: 10.02 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.282e-06/0.1824, allocations: 3.938 kB / 0.6906 GB, free: 10.02 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009044/0.1833, allocations: 0.6889 MB / 0.6913 GB, free: 9.258 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.662e-06/0.1833, allocations: 7.984 kB / 0.6913 GB, free: 9.25 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001273/0.1835, allocations: 39.98 kB / 0.6914 GB, free: 9.211 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.507e-06/0.1835, allocations: 7.938 kB / 0.6914 GB, free: 9.203 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.295e-05/0.1835, allocations: 4 kB / 0.6914 GB, free: 9.199 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.924e-06/0.1835, allocations: 0 / 0.6914 GB, free: 9.199 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.1835, allocations: 0 / 0.6914 GB, free: 9.199 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000454/0.184, allocations: 354.7 kB / 0.6917 GB, free: 8.828 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001321/0.1841, allocations: 140.5 kB / 0.6918 GB, free: 8.672 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.394e-05/0.1842, allocations: 4 kB / 0.6918 GB, free: 8.668 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000196/0.1844, allocations: 15.98 kB / 0.6919 GB, free: 8.652 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.234e-05/0.1844, allocations: 11.97 kB / 0.6919 GB, free: 8.641 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.386e-05/0.1845, allocations: 12 kB / 0.6919 GB, free: 8.629 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0003438/0.1848, allocations: 334.9 kB / 0.6922 GB, free: 8.305 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1848, allocations: 0 / 0.6922 GB, free: 8.305 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0006037/0.1854, allocations: 203.6 kB / 0.6924 GB, free: 8.105 MB / 0.5294 GB 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.001714/0.1871, allocations: 1.249 MB / 0.6936 GB, free: 6.984 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0006296/0.1878, allocations: 267.7 kB / 0.6939 GB, free: 6.723 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.1878, allocations: 0 / 0.6939 GB, free: 6.723 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0001952/0.188, allocations: 92.19 kB / 0.694 GB, free: 6.633 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009922/0.189, allocations: 188.9 kB / 0.6941 GB, free: 6.461 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004046/0.1931, allocations: 3.341 MB / 0.6974 GB, free: 3.012 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003473/0.1934, allocations: 0.8309 MB / 0.6982 GB, free: 2.152 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0002714/0.1937, allocations: 90.48 kB / 0.6983 GB, free: 2.066 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001804/0.1939, allocations: 143.4 kB / 0.6984 GB, free: 1.926 MB / 0.5294 GB Notification: Performance of SimCode: time 2.91e-07/0.1939, allocations: 0 / 0.6984 GB, free: 1.926 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03161/0.2255, allocations: 12.99 MB / 0.7111 GB, free: 5.137 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.003/8.229, allocations: 3.625 kB / 0.7111 GB, free: 5.137 MB / 0.545 GB (rm -f IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; mkfifo IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe >> ../files/IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Actuators_Valves_Examples_TwoWayValvesTable_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Actuators_Valves_Examples_TwoWayValvesTable.fmu > IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe 2>&1)