Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.Systems.HVAC.Emission.ElectricHeater.JouleHeatingPIControlled.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.Systems.HVAC.Emission.ElectricHeater.JouleHeatingPIControlled,tolerance=1e-06,outputFormat="empty",numberOfIntervals=900,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.Systems.HVAC.Emission.ElectricHeater.JouleHeatingPIControlled") translateModel(BuildSysPro.Systems.HVAC.Emission.ElectricHeater.JouleHeatingPIControlled,tolerance=1e-06,outputFormat="empty",numberOfIntervals=900,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.Systems.HVAC.Emission.ElectricHeater.JouleHeatingPIControlled") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007888/0.0007889, allocations: 91.38 kB / 15.36 MB, free: 0.7383 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.004512/0.004513, allocations: 171.7 kB / 16.26 MB, free: 6.613 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.135/1.135, allocations: 223.3 MB / 240.3 MB, free: 5.324 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.8204/0.8204, allocations: 143.2 MB / 434.6 MB, free: 13.7 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002616/0.0002616, allocations: 8 kB / 0.5164 GB, free: 11.12 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1204/0.1207, allocations: 83.4 MB / 0.5978 GB, free: 7.688 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.Systems.HVAC.Emission.ElectricHeater.JouleHeatingPIControlled): time 0.001904/0.1226, allocations: 1.904 MB / 0.5997 GB, free: 5.766 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0009188/0.1235, allocations: 0.7092 MB / 0.6004 GB, free: 5.051 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001161/0.1236, allocations: 11.94 kB / 0.6004 GB, free: 5.039 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001173/0.1238, allocations: 31.66 kB / 0.6004 GB, free: 5.008 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 9.831e-05/0.1239, allocations: 35.72 kB / 0.6005 GB, free: 4.973 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003119/0.1242, allocations: 141.7 kB / 0.6006 GB, free: 4.836 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002296/0.1244, allocations: 251.8 kB / 0.6008 GB, free: 4.586 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001773/0.1246, allocations: 107.5 kB / 0.6009 GB, free: 4.48 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 6.945e-05/0.1247, allocations: 67.53 kB / 0.601 GB, free: 4.414 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 8.288e-05/0.1248, allocations: 67.45 kB / 0.6011 GB, free: 4.348 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.351e-05/0.1248, allocations: 12 kB / 0.6011 GB, free: 4.336 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.69e-05/0.1248, allocations: 4 kB / 0.6011 GB, free: 4.332 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 3.58e-05/0.1249, allocations: 35.78 kB / 0.6011 GB, free: 4.297 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 7.019e-05/0.1249, allocations: 113 kB / 0.6012 GB, free: 4.18 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001788/0.1251, allocations: 231.3 kB / 0.6014 GB, free: 3.953 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.435e-06/0.1251, allocations: 0 / 0.6014 GB, free: 3.953 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.362e-06/0.1251, allocations: 0 / 0.6014 GB, free: 3.953 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.547e-06/0.1251, allocations: 0 / 0.6014 GB, free: 3.953 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: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.0005549/0.1257, allocations: 0.5101 MB / 0.6019 GB, free: 3.395 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.457e-05/0.1257, allocations: 12.03 kB / 0.6019 GB, free: 3.383 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.983e-05/0.1258, allocations: 32.5 kB / 0.602 GB, free: 3.352 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002547/0.1261, allocations: 283.5 kB / 0.6023 GB, free: 3.035 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.509e-05/0.1261, allocations: 16.36 kB / 0.6023 GB, free: 3.02 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.639e-05/0.1261, allocations: 16.38 kB / 0.6023 GB, free: 3.004 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003197/0.1264, allocations: 214.5 kB / 0.6025 GB, free: 2.777 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.085e-06/0.1265, allocations: 3.938 kB / 0.6025 GB, free: 2.773 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.987e-05/0.1265, allocations: 12 kB / 0.6025 GB, free: 2.762 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.62e-06/0.1265, allocations: 4 kB / 0.6025 GB, free: 2.758 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002566/0.1268, allocations: 136.9 kB / 0.6026 GB, free: 2.625 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008309/0.1276, allocations: 0.783 MB / 0.6034 GB, free: 1.785 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003283/0.1279, allocations: 182.6 kB / 0.6036 GB, free: 1.598 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001252/0.1281, allocations: 64.84 kB / 0.6036 GB, free: 1.531 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.64e-05/0.1281, allocations: 3.984 kB / 0.6036 GB, free: 1.527 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.137e-05/0.1281, allocations: 38.56 kB / 0.6037 GB, free: 1.48 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=14): time 1.022e-06/0.1281, allocations: 0 / 0.6037 GB, free: 1.48 MB / 0.4981 GB Notification: Performance of matching and sorting (n=14): time 0.0004361/0.1286, allocations: 224 kB / 0.6039 GB, free: 1.258 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.499e-05/0.1286, allocations: 77.11 kB / 0.604 GB, free: 1.164 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002031/0.1288, allocations: 246.7 kB / 0.6042 GB, free: 0.9219 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.676e-05/0.1288, allocations: 29.7 kB / 0.6042 GB, free: 0.8867 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 8.945e-05/0.1289, allocations: 168 kB / 0.6044 GB, free: 0.7188 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.273e-05/0.129, allocations: 55.2 kB / 0.6044 GB, free: 0.6641 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.852e-05/0.129, allocations: 17.72 kB / 0.6045 GB, free: 0.6406 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001024/0.1291, allocations: 346.7 kB / 0.6048 GB, free: 300 kB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001074/0.1292, allocations: 47.97 kB / 0.6048 GB, free: 252 kB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000126/0.1294, allocations: 93.67 kB / 0.6049 GB, free: 144 kB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2059/0.3352, allocations: 240.5 kB / 0.6052 GB, free: 40.81 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.3353, allocations: 0 / 0.6052 GB, free: 40.81 MB / 0.4981 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003433/0.3356, allocations: 200.7 kB / 0.6053 GB, free: 40.78 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.733e-05/0.3357, allocations: 116.6 kB / 0.6055 GB, free: 40.66 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.3357, allocations: 0 / 0.6055 GB, free: 40.66 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.598e-05/0.3357, allocations: 2.625 kB / 0.6055 GB, free: 40.66 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001526/0.3358, allocations: 35.33 kB / 0.6055 GB, free: 40.66 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.041e-06/0.3359, allocations: 7.562 kB / 0.6055 GB, free: 40.66 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001056/0.336, allocations: 20.58 kB / 0.6055 GB, free: 40.66 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.141e-05/0.336, allocations: 10.69 kB / 0.6055 GB, free: 40.66 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 4.378e-06/0.336, allocations: 4.109 kB / 0.6055 GB, free: 40.66 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0001502/0.3361, allocations: 114 kB / 0.6056 GB, free: 40.66 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.523e-06/0.3362, allocations: 3.688 kB / 0.6056 GB, free: 40.66 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.933e-06/0.3362, allocations: 0.5625 kB / 0.6056 GB, free: 40.66 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.661e-05/0.3363, allocations: 32.52 kB / 0.6057 GB, free: 40.66 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.104e-06/0.3363, allocations: 1.312 kB / 0.6057 GB, free: 40.66 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.535e-05/0.3364, allocations: 18.81 kB / 0.6057 GB, free: 40.66 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.823e-06/0.3364, allocations: 3.531 kB / 0.6057 GB, free: 40.66 MB / 0.4981 GB Warning: Assuming fixed start value for the following 2 variables: PI1.I.y:VARIABLE(flow=false start = PI1.I.y_start fixed = true protected = true ) "Connector of Real output signal" type: Real firstOrder.y:VARIABLE(flow=false start = firstOrder.y_start fixed = true protected = true ) "Connector of Real output signal" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 1 (PI1.I.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * 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.00018/0.3366, allocations: 220.2 kB / 0.6059 GB, free: 40.48 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.856e-05/0.3366, allocations: 23.47 kB / 0.6059 GB, free: 40.48 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.32e-05/0.3367, allocations: 35.36 kB / 0.606 GB, free: 40.47 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-06/0.3367, allocations: 0 / 0.606 GB, free: 40.47 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.439e-06/0.3367, allocations: 3.375 kB / 0.606 GB, free: 40.47 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.586e-06/0.3367, allocations: 2.766 kB / 0.606 GB, free: 40.47 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004643/0.3371, allocations: 0.5146 MB / 0.6065 GB, free: 40.18 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.502e-06/0.3372, allocations: 3.438 kB / 0.6065 GB, free: 40.18 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000133/0.3373, allocations: 30.84 kB / 0.6065 GB, free: 40.18 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.3373, allocations: 2.75 kB / 0.6065 GB, free: 40.18 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.099e-05/0.3373, allocations: 3.625 kB / 0.6065 GB, free: 40.18 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.854e-06/0.3373, allocations: 2.812 kB / 0.6065 GB, free: 40.18 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/0.3373, allocations: 2.875 kB / 0.6065 GB, free: 40.18 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003656/0.3377, allocations: 350.6 kB / 0.6069 GB, free: 40.04 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.373e-05/0.3378, allocations: 105.8 kB / 0.607 GB, free: 39.94 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.574e-05/0.3378, allocations: 13.7 kB / 0.607 GB, free: 39.94 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001181/0.3379, allocations: 7.938 kB / 0.607 GB, free: 39.94 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.751e-05/0.3379, allocations: 12.44 kB / 0.607 GB, free: 39.94 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.113e-06/0.338, allocations: 6.5 kB / 0.607 GB, free: 39.94 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001028/0.3381, allocations: 178.2 kB / 0.6072 GB, free: 39.86 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3381, allocations: 3.219 kB / 0.6072 GB, free: 39.86 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003037/0.3384, allocations: 68.36 kB / 0.6072 GB, free: 39.86 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (PI1.I.y,firstOrder.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * 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 5.496e-05/0.3384, allocations: 98.11 kB / 0.6073 GB, free: 39.77 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003197/0.3388, allocations: 198.7 kB / 0.6075 GB, free: 39.77 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.3388, allocations: 0 / 0.6075 GB, free: 39.77 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 9.798e-05/0.3389, allocations: 66.52 kB / 0.6076 GB, free: 39.77 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003952/0.3393, allocations: 69.61 kB / 0.6076 GB, free: 39.77 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006082/0.3399, allocations: 0.5292 MB / 0.6082 GB, free: 39.45 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001116/0.34, allocations: 0.7495 MB / 0.6089 GB, free: 38.75 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 9.152e-05/0.3401, allocations: 30.36 kB / 0.6089 GB, free: 38.75 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.837e-05/0.3402, allocations: 25.38 kB / 0.6089 GB, free: 38.74 MB / 0.4981 GB Notification: Performance of SimCode: time 6.82e-07/0.3402, allocations: 0 / 0.6089 GB, free: 38.74 MB / 0.4981 GB Notification: Performance of Templates: time 0.00384/0.344, allocations: 2.112 MB / 0.611 GB, free: 38.64 MB / 0.4981 GB make -j1 -f BuildSysPro_BuildSysPro.Systems.HVAC.Emission.ElectricHeater.JouleHeatingPIControlled.makefile (rm -f BuildSysPro_BuildSysPro.Systems.HVAC.Emission.ElectricHeater.JouleHeatingPIControlled.pipe ; mkfifo BuildSysPro_BuildSysPro.Systems.HVAC.Emission.ElectricHeater.JouleHeatingPIControlled.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.Systems.HVAC.Emission.ElectricHeater.JouleHeatingPIControlled.pipe >> ../files/BuildSysPro_BuildSysPro.Systems.HVAC.Emission.ElectricHeater.JouleHeatingPIControlled.sim & ./BuildSysPro_BuildSysPro.Systems.HVAC.Emission.ElectricHeater.JouleHeatingPIControlled -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.Systems.HVAC.Emission.ElectricHeater.JouleHeatingPIControlled.pipe 2>&1)