Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor.conf.json 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/IBPSA 4.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: translateModel(IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor") translateModel(IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009609/0.0009609, allocations: 180.5 kB / 8.007 MB, free: 1.066 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4974/0.4974, allocations: 90.92 MB / 99.35 MB, free: 2.223 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.432/1.432, allocations: 221.5 MB / 343.2 MB, free: 1.559 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008925/0.0008924, allocations: 87.2 kB / 415.9 MB, free: 11.1 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.181e-05/2.183e-05, allocations: 0 / 494.5 MB, free: 52.39 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1708/0.1709, allocations: 72.31 MB / 0.5535 GB, free: 12.27 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.206/1.377, allocations: 352.4 MB / 0.8977 GB, free: 127.9 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002321/1.378, allocations: 94.12 kB / 0.8978 GB, free: 127.8 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.9328/2.31, allocations: 305 MB / 1.196 GB, free: 60.18 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.433e-06/2.311, allocations: 0 / 1.196 GB, free: 60.18 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 0.0001182/2.311, allocations: 27.94 kB / 1.196 GB, free: 60.15 MB / 0.5886 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.002606/2.313, allocations: 1.25 MB / 1.197 GB, free: 58.84 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.665e-05/2.313, allocations: 12.02 kB / 1.197 GB, free: 58.83 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003916/2.314, allocations: 118.7 kB / 1.197 GB, free: 58.71 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001331/2.315, allocations: 0.6639 MB / 1.198 GB, free: 58.01 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.816e-05/2.315, allocations: 16 kB / 1.198 GB, free: 58 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001213/2.315, allocations: 44 kB / 1.198 GB, free: 57.95 MB / 0.5886 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006698/2.316, allocations: 402.5 kB / 1.198 GB, free: 57.56 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007698/2.317, allocations: 0.5779 MB / 1.199 GB, free: 56.95 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.696e-05/2.317, allocations: 0 / 1.199 GB, free: 56.95 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.12e-05/2.317, allocations: 4 kB / 1.199 GB, free: 56.94 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.187e-05/2.317, allocations: 12 kB / 1.199 GB, free: 56.93 MB / 0.5886 GB Warning: The model contains alias variables with conflicting start and/or 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.003122/2.32, allocations: 2.471 MB / 1.201 GB, free: 54.34 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004346/2.32, allocations: 336.4 kB / 1.201 GB, free: 54 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000208/2.321, allocations: 181.1 kB / 1.202 GB, free: 53.82 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002411/2.321, allocations: 356.4 kB / 1.202 GB, free: 53.39 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003384/2.321, allocations: 317.2 kB / 1.202 GB, free: 53.05 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=37): time 3.136e-06/2.321, allocations: 112 / 1.202 GB, free: 53.05 MB / 0.5886 GB Notification: Performance of matching and sorting (n=37): time 0.001388/2.323, allocations: 0.6135 MB / 1.203 GB, free: 52.43 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.273e-05/2.323, allocations: 243.6 kB / 1.203 GB, free: 52.14 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005993/2.323, allocations: 0.6023 MB / 1.204 GB, free: 51.53 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 5.406e-05/2.323, allocations: 29.7 kB / 1.204 GB, free: 51.49 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002239/2.324, allocations: 443.8 kB / 1.204 GB, free: 51.05 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 7.557e-05/2.324, allocations: 114.4 kB / 1.204 GB, free: 50.94 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.015e-05/2.324, allocations: 0 / 1.204 GB, free: 50.94 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 5.265e-05/2.324, allocations: 326 kB / 1.205 GB, free: 50.62 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002666/2.324, allocations: 193.1 kB / 1.205 GB, free: 50.43 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002985/2.324, allocations: 383.1 kB / 1.205 GB, free: 49.97 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007886/2.325, allocations: 317.8 kB / 1.205 GB, free: 49.66 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.178e-06/2.325, allocations: 0 / 1.205 GB, free: 49.66 MB / 0.5886 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001366/2.326, allocations: 0.7549 MB / 1.206 GB, free: 48.9 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002062/2.327, allocations: 1.086 MB / 1.207 GB, free: 47.73 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.997e-06/2.327, allocations: 4 kB / 1.207 GB, free: 47.73 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.007e-05/2.327, allocations: 4 kB / 1.207 GB, free: 47.72 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008923/2.328, allocations: 169.5 kB / 1.207 GB, free: 47.56 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006439/2.328, allocations: 1.789 MB / 1.209 GB, free: 45.7 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007299/2.329, allocations: 103.5 kB / 1.209 GB, free: 45.6 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.202e-05/2.329, allocations: 32 kB / 1.209 GB, free: 45.57 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 8.576e-06/2.329, allocations: 4 kB / 1.209 GB, free: 45.56 MB / 0.5886 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00118/2.33, allocations: 0.6447 MB / 1.21 GB, free: 44.91 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/2.33, allocations: 4 kB / 1.21 GB, free: 44.91 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.533e-06/2.33, allocations: 4 kB / 1.21 GB, free: 44.91 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004714/2.331, allocations: 131.8 kB / 1.21 GB, free: 44.78 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.42e-06/2.331, allocations: 8.281 kB / 1.21 GB, free: 44.77 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006563/2.332, allocations: 99.52 kB / 1.21 GB, free: 44.67 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.679e-05/2.332, allocations: 31.98 kB / 1.21 GB, free: 44.64 MB / 0.5886 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 ($whenCondition1,ySet.a,ySet.b,ySet.last,$PRE.ySet.nextEvent,ySet.nextEvent,ySet.nextEventScaled,$PRE.mot.uppHys.y,mot.uppHys.y,$PRE.mot.lowHys.y,mot.lowHys.y,mot.int.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (65): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001774/2.332, allocations: 162.4 kB / 1.21 GB, free: 44.47 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000123/2.332, allocations: 86.97 kB / 1.21 GB, free: 44.38 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001503/2.333, allocations: 0.7138 MB / 1.211 GB, free: 43.66 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.114e-05/2.333, allocations: 12.08 kB / 1.211 GB, free: 43.65 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.772e-06/2.333, allocations: 4 kB / 1.211 GB, free: 43.64 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.606e-06/2.333, allocations: 3.984 kB / 1.211 GB, free: 43.64 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002347/2.336, allocations: 1.519 MB / 1.213 GB, free: 42.07 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.193e-05/2.336, allocations: 4 kB / 1.213 GB, free: 42.06 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004323/2.336, allocations: 99.94 kB / 1.213 GB, free: 41.96 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.005e-06/2.336, allocations: 0 / 1.213 GB, free: 41.96 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.124e-05/2.336, allocations: 12 kB / 1.213 GB, free: 41.95 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005796/2.337, allocations: 1.77 MB / 1.214 GB, free: 40.11 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/2.337, allocations: 0 / 1.214 GB, free: 40.11 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001736/2.339, allocations: 1.216 MB / 1.216 GB, free: 38.85 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004191/2.339, allocations: 227.8 kB / 1.216 GB, free: 38.61 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001922/2.339, allocations: 15.98 kB / 1.216 GB, free: 38.59 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006938/2.34, allocations: 60 kB / 1.216 GB, free: 38.53 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001121/2.34, allocations: 47.92 kB / 1.216 GB, free: 38.48 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.379e-05/2.34, allocations: 23.98 kB / 1.216 GB, free: 38.46 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0004923/2.341, allocations: 459.1 kB / 1.216 GB, free: 38.02 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.41e-07/2.341, allocations: 0 / 1.216 GB, free: 38.02 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.001668/2.342, allocations: 0.491 MB / 1.217 GB, free: 37.53 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 1 (mot.int.y) * Number of discrete variables: 8 ($whenCondition1,ySet.a,ySet.b,ySet.last,ySet.nextEvent,ySet.nextEventScaled,mot.uppHys.y,mot.lowHys.y) * Number of discrete states: 8 (ySet.nextEvent,ySet.last,ySet.nextEventScaled,ySet.b,ySet.a,$whenCondition1,mot.lowHys.y,mot.uppHys.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001198/2.344, allocations: 489.8 kB / 1.217 GB, free: 37.05 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.001715/2.345, allocations: 0.9168 MB / 1.218 GB, free: 36.1 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 3.537e-06/2.345, allocations: 0 / 1.218 GB, free: 36.1 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0004268/2.346, allocations: 319.2 kB / 1.219 GB, free: 35.78 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001629/2.347, allocations: 300 kB / 1.219 GB, free: 35.48 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002045/2.35, allocations: 1.04 MB / 1.22 GB, free: 34.41 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003791/2.35, allocations: 1.015 MB / 1.221 GB, free: 33.36 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.0007703/2.351, allocations: 196 kB / 1.221 GB, free: 33.17 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001319/2.351, allocations: 55.41 kB / 1.221 GB, free: 33.12 MB / 0.5886 GB Notification: Performance of SimCode: time 3.61e-07/2.351, allocations: 0 / 1.221 GB, free: 33.12 MB / 0.5886 GB Notification: Performance of Templates: time 0.02443/2.375, allocations: 15.54 MB / 1.236 GB, free: 17.73 MB / 0.5886 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor.sim & ./IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor.pipe 2>&1)