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.001303/0.001303, allocations: 110.1 kB / 15.99 MB, free: 6.359 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.00138/0.00138, allocations: 199.1 kB / 16.91 MB, free: 6.191 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.378/1.378, allocations: 222.9 MB / 240.6 MB, free: 15.43 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.9153/0.9153, allocations: 143 MB / 433.8 MB, free: 12.17 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00126/0.00126, allocations: 63.91 kB / 0.5143 GB, free: 15.5 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4234/0.4247, allocations: 82.03 MB / 0.5944 GB, free: 16.36 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor): time 0.004208/0.4289, allocations: 2.002 MB / 0.5964 GB, free: 14.36 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001479/0.4305, allocations: 0.696 MB / 0.5971 GB, free: 13.66 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001481/0.4306, allocations: 4 kB / 0.5971 GB, free: 13.65 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003016/0.431, allocations: 85.03 kB / 0.5972 GB, free: 13.57 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001566/0.4311, allocations: 77.3 kB / 0.5972 GB, free: 13.5 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006906/0.4318, allocations: 171.4 kB / 0.5974 GB, free: 13.33 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003515/0.4322, allocations: 256.8 kB / 0.5976 GB, free: 13.08 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002081/0.4324, allocations: 76.34 kB / 0.5977 GB, free: 13.01 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001537/0.4326, allocations: 119.6 kB / 0.5978 GB, free: 12.89 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002116/0.4328, allocations: 152.8 kB / 0.598 GB, free: 12.75 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 4.056e-05/0.4329, allocations: 20 kB / 0.598 GB, free: 12.73 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001801/0.4331, allocations: 93.41 kB / 0.5981 GB, free: 12.64 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 9.429e-05/0.4332, allocations: 63.7 kB / 0.5981 GB, free: 12.57 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001164/0.4333, allocations: 107.3 kB / 0.5982 GB, free: 12.47 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002908/0.4336, allocations: 232.9 kB / 0.5985 GB, free: 12.24 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.4336, allocations: 0 / 0.5985 GB, free: 12.24 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.4336, allocations: 0 / 0.5985 GB, free: 12.24 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.093e-06/0.4336, allocations: 0 / 0.5985 GB, free: 12.24 MB / 446.1 MB 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.0009345/0.4346, allocations: 0.5801 MB / 0.599 GB, free: 11.61 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.071e-05/0.4346, allocations: 9.438 kB / 0.599 GB, free: 11.6 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.234e-05/0.4347, allocations: 32.56 kB / 0.5991 GB, free: 11.57 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004673/0.4352, allocations: 292.2 kB / 0.5994 GB, free: 11.25 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.257e-05/0.4352, allocations: 16.38 kB / 0.5994 GB, free: 11.23 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.437e-05/0.4353, allocations: 12.38 kB / 0.5994 GB, free: 11.22 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004659/0.4358, allocations: 230.1 kB / 0.5996 GB, free: 10.98 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.278e-05/0.4358, allocations: 0 / 0.5996 GB, free: 10.98 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.739e-05/0.4358, allocations: 4 kB / 0.5996 GB, free: 10.97 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.935e-06/0.4359, allocations: 5.344 kB / 0.5996 GB, free: 10.97 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003223/0.4362, allocations: 133.3 kB / 0.5997 GB, free: 10.84 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009354/0.4371, allocations: 0.685 MB / 0.6004 GB, free: 10.1 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004532/0.4376, allocations: 177.3 kB / 0.6006 GB, free: 9.922 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000228/0.4378, allocations: 96.95 kB / 0.6007 GB, free: 9.824 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.642e-05/0.4379, allocations: 4.938 kB / 0.6007 GB, free: 9.82 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004222/0.4383, allocations: 166.4 kB / 0.6008 GB, free: 9.641 MB / 446.1 MB Notification: Performance of pre-optimization done (n=15): time 1.984e-06/0.4383, allocations: 3.938 kB / 0.6008 GB, free: 9.637 MB / 446.1 MB Notification: Performance of matching and sorting (n=15): time 0.0008102/0.4392, allocations: 379.1 kB / 0.6012 GB, free: 9.258 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.519e-05/0.4392, allocations: 137.1 kB / 0.6013 GB, free: 9.094 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002829/0.4395, allocations: 279.5 kB / 0.6016 GB, free: 8.812 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.619e-05/0.4395, allocations: 33.7 kB / 0.6016 GB, free: 8.773 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000105/0.4397, allocations: 156.8 kB / 0.6018 GB, free: 8.617 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.214e-05/0.4397, allocations: 39.45 kB / 0.6018 GB, free: 8.578 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.28e-05/0.4398, allocations: 42.98 kB / 0.6019 GB, free: 8.531 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 7.43e-05/0.4399, allocations: 334.8 kB / 0.6022 GB, free: 8.195 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002135/0.4401, allocations: 93.3 kB / 0.6023 GB, free: 8.105 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002273/0.4404, allocations: 126.5 kB / 0.6024 GB, free: 7.965 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003837/0.4408, allocations: 244 kB / 0.6026 GB, free: 7.707 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.085e-06/0.4408, allocations: 0 / 0.6026 GB, free: 7.707 MB / 446.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0006051/0.4414, allocations: 341.3 kB / 0.6029 GB, free: 7.363 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.5e-05/0.4414, allocations: 41.69 kB / 0.603 GB, free: 7.316 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/0.4415, allocations: 0 / 0.603 GB, free: 7.316 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.689e-05/0.4415, allocations: 1.094 kB / 0.603 GB, free: 7.316 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001633/0.4417, allocations: 23.98 kB / 0.603 GB, free: 7.293 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.857e-06/0.4417, allocations: 5.438 kB / 0.603 GB, free: 7.289 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001629/0.4418, allocations: 23.83 kB / 0.603 GB, free: 7.266 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.247e-05/0.4419, allocations: 8 kB / 0.603 GB, free: 7.258 MB / 446.1 MB 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.0001882/0.4421, allocations: 197.6 kB / 0.6032 GB, free: 7.051 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.573e-05/0.4421, allocations: 27.66 kB / 0.6033 GB, free: 7.023 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.968e-05/0.4422, allocations: 29.84 kB / 0.6033 GB, free: 6.996 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.567e-06/0.4422, allocations: 5.297 kB / 0.6033 GB, free: 6.992 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.079e-06/0.4422, allocations: 0 / 0.6033 GB, free: 6.992 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.978e-06/0.4422, allocations: 0 / 0.6033 GB, free: 6.992 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002392/0.4425, allocations: 293.5 kB / 0.6036 GB, free: 6.656 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.4425, allocations: 0.75 kB / 0.6036 GB, free: 6.656 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001306/0.4426, allocations: 15.94 kB / 0.6036 GB, free: 6.641 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.467e-06/0.4427, allocations: 5.5 kB / 0.6036 GB, free: 6.637 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.366e-05/0.4427, allocations: 3.984 kB / 0.6036 GB, free: 6.633 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.795e-06/0.4427, allocations: 4 kB / 0.6036 GB, free: 6.629 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.71e-07/0.4427, allocations: 0 / 0.6036 GB, free: 6.629 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008399/0.4436, allocations: 464.4 kB / 0.604 GB, free: 6.152 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.97e-05/0.4436, allocations: 102.3 kB / 0.6041 GB, free: 6.035 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.322e-05/0.4437, allocations: 8 kB / 0.6041 GB, free: 6.027 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001443/0.4438, allocations: 11.98 kB / 0.6042 GB, free: 6.016 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.582e-05/0.4439, allocations: 25 kB / 0.6042 GB, free: 5.992 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.88e-05/0.444, allocations: 12 kB / 0.6042 GB, free: 5.98 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002241/0.4442, allocations: 203.1 kB / 0.6044 GB, free: 5.781 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.81e-07/0.4442, allocations: 4 kB / 0.6044 GB, free: 5.777 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004166/0.4447, allocations: 59.84 kB / 0.6044 GB, free: 5.719 MB / 446.1 MB 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.0002232/0.4449, allocations: 145.3 kB / 0.6046 GB, free: 5.57 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0005803/0.4455, allocations: 292.8 kB / 0.6049 GB, free: 5.273 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.257e-06/0.4455, allocations: 0 / 0.6049 GB, free: 5.273 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002752/0.4458, allocations: 188.5 kB / 0.605 GB, free: 5.078 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004377/0.4462, allocations: 29.27 kB / 0.6051 GB, free: 5.051 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001317/0.4476, allocations: 0.5615 MB / 0.6056 GB, free: 4.465 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002176/0.4478, allocations: 0.754 MB / 0.6064 GB, free: 3.688 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.271e-05/0.4479, allocations: 23.89 kB / 0.6064 GB, free: 3.664 MB / 446.1 MB Notification: Performance of SimCode: time 3.2e-07/0.4479, allocations: 3.938 kB / 0.6064 GB, free: 3.66 MB / 446.1 MB Notification: Performance of Templates: time 0.007368/0.4553, allocations: 3.015 MB / 0.6093 GB, free: 0.6992 MB / 446.1 MB 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)