Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor.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: translateModel(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor") translateModel(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001468/0.001468, allocations: 114.2 kB / 16.42 MB, free: 6.504 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.001625/0.001625, allocations: 188.2 kB / 17.35 MB, free: 5.758 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.381/1.381, allocations: 222.9 MB / 241 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8719/0.8719, allocations: 132.2 MB / 423.4 MB, free: 6.645 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001175/0.001175, allocations: 72.8 kB / 0.582 GB, free: 23.89 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1227/0.1239, allocations: 80.2 MB / 0.6603 GB, free: 10.41 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor): time 0.02452/0.1485, allocations: 23.28 MB / 0.6831 GB, free: 3.039 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.009048/0.1575, allocations: 6.492 MB / 0.6894 GB, free: 12.53 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008686/0.1584, allocations: 27.81 kB / 0.6894 GB, free: 12.5 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0009914/0.1594, allocations: 405.4 kB / 0.6898 GB, free: 12.1 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.002641/0.1621, allocations: 1.144 MB / 0.691 GB, free: 10.95 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.002644/0.1648, allocations: 1.081 MB / 0.692 GB, free: 9.887 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.002578/0.1674, allocations: 2.015 MB / 0.694 GB, free: 7.863 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001141/0.1685, allocations: 0.7528 MB / 0.6947 GB, free: 7.102 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001571/0.1701, allocations: 0.8407 MB / 0.6955 GB, free: 6.258 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001116/0.1712, allocations: 0.7158 MB / 0.6962 GB, free: 5.539 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0001857/0.1714, allocations: 72 kB / 0.6963 GB, free: 5.469 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001802/0.1732, allocations: 0.9983 MB / 0.6973 GB, free: 4.469 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0002679/0.1735, allocations: 215.1 kB / 0.6975 GB, free: 4.258 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0006655/0.1742, allocations: 0.4894 MB / 0.698 GB, free: 3.766 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.002165/0.1764, allocations: 1.514 MB / 0.6994 GB, free: 2.246 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.1764, allocations: 0 / 0.6994 GB, free: 2.246 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.192e-06/0.1764, allocations: 0 / 0.6994 GB, free: 2.246 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 3.371e-05/0.1764, allocations: 0 / 0.6994 GB, free: 2.246 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: 140 * Number of variables: 140 Notification: Performance of Generate backend data structure: time 0.002645/0.1791, allocations: 1.444 MB / 0.7008 GB, free: 0.7383 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.129e-05/0.1792, allocations: 8.031 kB / 0.7009 GB, free: 0.7305 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000252/0.1794, allocations: 136.1 kB / 0.701 GB, free: 0.5977 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001276/0.1807, allocations: 0.7032 MB / 0.7017 GB, free: 15.85 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.973e-05/0.1808, allocations: 49.31 kB / 0.7017 GB, free: 15.8 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001057/0.1809, allocations: 60 kB / 0.7018 GB, free: 15.74 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001167/0.182, allocations: 0.6624 MB / 0.7024 GB, free: 15.04 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.044e-05/0.1821, allocations: 3.938 kB / 0.7024 GB, free: 15.04 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.41e-05/0.1821, allocations: 24 kB / 0.7024 GB, free: 15.01 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.536e-05/0.1822, allocations: 12 kB / 0.7025 GB, free: 15 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008858/0.1831, allocations: 452.8 kB / 0.7029 GB, free: 14.56 MB / 0.545 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.003913/0.187, allocations: 2.546 MB / 0.7054 GB, free: 11.88 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000808/0.1878, allocations: 362.7 kB / 0.7057 GB, free: 11.52 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00034/0.1882, allocations: 188.8 kB / 0.7059 GB, free: 11.33 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003058/0.1885, allocations: 340.4 kB / 0.7062 GB, free: 10.92 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005381/0.189, allocations: 325.1 kB / 0.7065 GB, free: 10.57 MB / 0.545 GB Notification: Performance of pre-optimization done (n=37): time 2.615e-06/0.189, allocations: 0 / 0.7065 GB, free: 10.57 MB / 0.545 GB Notification: Performance of matching and sorting (n=37): time 0.001414/0.1905, allocations: 0.6935 MB / 0.7072 GB, free: 9.867 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001108/0.1906, allocations: 247.3 kB / 0.7075 GB, free: 9.57 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001042/0.1916, allocations: 0.8446 MB / 0.7083 GB, free: 8.703 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 6.546e-05/0.1917, allocations: 37.7 kB / 0.7083 GB, free: 8.66 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003435/0.1921, allocations: 444.8 kB / 0.7087 GB, free: 8.223 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001167/0.1922, allocations: 127.2 kB / 0.7089 GB, free: 8.098 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001998/0.1924, allocations: 134.2 kB / 0.709 GB, free: 7.961 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001206/0.1925, allocations: 330 kB / 0.7093 GB, free: 7.633 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004198/0.1929, allocations: 211.1 kB / 0.7095 GB, free: 7.422 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005567/0.1935, allocations: 371.6 kB / 0.7099 GB, free: 7 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008499/0.1944, allocations: 0.5379 MB / 0.7104 GB, free: 6.41 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.487e-06/0.1944, allocations: 0 / 0.7104 GB, free: 6.41 MB / 0.545 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.00134/0.1957, allocations: 0.7453 MB / 0.7111 GB, free: 5.652 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 4.923e-05/0.1958, allocations: 41.62 kB / 0.7111 GB, free: 5.605 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.554e-06/0.1958, allocations: 0 / 0.7111 GB, free: 5.605 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.242e-05/0.1958, allocations: 8 kB / 0.7112 GB, free: 5.598 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001005/0.1968, allocations: 171.7 kB / 0.7113 GB, free: 5.43 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001005/0.1979, allocations: 1.782 MB / 0.7131 GB, free: 3.578 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000646/0.1985, allocations: 87.75 kB / 0.7131 GB, free: 3.492 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.099e-05/0.1986, allocations: 24 kB / 0.7132 GB, free: 3.469 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005938/0.1992, allocations: 378.1 kB / 0.7135 GB, free: 3.094 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005284/0.1997, allocations: 378.2 kB / 0.7139 GB, free: 2.66 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008018/0.2006, allocations: 0.5269 MB / 0.7144 GB, free: 2.074 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.765e-06/0.2006, allocations: 4 kB / 0.7144 GB, free: 2.07 MB / 0.545 GB Notification: Performance of matching and sorting (n=72) (initialization_lambda0): time 0.001266/0.2018, allocations: 0.7312 MB / 0.7151 GB, free: 1.324 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 3.324e-05/0.2019, allocations: 39.72 kB / 0.7152 GB, free: 1.281 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.112e-06/0.2019, allocations: 4 kB / 0.7152 GB, free: 1.277 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.093e-06/0.2019, allocations: 4.438 kB / 0.7152 GB, free: 1.273 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005355/0.2025, allocations: 131.8 kB / 0.7153 GB, free: 1.145 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.796e-06/0.2025, allocations: 8 kB / 0.7153 GB, free: 1.137 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006584/0.2031, allocations: 79.67 kB / 0.7154 GB, free: 1.059 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.121e-05/0.2032, allocations: 24 kB / 0.7154 GB, free: 1.035 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 12 (mot.lowHys.y,$PRE.mot.lowHys.y,mot.uppHys.y,$PRE.mot.uppHys.y,ySet.nextEventScaled,ySet.nextEvent,$PRE.ySet.nextEvent,ySet.last,ySet.b,ySet.a,$whenCondition1,mot.int.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 3 systems {1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002241/0.2034, allocations: 251.2 kB / 0.7156 GB, free: 0.7773 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001733/0.2036, allocations: 99.33 kB / 0.7157 GB, free: 0.6797 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00128/0.2049, allocations: 0.6836 MB / 0.7164 GB, free: 15.98 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.955e-06/0.2049, allocations: 3.938 kB / 0.7164 GB, free: 15.98 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.687e-06/0.2049, allocations: 0 / 0.7164 GB, free: 15.98 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002849/0.2052, allocations: 224.3 kB / 0.7166 GB, free: 15.74 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001257/0.2053, allocations: 8 kB / 0.7166 GB, free: 15.73 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004154/0.2058, allocations: 35.95 kB / 0.7167 GB, free: 15.7 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001123/0.2059, allocations: 51.88 kB / 0.7167 GB, free: 15.64 MB / 0.5606 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001575/0.2075, allocations: 0.9361 MB / 0.7176 GB, free: 14.68 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001606/0.2091, allocations: 1.198 MB / 0.7188 GB, free: 13.46 MB / 0.5606 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004082/0.2095, allocations: 248.4 kB / 0.719 GB, free: 13.21 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0007312/0.2103, allocations: 0.5748 MB / 0.7196 GB, free: 12.63 MB / 0.5606 GB Notification: Performance of Backend: time 4.61e-07/0.2103, allocations: 0 / 0.7196 GB, free: 12.63 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.003359/0.2136, allocations: 1.188 MB / 0.7208 GB, free: 11.42 MB / 0.5606 GB Notification: Performance of SimCode: time 0.00319/0.2168, allocations: 2.11 MB / 0.7228 GB, free: 9.25 MB / 0.5606 GB Notification: Performance of Templates: time 0.0303/0.2472, allocations: 18.73 MB / 0.7411 GB, free: 6.734 MB / 0.5762 GB make -j1 -f IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor.makefile (rm -f IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor.pipe ; mkfifo IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor.pipe >> ../files/IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor.sim & ./IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor.pipe 2>&1)