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.003939/0.003939, allocations: 104.6 kB / 15.74 MB, free: 6.496 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.0009954/0.0009954, allocations: 191.6 kB / 16.67 MB, free: 6.379 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.241/1.241, allocations: 222.9 MB / 240.4 MB, free: 4.328 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.8859/0.8859, allocations: 143 MB / 433.6 MB, free: 11.4 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001105/0.001105, allocations: 67.91 kB / 0.5955 GB, free: 8.359 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3904/0.3915, allocations: 82.02 MB / 0.6756 GB, free: 1.488 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor): time 0.002753/0.3943, allocations: 1.952 MB / 0.6775 GB, free: 15.96 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.00124/0.3956, allocations: 0.71 MB / 0.6782 GB, free: 15.39 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001167/0.3957, allocations: 7.125 kB / 0.6782 GB, free: 15.39 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0002374/0.396, allocations: 77.98 kB / 0.6783 GB, free: 15.35 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0001367/0.3962, allocations: 96.34 kB / 0.6784 GB, free: 15.29 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005947/0.3968, allocations: 190.5 kB / 0.6786 GB, free: 15.15 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0002969/0.3971, allocations: 257.6 kB / 0.6788 GB, free: 15.01 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001667/0.3972, allocations: 73.94 kB / 0.6789 GB, free: 14.97 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001439/0.3974, allocations: 114.8 kB / 0.679 GB, free: 14.9 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001983/0.3976, allocations: 154.9 kB / 0.6791 GB, free: 14.81 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 3.941e-05/0.3976, allocations: 21.25 kB / 0.6792 GB, free: 14.81 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001586/0.3978, allocations: 97.09 kB / 0.6793 GB, free: 14.77 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 7.652e-05/0.3979, allocations: 50.91 kB / 0.6793 GB, free: 14.73 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0001015/0.398, allocations: 113 kB / 0.6794 GB, free: 14.64 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0003522/0.3984, allocations: 314.2 kB / 0.6797 GB, free: 14.42 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.3984, allocations: 0 / 0.6797 GB, free: 14.42 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.253e-06/0.3984, allocations: 1.125 kB / 0.6797 GB, free: 14.42 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 6.372e-06/0.3984, allocations: 0 / 0.6797 GB, free: 14.42 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.0007977/0.3992, allocations: 0.5737 MB / 0.6803 GB, free: 13.88 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.678e-05/0.3992, allocations: 13.83 kB / 0.6803 GB, free: 13.88 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.349e-05/0.3993, allocations: 31.25 kB / 0.6803 GB, free: 13.86 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004412/0.3998, allocations: 314.9 kB / 0.6806 GB, free: 13.55 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.232e-05/0.3998, allocations: 14.69 kB / 0.6806 GB, free: 13.55 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.434e-05/0.3998, allocations: 13.34 kB / 0.6806 GB, free: 13.54 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003604/0.4002, allocations: 225.7 kB / 0.6809 GB, free: 13.38 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.042e-05/0.4002, allocations: 5.469 kB / 0.6809 GB, free: 13.38 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.121e-05/0.4002, allocations: 9.375 kB / 0.6809 GB, free: 13.37 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.111e-06/0.4003, allocations: 2.969 kB / 0.6809 GB, free: 13.37 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002374/0.4005, allocations: 124.2 kB / 0.681 GB, free: 13.32 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008126/0.4013, allocations: 0.6816 MB / 0.6817 GB, free: 12.69 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003452/0.4017, allocations: 166.9 kB / 0.6818 GB, free: 12.6 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00016/0.4018, allocations: 100.9 kB / 0.6819 GB, free: 12.55 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 1.586e-05/0.4019, allocations: 1.094 kB / 0.6819 GB, free: 12.55 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002721/0.4021, allocations: 178.4 kB / 0.6821 GB, free: 12.41 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=15): time 1.683e-06/0.4022, allocations: 0 / 0.6821 GB, free: 12.41 MB / 0.5137 GB Notification: Performance of matching and sorting (n=15): time 0.0006396/0.4028, allocations: 369.2 kB / 0.6824 GB, free: 12.24 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.142e-05/0.4029, allocations: 140.6 kB / 0.6826 GB, free: 12.08 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002626/0.4032, allocations: 280.4 kB / 0.6828 GB, free: 11.9 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.638e-05/0.4032, allocations: 36.45 kB / 0.6829 GB, free: 11.86 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001073/0.4033, allocations: 150 kB / 0.683 GB, free: 11.72 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 4.012e-05/0.4033, allocations: 46.14 kB / 0.6831 GB, free: 11.68 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.886e-05/0.4034, allocations: 45.67 kB / 0.6831 GB, free: 11.65 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001196/0.4035, allocations: 334 kB / 0.6834 GB, free: 11.32 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001677/0.4037, allocations: 90.33 kB / 0.6835 GB, free: 11.28 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001838/0.4039, allocations: 136.4 kB / 0.6836 GB, free: 11.19 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003102/0.4042, allocations: 236.7 kB / 0.6839 GB, free: 11.03 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.4042, allocations: 0 / 0.6839 GB, free: 11.03 MB / 0.5137 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004894/0.4047, allocations: 332.8 kB / 0.6842 GB, free: 10.87 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 4.839e-05/0.4048, allocations: 44.91 kB / 0.6842 GB, free: 10.82 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.854e-06/0.4048, allocations: 5.438 kB / 0.6842 GB, free: 10.82 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.567e-05/0.4048, allocations: 1.938 kB / 0.6842 GB, free: 10.82 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000121/0.405, allocations: 25.11 kB / 0.6843 GB, free: 10.81 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.123e-06/0.405, allocations: 1.438 kB / 0.6843 GB, free: 10.81 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001239/0.4051, allocations: 26.92 kB / 0.6843 GB, free: 10.8 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.752e-05/0.4051, allocations: 9.344 kB / 0.6843 GB, free: 10.79 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.0001648/0.4053, allocations: 199 kB / 0.6845 GB, free: 10.61 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.55e-05/0.4053, allocations: 25.25 kB / 0.6845 GB, free: 10.6 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.271e-05/0.4054, allocations: 31.45 kB / 0.6845 GB, free: 10.58 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/0.4054, allocations: 1.375 kB / 0.6845 GB, free: 10.58 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.4054, allocations: 0 / 0.6845 GB, free: 10.58 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.105e-06/0.4054, allocations: 0 / 0.6845 GB, free: 10.58 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002455/0.4057, allocations: 293.6 kB / 0.6848 GB, free: 10.29 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.4057, allocations: 5.375 kB / 0.6848 GB, free: 10.29 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.402e-05/0.4058, allocations: 14.98 kB / 0.6848 GB, free: 10.29 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.834e-06/0.4058, allocations: 1.375 kB / 0.6848 GB, free: 10.29 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.679e-05/0.4058, allocations: 2.75 kB / 0.6848 GB, free: 10.29 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-06/0.4058, allocations: 1.375 kB / 0.6848 GB, free: 10.29 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.153e-06/0.4058, allocations: 0 / 0.6848 GB, free: 10.29 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006642/0.4065, allocations: 477.2 kB / 0.6853 GB, free: 10.03 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 5.392e-05/0.4066, allocations: 93.86 kB / 0.6854 GB, free: 9.922 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.738e-05/0.4066, allocations: 8.219 kB / 0.6854 GB, free: 9.918 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.74e-05/0.4067, allocations: 12.05 kB / 0.6854 GB, free: 9.914 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.348e-05/0.4068, allocations: 26.08 kB / 0.6854 GB, free: 9.898 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.148e-05/0.4068, allocations: 8.156 kB / 0.6854 GB, free: 9.895 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0001667/0.407, allocations: 198.2 kB / 0.6856 GB, free: 9.77 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.51e-07/0.407, allocations: 0 / 0.6856 GB, free: 9.77 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002749/0.4073, allocations: 55.03 kB / 0.6857 GB, free: 9.762 MB / 0.5137 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.0001944/0.4075, allocations: 148 kB / 0.6858 GB, free: 9.645 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0004325/0.4079, allocations: 297.8 kB / 0.6861 GB, free: 9.477 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.4079, allocations: 1.406 kB / 0.6861 GB, free: 9.477 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0002219/0.4082, allocations: 184.8 kB / 0.6863 GB, free: 9.355 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000294/0.4085, allocations: 39.64 kB / 0.6863 GB, free: 9.332 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009076/0.4094, allocations: 482.8 kB / 0.6868 GB, free: 9.023 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002852/0.4097, allocations: 0.7478 MB / 0.6875 GB, free: 8.297 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 7.141e-05/0.4098, allocations: 24.05 kB / 0.6875 GB, free: 8.285 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.501e-05/0.4098, allocations: 25.05 kB / 0.6876 GB, free: 8.27 MB / 0.5137 GB Notification: Performance of SimCode: time 2.31e-07/0.4098, allocations: 0 / 0.6876 GB, free: 8.27 MB / 0.5137 GB Notification: Performance of Templates: time 0.00586/0.4157, allocations: 2.917 MB / 0.6904 GB, free: 6.809 MB / 0.5137 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)