Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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: translateModel(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent") translateModel(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001246/0.001246, allocations: 110 kB / 16.41 MB, free: 6.016 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.001213/0.001213, allocations: 187.9 kB / 17.34 MB, free: 5.629 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.388/1.388, allocations: 222.9 MB / 241.1 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8385/0.8385, allocations: 135.2 MB / 426.4 MB, free: 4.09 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00181/0.00181, allocations: 64.56 kB / 0.5863 GB, free: 21.63 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1368/0.1386, allocations: 80.93 MB / 0.6654 GB, free: 5.746 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent): time 0.0214/0.16, allocations: 19.44 MB / 0.6843 GB, free: 2.227 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.007482/0.1676, allocations: 5.157 MB / 0.6894 GB, free: 13.05 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004631/0.168, allocations: 19.88 kB / 0.6894 GB, free: 13.03 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.000687/0.1687, allocations: 278 kB / 0.6897 GB, free: 12.76 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.001666/0.1705, allocations: 0.8038 MB / 0.6904 GB, free: 11.95 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.001885/0.1723, allocations: 0.8697 MB / 0.6913 GB, free: 11.09 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.001769/0.1741, allocations: 1.572 MB / 0.6928 GB, free: 9.512 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006619/0.1748, allocations: 0.5055 MB / 0.6933 GB, free: 8.992 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009306/0.1757, allocations: 0.6382 MB / 0.6939 GB, free: 8.352 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006675/0.1764, allocations: 0.5329 MB / 0.6945 GB, free: 7.816 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 9.475e-05/0.1765, allocations: 59.94 kB / 0.6945 GB, free: 7.758 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001141/0.1777, allocations: 0.7018 MB / 0.6952 GB, free: 7.055 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001622/0.1778, allocations: 159.4 kB / 0.6954 GB, free: 6.898 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0003565/0.1782, allocations: 374 kB / 0.6957 GB, free: 6.531 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001329/0.1795, allocations: 1.105 MB / 0.6968 GB, free: 5.422 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.377e-06/0.1796, allocations: 0 / 0.6968 GB, free: 5.422 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.473e-06/0.1796, allocations: 4 kB / 0.6968 GB, free: 5.418 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 9.708e-06/0.1796, allocations: 4 kB / 0.6968 GB, free: 5.414 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 113 * Number of variables: 113 Notification: Performance of Generate backend data structure: time 0.001913/0.1815, allocations: 1.132 MB / 0.6979 GB, free: 4.23 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.35e-05/0.1815, allocations: 13.11 kB / 0.6979 GB, free: 4.219 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001536/0.1817, allocations: 88.38 kB / 0.698 GB, free: 4.133 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008307/0.1825, allocations: 0.5224 MB / 0.6985 GB, free: 3.57 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.45e-05/0.1826, allocations: 37 kB / 0.6986 GB, free: 3.535 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.101e-05/0.1827, allocations: 48 kB / 0.6986 GB, free: 3.488 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001096/0.1838, allocations: 0.6216 MB / 0.6992 GB, free: 2.797 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.606e-05/0.1838, allocations: 4 kB / 0.6992 GB, free: 2.793 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.746e-05/0.1838, allocations: 19.98 kB / 0.6992 GB, free: 2.773 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.314e-05/0.1839, allocations: 12 kB / 0.6992 GB, free: 2.762 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001111/0.185, allocations: 495.4 kB / 0.6997 GB, free: 2.281 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.003621/0.1886, allocations: 3.213 MB / 0.7029 GB, free: 14.87 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007337/0.1893, allocations: 342.7 kB / 0.7032 GB, free: 14.53 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000501/0.1899, allocations: 236.7 kB / 0.7034 GB, free: 14.3 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003385/0.1902, allocations: 348.1 kB / 0.7037 GB, free: 13.88 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.228e-05/0.1903, allocations: 38.56 kB / 0.7038 GB, free: 13.84 MB / 0.545 GB Notification: Performance of pre-optimization done (n=38): time 1.433e-06/0.1903, allocations: 0 / 0.7038 GB, free: 13.84 MB / 0.545 GB Notification: Performance of matching and sorting (n=38): time 0.002188/0.1925, allocations: 0.8018 MB / 0.7046 GB, free: 13.01 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.394e-05/0.1925, allocations: 67.08 kB / 0.7046 GB, free: 12.93 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007082/0.1932, allocations: 0.5823 MB / 0.7052 GB, free: 12.34 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 4.167e-05/0.1933, allocations: 33.7 kB / 0.7052 GB, free: 12.3 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002767/0.1936, allocations: 337 kB / 0.7055 GB, free: 11.97 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001118/0.1937, allocations: 138.8 kB / 0.7057 GB, free: 11.83 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001973/0.1939, allocations: 126.3 kB / 0.7058 GB, free: 11.7 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001907/0.1941, allocations: 382.7 kB / 0.7062 GB, free: 11.32 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000534/0.1946, allocations: 223.3 kB / 0.7064 GB, free: 11.1 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000652/0.1953, allocations: 364 kB / 0.7067 GB, free: 10.68 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001165/0.1965, allocations: 0.5703 MB / 0.7073 GB, free: 10.05 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.342e-06/0.1965, allocations: 3.984 kB / 0.7073 GB, free: 10.04 MB / 0.545 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001537/0.198, allocations: 0.7191 MB / 0.708 GB, free: 9.312 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.443e-05/0.1981, allocations: 12.09 kB / 0.708 GB, free: 9.301 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.205e-06/0.1981, allocations: 4 kB / 0.708 GB, free: 9.297 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006012/0.1987, allocations: 140.8 kB / 0.7081 GB, free: 9.156 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005523/0.1992, allocations: 139.8 kB / 0.7083 GB, free: 9.02 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000633/0.1999, allocations: 0.6187 MB / 0.7089 GB, free: 8.375 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005079/0.2004, allocations: 87.47 kB / 0.709 GB, free: 8.289 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.283e-05/0.2005, allocations: 31.98 kB / 0.709 GB, free: 8.258 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006652/0.2011, allocations: 349.4 kB / 0.7093 GB, free: 7.914 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006327/0.2018, allocations: 364 kB / 0.7097 GB, free: 7.496 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001103/0.2029, allocations: 0.5626 MB / 0.7102 GB, free: 6.871 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.314e-06/0.2029, allocations: 0 / 0.7102 GB, free: 6.871 MB / 0.545 GB Notification: Performance of matching and sorting (n=73) (initialization_lambda0): time 0.001409/0.2043, allocations: 0.671 MB / 0.7109 GB, free: 6.195 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.07e-05/0.2043, allocations: 11.94 kB / 0.7109 GB, free: 6.184 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.2044, allocations: 4 kB / 0.7109 GB, free: 6.18 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.121e-05/0.2044, allocations: 8 kB / 0.7109 GB, free: 6.172 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006077/0.205, allocations: 164.2 kB / 0.711 GB, free: 6.012 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.096e-05/0.205, allocations: 15.98 kB / 0.7111 GB, free: 5.996 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004633/0.2055, allocations: 59.7 kB / 0.7111 GB, free: 5.938 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.236e-05/0.2055, allocations: 31.98 kB / 0.7112 GB, free: 5.906 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (69): * Single equations (assignments): 68 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0001721/0.2057, allocations: 213.4 kB / 0.7114 GB, free: 5.691 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000112/0.2058, allocations: 67.58 kB / 0.7114 GB, free: 5.625 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001539/0.2074, allocations: 0.6471 MB / 0.7121 GB, free: 4.965 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.245e-05/0.2074, allocations: 7.984 kB / 0.7121 GB, free: 4.957 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.509e-06/0.2074, allocations: 0 / 0.7121 GB, free: 4.957 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.612e-06/0.2074, allocations: 4 kB / 0.7121 GB, free: 4.953 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002578/0.21, allocations: 1.368 MB / 0.7134 GB, free: 3.512 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.162e-06/0.21, allocations: 4 kB / 0.7134 GB, free: 3.508 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003471/0.2104, allocations: 75.89 kB / 0.7135 GB, free: 3.434 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003529/0.2107, allocations: 116.9 kB / 0.7136 GB, free: 3.316 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.311e-05/0.2108, allocations: 12 kB / 0.7136 GB, free: 3.305 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006465/0.2114, allocations: 0.6187 MB / 0.7142 GB, free: 2.66 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.396e-06/0.2114, allocations: 3.984 kB / 0.7142 GB, free: 2.656 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001365/0.2128, allocations: 0.7101 MB / 0.7149 GB, free: 1.922 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002396/0.2131, allocations: 196.5 kB / 0.7151 GB, free: 1.711 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.969e-05/0.2132, allocations: 8 kB / 0.7151 GB, free: 1.703 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003925/0.2136, allocations: 39.95 kB / 0.7151 GB, free: 1.664 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.108e-05/0.2136, allocations: 31.91 kB / 0.7152 GB, free: 1.633 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.107e-05/0.2137, allocations: 23.98 kB / 0.7152 GB, free: 1.609 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0004781/0.2142, allocations: 399.1 kB / 0.7156 GB, free: 1.227 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2142, allocations: 0 / 0.7156 GB, free: 1.227 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001029/0.2152, allocations: 399 kB / 0.7159 GB, free: 0.8359 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (41): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006666/0.2159, allocations: 304.1 kB / 0.7162 GB, free: 0.543 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.002062/0.218, allocations: 0.8657 MB / 0.7171 GB, free: 15.67 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.218, allocations: 1.125 kB / 0.7171 GB, free: 15.67 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0007226/0.2187, allocations: 284.2 kB / 0.7174 GB, free: 15.39 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001128/0.2198, allocations: 239.7 kB / 0.7176 GB, free: 15.16 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001826/0.2217, allocations: 1.09 MB / 0.7186 GB, free: 14.04 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000548/0.2222, allocations: 0.9077 MB / 0.7195 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0004781/0.2227, allocations: 147.7 kB / 0.7197 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001607/0.2229, allocations: 63.41 kB / 0.7197 GB, free: 12.9 MB / 0.5606 GB Notification: Performance of SimCode: time 3.81e-07/0.2229, allocations: 0 / 0.7197 GB, free: 12.9 MB / 0.5606 GB Notification: Performance of Templates: time 0.02198/0.2449, allocations: 12.76 MB / 0.7322 GB, free: 296 kB / 0.5606 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.sim & ./IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe 2>&1)