Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor.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.Motors.Examples.IdealMotor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor") translateModel(BuildSysPro.IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009542/0.0009543, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.005592/0.005592, allocations: 170.3 kB / 16.27 MB, free: 6.652 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.118/1.118, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.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.818/0.818, allocations: 143.2 MB / 434.6 MB, free: 13.68 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002552/0.0002553, allocations: 12 kB / 0.5164 GB, free: 11.13 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1252/0.1254, allocations: 83.41 MB / 0.5978 GB, free: 7.676 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor): time 0.001754/0.1272, allocations: 1.652 MB / 0.5995 GB, free: 6.008 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0009444/0.1282, allocations: 0.7015 MB / 0.6001 GB, free: 5.301 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.074e-05/0.1283, allocations: 3.938 kB / 0.6001 GB, free: 5.297 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001651/0.1284, allocations: 79.75 kB / 0.6002 GB, free: 5.219 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001055/0.1286, allocations: 83.7 kB / 0.6003 GB, free: 5.137 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003879/0.1289, allocations: 160.1 kB / 0.6005 GB, free: 4.984 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002115/0.1292, allocations: 239.5 kB / 0.6007 GB, free: 4.75 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001299/0.1293, allocations: 66.11 kB / 0.6007 GB, free: 4.684 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 9.69e-05/0.1294, allocations: 95.61 kB / 0.6008 GB, free: 4.59 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000147/0.1296, allocations: 131.5 kB / 0.601 GB, free: 4.461 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.953e-05/0.1296, allocations: 7.938 kB / 0.601 GB, free: 4.453 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001012/0.1297, allocations: 75.88 kB / 0.601 GB, free: 4.379 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 5.303e-05/0.1298, allocations: 39.84 kB / 0.6011 GB, free: 4.34 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 8.867e-05/0.1298, allocations: 117 kB / 0.6012 GB, free: 4.219 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002417/0.1301, allocations: 279.1 kB / 0.6015 GB, free: 3.945 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.455e-06/0.1301, allocations: 0 / 0.6015 GB, free: 3.945 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.202e-06/0.1301, allocations: 8 kB / 0.6015 GB, free: 3.938 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.457e-06/0.1301, allocations: 0 / 0.6015 GB, free: 3.938 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.0006299/0.1308, allocations: 0.547 MB / 0.602 GB, free: 3.336 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 2.499e-05/0.1308, allocations: 12.03 kB / 0.602 GB, free: 3.324 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.961e-05/0.1308, allocations: 28.56 kB / 0.602 GB, free: 3.297 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003609/0.1312, allocations: 306.8 kB / 0.6023 GB, free: 2.957 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.919e-05/0.1312, allocations: 8.375 kB / 0.6023 GB, free: 2.949 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.567e-05/0.1313, allocations: 20.38 kB / 0.6024 GB, free: 2.93 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003296/0.1316, allocations: 227.8 kB / 0.6026 GB, free: 2.684 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.963e-06/0.1316, allocations: 0 / 0.6026 GB, free: 2.684 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.805e-05/0.1317, allocations: 8 kB / 0.6026 GB, free: 2.676 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.42e-06/0.1317, allocations: 4 kB / 0.6026 GB, free: 2.672 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002249/0.1319, allocations: 143.6 kB / 0.6027 GB, free: 2.535 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00068/0.1326, allocations: 0.6885 MB / 0.6034 GB, free: 1.789 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003293/0.1329, allocations: 182.4 kB / 0.6036 GB, free: 1.602 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001531/0.1331, allocations: 104.9 kB / 0.6037 GB, free: 1.496 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.289e-05/0.1331, allocations: 4 kB / 0.6037 GB, free: 1.492 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002494/0.1334, allocations: 181 kB / 0.6038 GB, free: 1.297 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=15): time 1.282e-06/0.1334, allocations: 0 / 0.6038 GB, free: 1.297 MB / 0.4981 GB Notification: Performance of matching and sorting (n=15): time 0.0005723/0.1339, allocations: 385.8 kB / 0.6042 GB, free: 0.9102 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.946e-05/0.134, allocations: 132.5 kB / 0.6043 GB, free: 0.75 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002169/0.1342, allocations: 282.6 kB / 0.6046 GB, free: 480 kB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.269e-05/0.1343, allocations: 33.7 kB / 0.6046 GB, free: 440 kB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 8.83e-05/0.1344, allocations: 152.2 kB / 0.6048 GB, free: 284 kB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.473e-05/0.1344, allocations: 47.36 kB / 0.6048 GB, free: 236 kB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.337e-05/0.1344, allocations: 25.7 kB / 0.6049 GB, free: 204 kB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.2101/0.3445, allocations: 335.6 kB / 0.6052 GB, free: 40.99 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002308/0.3448, allocations: 89.92 kB / 0.6053 GB, free: 40.99 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001658/0.345, allocations: 139 kB / 0.6054 GB, free: 40.95 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002801/0.3453, allocations: 245.4 kB / 0.6056 GB, free: 40.85 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.946e-06/0.3453, allocations: 2.406 kB / 0.6056 GB, free: 40.85 MB / 0.4981 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004339/0.3457, allocations: 348.5 kB / 0.606 GB, free: 40.79 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.978e-05/0.3457, allocations: 41.19 kB / 0.606 GB, free: 40.76 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.3458, allocations: 0 / 0.606 GB, free: 40.76 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.819e-05/0.3458, allocations: 7.156 kB / 0.606 GB, free: 40.76 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001131/0.3459, allocations: 25.98 kB / 0.606 GB, free: 40.76 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.78e-06/0.3459, allocations: 2.812 kB / 0.606 GB, free: 40.76 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001114/0.346, allocations: 27.36 kB / 0.6061 GB, free: 40.76 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.308e-05/0.346, allocations: 5.812 kB / 0.6061 GB, free: 40.76 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 12 (ySet.nextEventScaled,ySet.nextEvent,$PRE.ySet.nextEvent,ySet.last,ySet.b,ySet.a,mot.lowHys.y,$PRE.mot.lowHys.y,mot.uppHys.y,$PRE.mot.uppHys.y,$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 (17): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001283/0.3462, allocations: 193.5 kB / 0.6063 GB, free: 40.61 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.817e-05/0.3462, allocations: 29.45 kB / 0.6063 GB, free: 40.61 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.518e-05/0.3463, allocations: 37.12 kB / 0.6063 GB, free: 40.61 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-06/0.3463, allocations: 1.031 kB / 0.6063 GB, free: 40.61 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.978e-06/0.3463, allocations: 0 / 0.6063 GB, free: 40.61 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.3463, allocations: 0.6875 kB / 0.6063 GB, free: 40.61 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001569/0.3464, allocations: 280.7 kB / 0.6066 GB, free: 40.42 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.3465, allocations: 4.641 kB / 0.6066 GB, free: 40.42 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.592e-05/0.3465, allocations: 15.44 kB / 0.6066 GB, free: 40.42 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.043e-06/0.3466, allocations: 3.375 kB / 0.6066 GB, free: 40.42 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.571e-05/0.3466, allocations: 16.41 kB / 0.6066 GB, free: 40.41 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.3466, allocations: 0.5625 kB / 0.6066 GB, free: 40.41 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.3466, allocations: 0 / 0.6066 GB, free: 40.41 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005206/0.3471, allocations: 481.5 kB / 0.6071 GB, free: 40.32 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.299e-05/0.3472, allocations: 97.52 kB / 0.6072 GB, free: 40.23 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.374e-05/0.3472, allocations: 13.09 kB / 0.6072 GB, free: 40.22 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001035/0.3473, allocations: 18.36 kB / 0.6072 GB, free: 40.22 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.106e-05/0.3474, allocations: 32.7 kB / 0.6072 GB, free: 40.22 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.664e-05/0.3474, allocations: 5.469 kB / 0.6072 GB, free: 40.22 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001185/0.3475, allocations: 204.6 kB / 0.6074 GB, free: 40.15 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3475, allocations: 3.719 kB / 0.6074 GB, free: 40.15 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002309/0.3478, allocations: 58.92 kB / 0.6075 GB, free: 40.15 MB / 0.4981 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,mot.uppHys.y,mot.lowHys.y,ySet.a,ySet.b,ySet.last,ySet.nextEvent,ySet.nextEventScaled) * Number of discrete states: 8 (mot.lowHys.y,mot.uppHys.y,ySet.nextEvent,ySet.last,ySet.nextEventScaled,ySet.b,ySet.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001307/0.3479, allocations: 132.2 kB / 0.6076 GB, free: 40.06 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003569/0.3483, allocations: 300.2 kB / 0.6079 GB, free: 40 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.3483, allocations: 3.438 kB / 0.6079 GB, free: 40 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001636/0.3484, allocations: 185.1 kB / 0.6081 GB, free: 39.94 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002583/0.3487, allocations: 39.77 kB / 0.6081 GB, free: 39.94 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007122/0.3494, allocations: 0.5366 MB / 0.6087 GB, free: 39.66 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001247/0.3496, allocations: 0.754 MB / 0.6094 GB, free: 38.97 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 6.722e-05/0.3496, allocations: 16.08 kB / 0.6094 GB, free: 38.97 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.583e-05/0.3497, allocations: 19.62 kB / 0.6094 GB, free: 38.96 MB / 0.4981 GB Notification: Performance of SimCode: time 2.21e-07/0.3497, allocations: 0 / 0.6094 GB, free: 38.96 MB / 0.4981 GB Notification: Performance of Templates: time 0.004327/0.354, allocations: 2.518 MB / 0.6119 GB, free: 38.85 MB / 0.4981 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor.pipe 2>&1)