Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor") translateModel(BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7382/0.7382, allocations: 127.4 MB / 134.9 MB, free: 3.465 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001136/0.001136, allocations: 188.1 kB / 164.6 MB, free: 11.62 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.629/1.629, allocations: 205.2 MB / 399.5 MB, free: 13.56 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009429/0.0009428, allocations: 84.86 kB / 476.7 MB, free: 1.523 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 2.495e-05/2.497e-05, allocations: 5.219 kB / 0.5466 GB, free: 95.57 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1517/0.1518, allocations: 76.77 MB / 0.6215 GB, free: 43.12 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7727/0.9245, allocations: 362.3 MB / 0.9754 GB, free: 13.49 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002575/0.9248, allocations: 102.8 kB / 0.9755 GB, free: 13.43 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 1.308/2.233, allocations: 294.8 MB / 1.263 GB, free: 156 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.695e-06/2.233, allocations: 0 / 1.263 GB, free: 156 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0002227/2.234, allocations: 29.72 kB / 1.263 GB, free: 156 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 136 * Number of variables: 136 Notification: Performance of Generate backend data structure: time 0.004307/2.238, allocations: 1.225 MB / 1.265 GB, free: 155.6 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.12e-05/2.238, allocations: 13.53 kB / 1.265 GB, free: 155.6 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001257/2.239, allocations: 177.1 kB / 1.265 GB, free: 155.5 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002095/2.241, allocations: 0.6675 MB / 1.265 GB, free: 155.3 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.909e-05/2.241, allocations: 17.78 kB / 1.265 GB, free: 155.3 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002429/2.242, allocations: 42.86 kB / 1.265 GB, free: 155.3 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001118/2.243, allocations: 401.1 kB / 1.266 GB, free: 155.3 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001262/2.244, allocations: 0.5752 MB / 1.266 GB, free: 155.1 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.823e-05/2.244, allocations: 0 / 1.266 GB, free: 155.1 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.289e-05/2.244, allocations: 2.75 kB / 1.266 GB, free: 155.1 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.955e-05/2.244, allocations: 12.81 kB / 1.266 GB, free: 155.1 MB / 0.6511 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.004722/2.249, allocations: 2.806 MB / 1.269 GB, free: 153.5 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006033/2.25, allocations: 311.7 kB / 1.269 GB, free: 153.5 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002871/2.25, allocations: 180.3 kB / 1.27 GB, free: 153.5 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002092/2.25, allocations: 101.1 kB / 1.27 GB, free: 153.4 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004255/2.25, allocations: 267.1 kB / 1.27 GB, free: 153.3 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=33): time 2.344e-06/2.25, allocations: 7.469 kB / 1.27 GB, free: 153.3 MB / 0.6511 GB Notification: Performance of matching and sorting (n=33): time 0.003387/2.254, allocations: 0.8055 MB / 1.271 GB, free: 153.2 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.256e-05/2.254, allocations: 133.5 kB / 1.271 GB, free: 153.1 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001054/2.255, allocations: 0.5968 MB / 1.271 GB, free: 153 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0001188/2.255, allocations: 33.44 kB / 1.272 GB, free: 152.9 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004226/2.256, allocations: 456.9 kB / 1.272 GB, free: 152.8 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001232/2.256, allocations: 102.9 kB / 1.272 GB, free: 152.7 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.955e-05/2.256, allocations: 0 / 1.272 GB, free: 152.7 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 7.338e-05/2.256, allocations: 325.3 kB / 1.272 GB, free: 152.4 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000346/2.256, allocations: 233.3 kB / 1.273 GB, free: 152.4 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004334/2.257, allocations: 407 kB / 1.273 GB, free: 152.2 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001231/2.258, allocations: 379.8 kB / 1.273 GB, free: 152.2 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.392e-06/2.258, allocations: 0 / 1.273 GB, free: 152.2 MB / 0.6511 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.002076/2.26, allocations: 0.8721 MB / 1.274 GB, free: 152.1 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002779/2.26, allocations: 1.085 MB / 1.275 GB, free: 151 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.339e-05/2.26, allocations: 3.953 kB / 1.275 GB, free: 151 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.379e-05/2.26, allocations: 7.094 kB / 1.275 GB, free: 151 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002594/2.263, allocations: 426.5 kB / 1.276 GB, free: 151 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001576/2.265, allocations: 1.938 MB / 1.278 GB, free: 149.3 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001259/2.266, allocations: 152.1 kB / 1.278 GB, free: 149.2 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001194/2.266, allocations: 38.67 kB / 1.278 GB, free: 149.2 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.288e-05/2.266, allocations: 9.344 kB / 1.278 GB, free: 149.2 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001833/2.268, allocations: 0.7291 MB / 1.278 GB, free: 149.2 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.846e-06/2.268, allocations: 2.688 kB / 1.278 GB, free: 149.2 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.202e-05/2.268, allocations: 5.156 kB / 1.278 GB, free: 149.2 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007719/2.269, allocations: 169.4 kB / 1.279 GB, free: 149.2 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.027e-06/2.269, allocations: 3.781 kB / 1.279 GB, free: 149.2 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00106/2.27, allocations: 122.1 kB / 1.279 GB, free: 149.2 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.945e-05/2.27, allocations: 35.7 kB / 1.279 GB, free: 149.2 MB / 0.6511 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.0002551/2.27, allocations: 163.9 kB / 1.279 GB, free: 149.1 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002292/2.27, allocations: 84.62 kB / 1.279 GB, free: 149 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001853/2.272, allocations: 0.7006 MB / 1.28 GB, free: 149 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.42e-06/2.272, allocations: 0 / 1.28 GB, free: 149 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.793e-06/2.272, allocations: 3.938 kB / 1.28 GB, free: 149 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.935e-06/2.272, allocations: 3.797 kB / 1.28 GB, free: 149 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003314/2.276, allocations: 1.411 MB / 1.281 GB, free: 148.7 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.018e-06/2.276, allocations: 2.656 kB / 1.281 GB, free: 148.7 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002426/2.278, allocations: 404.2 kB / 1.281 GB, free: 148.7 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.08e-05/2.278, allocations: 2.969 kB / 1.281 GB, free: 148.7 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.17e-05/2.278, allocations: 9.047 kB / 1.281 GB, free: 148.7 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00494/2.283, allocations: 4.17 MB / 1.286 GB, free: 144.9 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.456e-06/2.283, allocations: 0 / 1.286 GB, free: 144.9 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002232/2.285, allocations: 1.048 MB / 1.287 GB, free: 144.7 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005011/2.286, allocations: 225.8 kB / 1.287 GB, free: 144.6 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002269/2.286, allocations: 7.781 kB / 1.287 GB, free: 144.6 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009246/2.287, allocations: 97.84 kB / 1.287 GB, free: 144.6 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000132/2.287, allocations: 50.94 kB / 1.287 GB, free: 144.6 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.872e-05/2.287, allocations: 25.02 kB / 1.287 GB, free: 144.6 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0005858/2.288, allocations: 460.3 kB / 1.287 GB, free: 144.5 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.41e-07/2.288, allocations: 0 / 1.287 GB, free: 144.5 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.002045/2.29, allocations: 475.8 kB / 1.288 GB, free: 144.5 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (30): * Single equations (assignments): 26 * 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 Backend phase and start with SimCode phase: time 0.001372/2.291, allocations: 452.1 kB / 1.288 GB, free: 144.3 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.003633/2.295, allocations: 1.199 MB / 1.289 GB, free: 144.2 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 5.701e-06/2.295, allocations: 0 / 1.289 GB, free: 144.2 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.002318/2.297, allocations: 0.5659 MB / 1.29 GB, free: 144.1 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001917/2.299, allocations: 288 kB / 1.29 GB, free: 144.1 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002484/2.302, allocations: 0.9993 MB / 1.291 GB, free: 143.8 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005462/2.302, allocations: 1 MB / 1.292 GB, free: 143.1 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.001257/2.303, allocations: 188.8 kB / 1.292 GB, free: 143.1 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002311/2.304, allocations: 53.36 kB / 1.292 GB, free: 143.1 MB / 0.6511 GB Notification: Performance of SimCode: time 1.943e-06/2.304, allocations: 0 / 1.292 GB, free: 143.1 MB / 0.6511 GB Notification: Performance of Templates: time 0.02718/2.331, allocations: 16.33 MB / 1.308 GB, free: 142.9 MB / 0.6511 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor.pipe 2>&1)