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.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/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.001015/0.001015, allocations: 99.7 kB / 15.05 MB, free: 1.105 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.001255/0.001255, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.403/1.403, allocations: 223.2 MB / 239.9 MB, free: 5.453 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.029/1.029, allocations: 143.3 MB / 434.3 MB, free: 13.77 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003601/0.0003603, allocations: 12 kB / 0.5158 GB, free: 11.37 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2043/0.2047, allocations: 83.4 MB / 0.5973 GB, free: 7.914 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.Systems.HVAC.Emission.ElectricHeater.JouleHeatingPIControlled): time 0.003364/0.2081, allocations: 1.843 MB / 0.5991 GB, free: 6.059 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001709/0.2099, allocations: 0.6783 MB / 0.5997 GB, free: 5.375 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003895/0.2103, allocations: 7.938 kB / 0.5997 GB, free: 5.367 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001022/0.2104, allocations: 19.78 kB / 0.5998 GB, free: 5.348 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0005392/0.211, allocations: 63.78 kB / 0.5998 GB, free: 5.285 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005559/0.2115, allocations: 122.9 kB / 0.5999 GB, free: 5.168 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0004983/0.212, allocations: 180.2 kB / 0.6001 GB, free: 4.988 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002101/0.2123, allocations: 78.25 kB / 0.6002 GB, free: 4.91 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001163/0.2124, allocations: 63.66 kB / 0.6002 GB, free: 4.848 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000139/0.2125, allocations: 71.5 kB / 0.6003 GB, free: 4.777 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.436e-05/0.2126, allocations: 8 kB / 0.6003 GB, free: 4.77 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 2.356e-05/0.2126, allocations: 4 kB / 0.6003 GB, free: 4.766 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 3.315e-05/0.2126, allocations: 27.84 kB / 0.6003 GB, free: 4.738 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 5.135e-05/0.2127, allocations: 61.52 kB / 0.6004 GB, free: 4.672 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001873/0.2129, allocations: 179.8 kB / 0.6006 GB, free: 4.496 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.556e-06/0.2129, allocations: 0 / 0.6006 GB, free: 4.496 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.894e-06/0.2129, allocations: 0 / 0.6006 GB, free: 4.496 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.021e-05/0.2129, allocations: 0 / 0.6006 GB, free: 4.496 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.0008778/0.2138, allocations: 0.5139 MB / 0.6011 GB, free: 3.934 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.674e-05/0.2139, allocations: 11.97 kB / 0.6011 GB, free: 3.922 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.517e-05/0.214, allocations: 31.62 kB / 0.6011 GB, free: 3.891 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000421/0.2144, allocations: 274.3 kB / 0.6014 GB, free: 3.586 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.485e-05/0.2144, allocations: 12 kB / 0.6014 GB, free: 3.574 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.872e-05/0.2145, allocations: 20 kB / 0.6014 GB, free: 3.555 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004195/0.2149, allocations: 206.2 kB / 0.6016 GB, free: 3.336 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.109e-05/0.2149, allocations: 0 / 0.6016 GB, free: 3.336 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.579e-05/0.215, allocations: 4 kB / 0.6016 GB, free: 3.332 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.797e-05/0.215, allocations: 11.94 kB / 0.6016 GB, free: 3.32 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003128/0.2153, allocations: 140.9 kB / 0.6018 GB, free: 3.184 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001046/0.2164, allocations: 0.783 MB / 0.6025 GB, free: 2.344 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000491/0.2169, allocations: 194.6 kB / 0.6027 GB, free: 2.145 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.477e-05/0.2169, allocations: 240 / 0.6027 GB, free: 2.145 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.412e-05/0.2169, allocations: 34.56 kB / 0.6027 GB, free: 2.102 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=14): time 1.011e-06/0.2169, allocations: 0 / 0.6027 GB, free: 2.102 MB / 0.4981 GB Notification: Performance of matching and sorting (n=14): time 0.0004918/0.2174, allocations: 225.2 kB / 0.603 GB, free: 1.875 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.769e-05/0.2175, allocations: 81.11 kB / 0.603 GB, free: 1.777 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002313/0.2177, allocations: 242.7 kB / 0.6033 GB, free: 1.535 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.3e-05/0.2178, allocations: 33.7 kB / 0.6033 GB, free: 1.496 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001042/0.2179, allocations: 164 kB / 0.6035 GB, free: 1.332 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.567e-05/0.2179, allocations: 55.14 kB / 0.6035 GB, free: 1.277 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.177e-06/0.2179, allocations: 4 kB / 0.6035 GB, free: 1.273 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001233/0.2181, allocations: 338.8 kB / 0.6038 GB, free: 0.9336 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001223/0.2182, allocations: 51.97 kB / 0.6039 GB, free: 0.8828 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001374/0.2183, allocations: 86.3 kB / 0.604 GB, free: 0.7852 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001456/0.2185, allocations: 60.27 kB / 0.604 GB, free: 0.7266 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/0.2185, allocations: 0 / 0.604 GB, free: 0.7266 MB / 0.4981 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003481/0.2189, allocations: 197.2 kB / 0.6042 GB, free: 0.5273 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001451/0.219, allocations: 364 kB / 0.6046 GB, free: 148 kB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.744e-06/0.219, allocations: 7.984 kB / 0.6046 GB, free: 140 kB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.593e-05/0.2191, allocations: 4 kB / 0.6046 GB, free: 136 kB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001593/0.2192, allocations: 39.92 kB / 0.6046 GB, free: 96 kB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.024e-06/0.2192, allocations: 0 / 0.6046 GB, free: 96 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001269/0.2194, allocations: 19.84 kB / 0.6046 GB, free: 76 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.685e-05/0.2194, allocations: 4 kB / 0.6046 GB, free: 72 kB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 8.536e-06/0.2194, allocations: 4 kB / 0.6046 GB, free: 68 kB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.2867/0.5061, allocations: 120 kB / 0.6047 GB, free: 41.32 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.5061, allocations: 0.9375 kB / 0.6047 GB, free: 41.32 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.328e-06/0.5062, allocations: 5.281 kB / 0.6048 GB, free: 41.32 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001425/0.5063, allocations: 28.39 kB / 0.6048 GB, free: 41.32 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.28e-06/0.5063, allocations: 1.781 kB / 0.6048 GB, free: 41.32 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001475/0.5065, allocations: 16.95 kB / 0.6048 GB, free: 41.32 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.257e-05/0.5065, allocations: 2.812 kB / 0.6048 GB, free: 41.32 MB / 0.4981 GB Warning: Assuming fixed start value for the following 2 variables: firstOrder.y:VARIABLE(flow=false start = firstOrder.y_start fixed = true protected = true ) "Connector of Real output signal" type: Real PI1.I.y:VARIABLE(flow=false start = PI1.I.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002739/0.5068, allocations: 217.3 kB / 0.605 GB, free: 41.13 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.459e-05/0.5068, allocations: 28.31 kB / 0.605 GB, free: 41.13 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.857e-05/0.5069, allocations: 28.94 kB / 0.6051 GB, free: 41.13 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.556e-06/0.5069, allocations: 2.688 kB / 0.6051 GB, free: 41.13 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/0.5069, allocations: 0 / 0.6051 GB, free: 41.13 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.5069, allocations: 2.234 kB / 0.6051 GB, free: 41.13 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006075/0.5075, allocations: 0.5159 MB / 0.6056 GB, free: 40.84 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.5076, allocations: 3.938 kB / 0.6056 GB, free: 40.84 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001468/0.5077, allocations: 34.78 kB / 0.6056 GB, free: 40.84 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.265e-06/0.5077, allocations: 0 / 0.6056 GB, free: 40.84 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.306e-05/0.5077, allocations: 0 / 0.6056 GB, free: 40.84 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.306e-06/0.5078, allocations: 6.422 kB / 0.6056 GB, free: 40.84 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.5078, allocations: 0.5 kB / 0.6056 GB, free: 40.84 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004077/0.5082, allocations: 344.6 kB / 0.6059 GB, free: 40.71 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.616e-05/0.5082, allocations: 107.7 kB / 0.606 GB, free: 40.61 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.082e-05/0.5083, allocations: 4.406 kB / 0.606 GB, free: 40.61 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001236/0.5084, allocations: 20.52 kB / 0.6061 GB, free: 40.61 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.091e-05/0.5084, allocations: 9.297 kB / 0.6061 GB, free: 40.61 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.474e-06/0.5085, allocations: 2.812 kB / 0.6061 GB, free: 40.61 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001181/0.5086, allocations: 178.2 kB / 0.6062 GB, free: 40.54 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5086, allocations: 0 / 0.6062 GB, free: 40.54 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003391/0.5089, allocations: 67.28 kB / 0.6063 GB, free: 40.54 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 8.326e-05/0.509, allocations: 102.7 kB / 0.6064 GB, free: 40.45 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003504/0.5094, allocations: 191.3 kB / 0.6066 GB, free: 40.45 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.5094, allocations: 5.328 kB / 0.6066 GB, free: 40.45 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.000104/0.5095, allocations: 69.78 kB / 0.6067 GB, free: 40.45 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003528/0.5099, allocations: 52.17 kB / 0.6067 GB, free: 40.45 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007261/0.5106, allocations: 0.5179 MB / 0.6072 GB, free: 40.16 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001436/0.5107, allocations: 0.7565 MB / 0.608 GB, free: 39.46 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001024/0.5109, allocations: 25.61 kB / 0.608 GB, free: 39.46 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.074e-05/0.5109, allocations: 25.81 kB / 0.608 GB, free: 39.46 MB / 0.4981 GB Notification: Performance of SimCode: time 2.5e-07/0.5109, allocations: 0 / 0.608 GB, free: 39.46 MB / 0.4981 GB Notification: Performance of Templates: time 0.004449/0.5154, allocations: 2.058 MB / 0.61 GB, free: 39.36 MB / 0.4981 GB make -j1 -f BuildSysPro_BuildSysPro.Systems.HVAC.Emission.ElectricHeater.JouleHeatingPIControlled.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: