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.001065/0.001065, allocations: 92.7 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001069/0.001069, allocations: 179.9 kB / 16.92 MB, free: 6.656 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.511/1.511, allocations: 223.3 MB / 241 MB, free: 5.293 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 1.074/1.074, allocations: 143.2 MB / 435.3 MB, free: 13.63 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003788/0.0003788, allocations: 8 kB / 0.517 GB, free: 11.11 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2033/0.2037, allocations: 83.41 MB / 0.5985 GB, free: 7.664 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.Systems.HVAC.Emission.ElectricHeater.JouleHeatingPIControlled): time 0.002842/0.2066, allocations: 1.9 MB / 0.6004 GB, free: 5.746 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001564/0.2082, allocations: 0.7092 MB / 0.601 GB, free: 5.031 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003152/0.2085, allocations: 11.94 kB / 0.6011 GB, free: 5.02 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001799/0.2087, allocations: 27.72 kB / 0.6011 GB, free: 4.992 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001376/0.2089, allocations: 35.67 kB / 0.6011 GB, free: 4.957 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004441/0.2093, allocations: 146.8 kB / 0.6013 GB, free: 4.816 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002843/0.2096, allocations: 251.8 kB / 0.6015 GB, free: 4.566 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002229/0.2099, allocations: 104.1 kB / 0.6016 GB, free: 4.465 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 8.772e-05/0.2099, allocations: 67.53 kB / 0.6017 GB, free: 4.398 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001213/0.2101, allocations: 83.44 kB / 0.6017 GB, free: 4.316 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.846e-05/0.2101, allocations: 4 kB / 0.6017 GB, free: 4.312 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 2.057e-05/0.2101, allocations: 4 kB / 0.6017 GB, free: 4.309 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 3.425e-05/0.2102, allocations: 31.8 kB / 0.6018 GB, free: 4.277 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 8.971e-05/0.2103, allocations: 113 kB / 0.6019 GB, free: 4.16 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001912/0.2105, allocations: 179.8 kB / 0.6021 GB, free: 3.984 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.2105, allocations: 0 / 0.6021 GB, free: 3.984 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.913e-06/0.2105, allocations: 0 / 0.6021 GB, free: 3.984 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.4e-06/0.2105, allocations: 0 / 0.6021 GB, free: 3.984 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.0007045/0.2112, allocations: 0.5179 MB / 0.6026 GB, free: 3.418 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.075e-05/0.2113, allocations: 8.031 kB / 0.6026 GB, free: 3.41 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.499e-05/0.2113, allocations: 28.56 kB / 0.6026 GB, free: 3.383 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003274/0.2117, allocations: 283.6 kB / 0.6029 GB, free: 3.066 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.847e-05/0.2117, allocations: 8.375 kB / 0.6029 GB, free: 3.059 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.333e-05/0.2117, allocations: 20.31 kB / 0.6029 GB, free: 3.039 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003927/0.2121, allocations: 222.5 kB / 0.6031 GB, free: 2.805 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.213e-05/0.2121, allocations: 3.938 kB / 0.6031 GB, free: 2.801 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.235e-05/0.2122, allocations: 8 kB / 0.6031 GB, free: 2.793 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.005e-06/0.2122, allocations: 4 kB / 0.6031 GB, free: 2.789 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002925/0.2125, allocations: 140.9 kB / 0.6033 GB, free: 2.652 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001032/0.2135, allocations: 0.783 MB / 0.604 GB, free: 1.812 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003815/0.2139, allocations: 182.6 kB / 0.6042 GB, free: 1.625 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000145/0.2141, allocations: 64.84 kB / 0.6043 GB, free: 1.559 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.153e-05/0.2141, allocations: 0 / 0.6043 GB, free: 1.559 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.092e-05/0.2141, allocations: 34.56 kB / 0.6043 GB, free: 1.516 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=14): time 9.52e-07/0.2141, allocations: 0 / 0.6043 GB, free: 1.516 MB / 0.4981 GB Notification: Performance of matching and sorting (n=14): time 0.0005203/0.2147, allocations: 225.3 kB / 0.6045 GB, free: 1.289 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.92e-05/0.2147, allocations: 77.11 kB / 0.6046 GB, free: 1.195 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002471/0.215, allocations: 250.7 kB / 0.6048 GB, free: 0.9492 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.076e-05/0.215, allocations: 25.7 kB / 0.6048 GB, free: 0.918 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001054/0.2151, allocations: 164 kB / 0.605 GB, free: 0.7539 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.977e-05/0.2152, allocations: 63.41 kB / 0.6051 GB, free: 0.6914 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.31e-05/0.2152, allocations: 17.72 kB / 0.6051 GB, free: 0.668 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001172/0.2153, allocations: 342.8 kB / 0.6054 GB, free: 332 kB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001173/0.2155, allocations: 55.91 kB / 0.6055 GB, free: 276 kB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001392/0.2156, allocations: 88.27 kB / 0.6055 GB, free: 172 kB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.3887/0.6044, allocations: 243.7 kB / 0.6058 GB, free: 40.73 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.913e-06/0.6044, allocations: 0 / 0.6058 GB, free: 40.73 MB / 0.4981 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0004829/0.6049, allocations: 199.2 kB / 0.606 GB, free: 40.7 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 6.798e-05/0.605, allocations: 112.5 kB / 0.6061 GB, free: 40.59 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.414e-06/0.605, allocations: 0.5938 kB / 0.6061 GB, free: 40.59 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.154e-05/0.605, allocations: 1.812 kB / 0.6061 GB, free: 40.59 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001886/0.6052, allocations: 34.47 kB / 0.6061 GB, free: 40.59 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.686e-06/0.6052, allocations: 5.844 kB / 0.6061 GB, free: 40.59 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001347/0.6054, allocations: 30.36 kB / 0.6061 GB, free: 40.59 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.441e-05/0.6054, allocations: 6.375 kB / 0.6061 GB, free: 40.59 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 6.823e-06/0.6054, allocations: 4.219 kB / 0.6061 GB, free: 40.59 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0001992/0.6056, allocations: 116.3 kB / 0.6063 GB, free: 40.59 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.473e-06/0.6056, allocations: 3.688 kB / 0.6063 GB, free: 40.59 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.384e-06/0.6056, allocations: 2.938 kB / 0.6063 GB, free: 40.59 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001063/0.6057, allocations: 30.91 kB / 0.6063 GB, free: 40.59 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.863e-06/0.6057, allocations: 0.9062 kB / 0.6063 GB, free: 40.59 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.973e-05/0.6058, allocations: 12.61 kB / 0.6063 GB, free: 40.59 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.766e-06/0.6058, allocations: 8.719 kB / 0.6063 GB, free: 40.59 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.0002529/0.6061, allocations: 219.2 kB / 0.6065 GB, free: 40.4 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.666e-05/0.6062, allocations: 23.45 kB / 0.6065 GB, free: 40.4 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.822e-05/0.6062, allocations: 26.97 kB / 0.6066 GB, free: 40.39 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.542e-06/0.6062, allocations: 6.625 kB / 0.6066 GB, free: 40.39 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.093e-06/0.6063, allocations: 3.844 kB / 0.6066 GB, free: 40.39 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.551e-06/0.6063, allocations: 0.8438 kB / 0.6066 GB, free: 40.39 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005726/0.6068, allocations: 0.5129 MB / 0.6071 GB, free: 40.1 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.464e-06/0.6069, allocations: 2.094 kB / 0.6071 GB, free: 40.1 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001516/0.607, allocations: 27.97 kB / 0.6071 GB, free: 40.1 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.296e-06/0.607, allocations: 10 kB / 0.6071 GB, free: 40.1 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.341e-05/0.607, allocations: 4.312 kB / 0.6071 GB, free: 40.1 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.392e-06/0.607, allocations: 0 / 0.6071 GB, free: 40.1 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.297e-06/0.6071, allocations: 0.7031 kB / 0.6071 GB, free: 40.1 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004344/0.6075, allocations: 346.5 kB / 0.6075 GB, free: 39.96 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.987e-05/0.6076, allocations: 112.6 kB / 0.6076 GB, free: 39.86 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.969e-05/0.6076, allocations: 3.859 kB / 0.6076 GB, free: 39.86 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001231/0.6077, allocations: 14.08 kB / 0.6076 GB, free: 39.86 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.485e-05/0.6078, allocations: 6.094 kB / 0.6076 GB, free: 39.86 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.085e-06/0.6078, allocations: 10.12 kB / 0.6076 GB, free: 39.86 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001253/0.6079, allocations: 180.6 kB / 0.6078 GB, free: 39.79 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.693e-06/0.6079, allocations: 0 / 0.6078 GB, free: 39.79 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003418/0.6083, allocations: 69.78 kB / 0.6078 GB, free: 39.78 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 8.928e-05/0.6084, allocations: 103.9 kB / 0.6079 GB, free: 39.69 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003939/0.6088, allocations: 194.7 kB / 0.6081 GB, free: 39.69 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.6088, allocations: 0 / 0.6081 GB, free: 39.69 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001195/0.6089, allocations: 71.27 kB / 0.6082 GB, free: 39.69 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004728/0.6094, allocations: 64.45 kB / 0.6083 GB, free: 39.69 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008229/0.6102, allocations: 0.5558 MB / 0.6088 GB, free: 39.35 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001994/0.6104, allocations: 0.7453 MB / 0.6095 GB, free: 38.65 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.642e-05/0.6105, allocations: 26.12 kB / 0.6095 GB, free: 38.64 MB / 0.4981 GB Notification: Performance of SimCode: time 3.11e-07/0.6105, allocations: 0 / 0.6095 GB, free: 38.64 MB / 0.4981 GB Notification: Performance of Templates: time 0.004376/0.6149, allocations: 2.899 MB / 0.6124 GB, free: 38.5 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)