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/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/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.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(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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001098/0.001098, allocations: 112.4 kB / 16.42 MB, free: 6.445 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.001104/0.001104, allocations: 185.7 kB / 17.35 MB, free: 5.738 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.335/1.335, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 0.8596/0.8596, allocations: 143.1 MB / 434.3 MB, free: 12.02 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001257/0.001257, allocations: 64.27 kB / 0.5962 GB, free: 12.31 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1458/0.1471, allocations: 82.04 MB / 0.6763 GB, free: 10.37 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor): time 0.02222/0.1693, allocations: 23.27 MB / 0.699 GB, free: 3.012 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.009182/0.1785, allocations: 6.498 MB / 0.7054 GB, free: 12.5 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008989/0.1795, allocations: 23.81 kB / 0.7054 GB, free: 12.47 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0009856/0.1805, allocations: 409.3 kB / 0.7058 GB, free: 12.07 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.002652/0.1832, allocations: 1.15 MB / 0.7069 GB, free: 10.92 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002527/0.1857, allocations: 1.081 MB / 0.708 GB, free: 9.848 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.002346/0.1881, allocations: 2.015 MB / 0.71 GB, free: 7.828 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001178/0.1893, allocations: 0.7413 MB / 0.7107 GB, free: 7.074 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001568/0.1908, allocations: 0.8407 MB / 0.7115 GB, free: 6.23 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001244/0.1921, allocations: 0.7158 MB / 0.7122 GB, free: 5.512 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0002035/0.1923, allocations: 72 kB / 0.7123 GB, free: 5.441 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001804/0.1941, allocations: 1.006 MB / 0.7132 GB, free: 4.434 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002759/0.1944, allocations: 215.1 kB / 0.7135 GB, free: 4.223 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0006937/0.1951, allocations: 0.4894 MB / 0.7139 GB, free: 3.73 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.002126/0.1973, allocations: 1.542 MB / 0.7154 GB, free: 2.184 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.192e-06/0.1973, allocations: 0 / 0.7154 GB, free: 2.184 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.062e-06/0.1973, allocations: 3.938 kB / 0.7154 GB, free: 2.18 MB / 0.545 GB Notification: Performance of Transformations before backend: time 3.588e-05/0.1973, allocations: 0 / 0.7154 GB, free: 2.18 MB / 0.545 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.002397/0.1997, allocations: 1.411 MB / 0.7168 GB, free: 0.707 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.834e-05/0.1998, allocations: 12.03 kB / 0.7168 GB, free: 0.6953 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001868/0.2, allocations: 115.5 kB / 0.7169 GB, free: 0.582 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001079/0.201, allocations: 0.6952 MB / 0.7176 GB, free: 15.85 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.584e-05/0.2011, allocations: 45.31 kB / 0.7177 GB, free: 15.8 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.326e-05/0.2012, allocations: 64 kB / 0.7177 GB, free: 15.74 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001055/0.2023, allocations: 0.6702 MB / 0.7184 GB, free: 15.03 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.441e-05/0.2023, allocations: 0 / 0.7184 GB, free: 15.03 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.089e-05/0.2023, allocations: 24 kB / 0.7184 GB, free: 15.01 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.273e-05/0.2024, allocations: 16 kB / 0.7184 GB, free: 14.99 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007883/0.2032, allocations: 448.9 kB / 0.7188 GB, free: 14.55 MB / 0.5606 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.003509/0.2067, allocations: 2.549 MB / 0.7213 GB, free: 11.86 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007712/0.2075, allocations: 354.7 kB / 0.7217 GB, free: 11.51 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003358/0.2078, allocations: 184.8 kB / 0.7218 GB, free: 11.32 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003578/0.2082, allocations: 340.4 kB / 0.7222 GB, free: 10.92 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005629/0.2088, allocations: 329.2 kB / 0.7225 GB, free: 10.56 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=37): time 3.757e-06/0.2088, allocations: 0 / 0.7225 GB, free: 10.56 MB / 0.5606 GB Notification: Performance of matching and sorting (n=37): time 0.001367/0.2101, allocations: 0.6913 MB / 0.7232 GB, free: 9.863 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001204/0.2103, allocations: 243.6 kB / 0.7234 GB, free: 9.57 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009743/0.2113, allocations: 0.8561 MB / 0.7242 GB, free: 8.691 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.038e-05/0.2113, allocations: 37.7 kB / 0.7243 GB, free: 8.648 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.000309/0.2116, allocations: 432.4 kB / 0.7247 GB, free: 8.219 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 9.378e-05/0.2117, allocations: 122.2 kB / 0.7248 GB, free: 8.098 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001911/0.2119, allocations: 134.1 kB / 0.7249 GB, free: 7.957 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001074/0.2121, allocations: 326 kB / 0.7252 GB, free: 7.633 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003877/0.2124, allocations: 219.1 kB / 0.7254 GB, free: 7.414 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005029/0.213, allocations: 367.6 kB / 0.7258 GB, free: 7 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007701/0.2137, allocations: 0.5262 MB / 0.7263 GB, free: 6.426 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-06/0.2138, allocations: 4 kB / 0.7263 GB, free: 6.422 MB / 0.5606 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001199/0.215, allocations: 0.7369 MB / 0.727 GB, free: 5.668 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 5.752e-05/0.215, allocations: 38.23 kB / 0.7271 GB, free: 5.625 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.117e-05/0.215, allocations: 7.984 kB / 0.7271 GB, free: 5.617 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.1e-05/0.2151, allocations: 11.88 kB / 0.7271 GB, free: 5.605 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000998/0.2161, allocations: 176.2 kB / 0.7273 GB, free: 5.434 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009361/0.217, allocations: 1.781 MB / 0.729 GB, free: 3.582 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006173/0.2177, allocations: 87.3 kB / 0.7291 GB, free: 3.496 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.058e-05/0.2177, allocations: 24.09 kB / 0.7291 GB, free: 3.473 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005836/0.2183, allocations: 382 kB / 0.7295 GB, free: 3.098 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005025/0.2188, allocations: 378.2 kB / 0.7298 GB, free: 2.66 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007775/0.2196, allocations: 0.5308 MB / 0.7303 GB, free: 2.07 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.053e-06/0.2196, allocations: 0 / 0.7303 GB, free: 2.07 MB / 0.5606 GB Notification: Performance of matching and sorting (n=72) (initialization_lambda0): time 0.001161/0.2208, allocations: 0.7231 MB / 0.731 GB, free: 1.332 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.573e-05/0.2208, allocations: 41.69 kB / 0.7311 GB, free: 1.285 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.957e-06/0.2209, allocations: 0 / 0.7311 GB, free: 1.285 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.027e-06/0.2209, allocations: 11.94 kB / 0.7311 GB, free: 1.273 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000518/0.2214, allocations: 127.8 kB / 0.7312 GB, free: 1.148 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.195e-06/0.2214, allocations: 8 kB / 0.7312 GB, free: 1.141 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006139/0.222, allocations: 75.75 kB / 0.7313 GB, free: 1.066 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.917e-05/0.2221, allocations: 28 kB / 0.7313 GB, free: 1.039 MB / 0.5606 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.0002084/0.2223, allocations: 254.6 kB / 0.7316 GB, free: 0.7773 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001242/0.2224, allocations: 94.81 kB / 0.7317 GB, free: 0.6836 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001242/0.2237, allocations: 0.6675 MB / 0.7323 GB, free: 0 / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.492e-05/0.2237, allocations: 4.047 kB / 0.7323 GB, free: 15.99 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.777e-06/0.2237, allocations: 4 kB / 0.7323 GB, free: 15.99 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002446/0.224, allocations: 211.8 kB / 0.7325 GB, free: 15.77 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001073/0.2241, allocations: 16 kB / 0.7325 GB, free: 15.75 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003872/0.2245, allocations: 35.95 kB / 0.7326 GB, free: 15.71 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000104/0.2246, allocations: 39.94 kB / 0.7326 GB, free: 15.68 MB / 0.5762 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001507/0.2261, allocations: 0.9405 MB / 0.7335 GB, free: 14.7 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001482/0.2276, allocations: 1.19 MB / 0.7347 GB, free: 13.49 MB / 0.5762 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003916/0.228, allocations: 256.4 kB / 0.7349 GB, free: 13.24 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0006918/0.2287, allocations: 0.5748 MB / 0.7355 GB, free: 12.65 MB / 0.5762 GB Notification: Performance of Backend: time 2.31e-07/0.2287, allocations: 0 / 0.7355 GB, free: 12.65 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.003278/0.232, allocations: 1.195 MB / 0.7367 GB, free: 11.44 MB / 0.5762 GB Notification: Performance of SimCode: time 0.003308/0.2353, allocations: 2.096 MB / 0.7387 GB, free: 9.285 MB / 0.5762 GB Notification: Performance of Templates: time 0.3334/0.5688, allocations: 18.9 MB / 0.7572 GB, free: 68.01 MB / 0.5762 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)