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.00489/0.00489, allocations: 99.52 kB / 15.73 MB, free: 6.008 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.001125/0.001125, allocations: 198.9 kB / 16.68 MB, free: 5.93 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.244/1.244, allocations: 222.9 MB / 240.4 MB, free: 15.14 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.8038/0.8038, allocations: 143.1 MB / 433.6 MB, free: 12 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001123/0.001123, allocations: 64.05 kB / 0.5955 GB, free: 12.29 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1297/0.1308, allocations: 82.04 MB / 0.6756 GB, free: 10.34 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor): time 0.002639/0.1335, allocations: 1.943 MB / 0.6775 GB, free: 8.383 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0009906/0.1345, allocations: 0.709 MB / 0.6782 GB, free: 7.668 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.345e-05/0.1346, allocations: 4 kB / 0.6782 GB, free: 7.664 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0001763/0.1347, allocations: 83.62 kB / 0.6783 GB, free: 7.582 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0001046/0.1349, allocations: 95.56 kB / 0.6784 GB, free: 7.488 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004466/0.1353, allocations: 186.8 kB / 0.6786 GB, free: 7.309 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0002626/0.1356, allocations: 259.4 kB / 0.6788 GB, free: 7.055 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001302/0.1357, allocations: 75.5 kB / 0.6789 GB, free: 6.984 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001219/0.1358, allocations: 119.7 kB / 0.679 GB, free: 6.867 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001672/0.136, allocations: 147.5 kB / 0.6791 GB, free: 6.723 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 3.56e-05/0.1361, allocations: 23.94 kB / 0.6792 GB, free: 6.699 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001353/0.1362, allocations: 91.92 kB / 0.6792 GB, free: 6.609 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 6.392e-05/0.1363, allocations: 59.78 kB / 0.6793 GB, free: 6.551 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 9.634e-05/0.1364, allocations: 107.3 kB / 0.6794 GB, free: 6.445 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0002834/0.1367, allocations: 315 kB / 0.6797 GB, free: 6.137 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 2.855e-06/0.1367, allocations: 0 / 0.6797 GB, free: 6.137 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.042e-06/0.1367, allocations: 4 kB / 0.6797 GB, free: 6.133 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.08e-06/0.1367, allocations: 4 kB / 0.6797 GB, free: 6.129 MB / 0.5137 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.0007006/0.1374, allocations: 0.5797 MB / 0.6803 GB, free: 5.496 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 2.727e-05/0.1374, allocations: 12.03 kB / 0.6803 GB, free: 5.484 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.627e-05/0.1375, allocations: 28.56 kB / 0.6803 GB, free: 5.457 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004034/0.1379, allocations: 306.9 kB / 0.6806 GB, free: 5.113 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.938e-05/0.1379, allocations: 12.38 kB / 0.6806 GB, free: 5.102 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.751e-05/0.138, allocations: 12.38 kB / 0.6806 GB, free: 5.09 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003522/0.1383, allocations: 232 kB / 0.6809 GB, free: 4.84 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.394e-06/0.1383, allocations: 3.938 kB / 0.6809 GB, free: 4.836 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.736e-05/0.1384, allocations: 4 kB / 0.6809 GB, free: 4.832 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.801e-06/0.1384, allocations: 4 kB / 0.6809 GB, free: 4.828 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002214/0.1386, allocations: 132.3 kB / 0.681 GB, free: 4.699 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007087/0.1393, allocations: 0.6768 MB / 0.6817 GB, free: 3.965 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003496/0.1397, allocations: 174.5 kB / 0.6818 GB, free: 3.785 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001535/0.1398, allocations: 96.81 kB / 0.6819 GB, free: 3.688 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 1.223e-05/0.1399, allocations: 4 kB / 0.6819 GB, free: 3.684 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002281/0.1401, allocations: 169 kB / 0.6821 GB, free: 3.5 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=15): time 1.453e-06/0.1401, allocations: 4 kB / 0.6821 GB, free: 3.496 MB / 0.5137 GB Notification: Performance of matching and sorting (n=15): time 0.0006291/0.1407, allocations: 378.9 kB / 0.6824 GB, free: 3.113 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.269e-05/0.1408, allocations: 128.5 kB / 0.6826 GB, free: 2.957 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002366/0.1411, allocations: 286.6 kB / 0.6828 GB, free: 2.668 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.433e-05/0.1411, allocations: 33.7 kB / 0.6829 GB, free: 2.629 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 9.651e-05/0.1412, allocations: 152.3 kB / 0.683 GB, free: 2.477 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 4.062e-05/0.1412, allocations: 43.44 kB / 0.6831 GB, free: 2.434 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.393e-05/0.1413, allocations: 45.61 kB / 0.6831 GB, free: 2.383 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001103/0.1414, allocations: 334.8 kB / 0.6834 GB, free: 2.047 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001508/0.1416, allocations: 87.89 kB / 0.6835 GB, free: 1.961 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001786/0.1418, allocations: 144.6 kB / 0.6836 GB, free: 1.805 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003048/0.1421, allocations: 236.4 kB / 0.6839 GB, free: 1.551 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.1421, allocations: 4.031 kB / 0.6839 GB, free: 1.547 MB / 0.5137 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.000444/0.1425, allocations: 331 kB / 0.6842 GB, free: 1.211 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 3.87e-05/0.1426, allocations: 41.69 kB / 0.6842 GB, free: 1.164 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.625e-06/0.1426, allocations: 4 kB / 0.6842 GB, free: 1.16 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.38e-05/0.1426, allocations: 0 / 0.6842 GB, free: 1.16 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001202/0.1427, allocations: 19.98 kB / 0.6843 GB, free: 1.141 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.71e-05/0.1428, allocations: 7.938 kB / 0.6843 GB, free: 1.133 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001218/0.1429, allocations: 31.92 kB / 0.6843 GB, free: 1.102 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.522e-05/0.1429, allocations: 4 kB / 0.6843 GB, free: 1.098 MB / 0.5137 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.0001819/0.1431, allocations: 192.7 kB / 0.6845 GB, free: 0.8945 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.497e-05/0.1431, allocations: 23.72 kB / 0.6845 GB, free: 0.8711 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.728e-05/0.1432, allocations: 29.83 kB / 0.6845 GB, free: 0.8398 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.076e-06/0.1432, allocations: 7.938 kB / 0.6845 GB, free: 0.832 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.1432, allocations: 0 / 0.6845 GB, free: 0.832 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.1432, allocations: 0 / 0.6845 GB, free: 0.832 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002533/0.1435, allocations: 301.3 kB / 0.6848 GB, free: 500 kB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.1435, allocations: 0 / 0.6848 GB, free: 500 kB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001025/0.1436, allocations: 20.02 kB / 0.6848 GB, free: 480 kB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.1436, allocations: 3.938 kB / 0.6848 GB, free: 476 kB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.021e-05/0.1436, allocations: 8 kB / 0.6849 GB, free: 468 kB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.173e-06/0.1436, allocations: 0 / 0.6849 GB, free: 468 kB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.1437, allocations: 0 / 0.6849 GB, free: 468 kB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007092/0.1444, allocations: 470 kB / 0.6853 GB, free: 15.98 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 5.444e-05/0.1444, allocations: 96.8 kB / 0.6854 GB, free: 15.86 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.282e-05/0.1445, allocations: 12 kB / 0.6854 GB, free: 15.85 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001003/0.1446, allocations: 11.92 kB / 0.6854 GB, free: 15.84 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.213e-05/0.1447, allocations: 35.95 kB / 0.6855 GB, free: 15.8 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.823e-05/0.1447, allocations: 4 kB / 0.6855 GB, free: 15.8 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0001798/0.1449, allocations: 202 kB / 0.6856 GB, free: 15.61 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1449, allocations: 0 / 0.6856 GB, free: 15.61 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002559/0.1451, allocations: 63.95 kB / 0.6857 GB, free: 15.54 MB / 0.5294 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.0002001/0.1453, allocations: 127.2 kB / 0.6858 GB, free: 15.41 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0004551/0.1458, allocations: 291.2 kB / 0.6861 GB, free: 15.11 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.1458, allocations: 0 / 0.6861 GB, free: 15.11 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0002249/0.1461, allocations: 187.5 kB / 0.6863 GB, free: 14.92 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002564/0.1463, allocations: 32.53 kB / 0.6863 GB, free: 14.88 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000822/0.1471, allocations: 477.2 kB / 0.6868 GB, free: 14.39 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002643/0.1474, allocations: 0.7514 MB / 0.6875 GB, free: 13.61 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 6.695e-05/0.1475, allocations: 21.55 kB / 0.6875 GB, free: 13.59 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.037e-05/0.1475, allocations: 19.42 kB / 0.6875 GB, free: 13.57 MB / 0.5294 GB Notification: Performance of SimCode: time 1.362e-06/0.1475, allocations: 0 / 0.6875 GB, free: 13.57 MB / 0.5294 GB Notification: Performance of Templates: time 0.005266/0.1528, allocations: 2.863 MB / 0.6903 GB, free: 10.73 MB / 0.5294 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)