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/BuildSysPro 3.4.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.4.0/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") [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.4.0/UsersGuide/package.order:0:0-0:0:readonly] Warning: The package.order file does not list all .mo files and directories (containing package.mo) present in its directory. Missing names are: License Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.4.0/package.mo): time 0.6295/0.6295, allocations: 117.9 MB / 133.9 MB, free: 4.523 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009991/0.0009992, allocations: 174.8 kB / 161.7 MB, free: 2.758 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.841/1.841, allocations: 205.4 MB / 394.8 MB, free: 20.95 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008287/0.0008287, allocations: 86.36 kB / 470.1 MB, free: 12.13 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003818/0.0003818, allocations: 12 kB / 0.5423 GB, free: 6.855 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3699/0.3703, allocations: 74.54 MB / 0.6151 GB, free: 54.12 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1327/0.503, allocations: 105 MB / 0.7177 GB, free: 12.95 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001626/0.5032, allocations: 51.98 kB / 0.7177 GB, free: 12.89 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.01163/0.5148, allocations: 4.555 MB / 0.7222 GB, free: 8.336 MB / 0.4948 GB Notification: Performance of FrontEnd: time 3.587e-06/0.5149, allocations: 0 / 0.7222 GB, free: 8.336 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 3.292e-05/0.5149, allocations: 4 kB / 0.7222 GB, free: 8.332 MB / 0.4948 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.0009416/0.5159, allocations: 0.5257 MB / 0.7227 GB, free: 7.754 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.577e-05/0.5159, allocations: 16.03 kB / 0.7227 GB, free: 7.738 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001144/0.5161, allocations: 28.56 kB / 0.7227 GB, free: 7.711 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004977/0.5166, allocations: 299.5 kB / 0.723 GB, free: 7.379 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.001e-05/0.5166, allocations: 12.38 kB / 0.723 GB, free: 7.367 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.311e-05/0.5166, allocations: 16.38 kB / 0.723 GB, free: 7.352 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004154/0.5171, allocations: 222.4 kB / 0.7233 GB, free: 7.113 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.576e-05/0.5171, allocations: 192 / 0.7233 GB, free: 7.113 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.463e-05/0.5171, allocations: 7.938 kB / 0.7233 GB, free: 7.105 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.944e-06/0.5171, allocations: 4 kB / 0.7233 GB, free: 7.102 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000328/0.5175, allocations: 148.8 kB / 0.7234 GB, free: 6.957 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001276/0.5188, allocations: 0.783 MB / 0.7242 GB, free: 6.117 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003759/0.5192, allocations: 178.6 kB / 0.7243 GB, free: 5.934 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001314/0.5193, allocations: 68.83 kB / 0.7244 GB, free: 5.863 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.509e-05/0.5193, allocations: 4 kB / 0.7244 GB, free: 5.859 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.815e-05/0.5194, allocations: 30.56 kB / 0.7244 GB, free: 5.82 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=14): time 2.093e-06/0.5194, allocations: 4 kB / 0.7244 GB, free: 5.816 MB / 0.4948 GB Notification: Performance of matching and sorting (n=14): time 0.0005052/0.5199, allocations: 213.4 kB / 0.7247 GB, free: 5.602 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.66e-05/0.52, allocations: 85.09 kB / 0.7247 GB, free: 5.5 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000253/0.5202, allocations: 251 kB / 0.725 GB, free: 5.25 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.971e-05/0.5202, allocations: 25.7 kB / 0.725 GB, free: 5.219 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001168/0.5204, allocations: 172 kB / 0.7252 GB, free: 5.047 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 4.84e-05/0.5204, allocations: 47.58 kB / 0.7252 GB, free: 5 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.057e-06/0.5204, allocations: 11.88 kB / 0.7252 GB, free: 4.988 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001439/0.5206, allocations: 338.8 kB / 0.7255 GB, free: 4.648 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000122/0.5207, allocations: 55.91 kB / 0.7256 GB, free: 4.594 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001378/0.5209, allocations: 89.83 kB / 0.7257 GB, free: 4.492 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007245/0.5216, allocations: 267.3 kB / 0.7259 GB, free: 4.223 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.554e-06/0.5216, allocations: 0 / 0.7259 GB, free: 4.223 MB / 0.4948 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.000364/0.522, allocations: 199.2 kB / 0.7261 GB, free: 4.023 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 7.987e-05/0.5221, allocations: 111.6 kB / 0.7262 GB, free: 3.898 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.506e-06/0.5221, allocations: 4 kB / 0.7262 GB, free: 3.895 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.744e-05/0.5221, allocations: 0 / 0.7262 GB, free: 3.895 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001701/0.5223, allocations: 43.92 kB / 0.7263 GB, free: 3.852 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.969e-06/0.5223, allocations: 3.938 kB / 0.7263 GB, free: 3.848 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001126/0.5224, allocations: 15.84 kB / 0.7263 GB, free: 3.832 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.503e-05/0.5225, allocations: 8 kB / 0.7263 GB, free: 3.824 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 6.803e-06/0.5225, allocations: 4 kB / 0.7263 GB, free: 3.82 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0001903/0.5227, allocations: 115.8 kB / 0.7264 GB, free: 3.707 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.316e-06/0.5227, allocations: 4 kB / 0.7264 GB, free: 3.703 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.265e-06/0.5227, allocations: 4.094 kB / 0.7264 GB, free: 3.699 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001079/0.5228, allocations: 27.98 kB / 0.7265 GB, free: 3.672 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.315e-06/0.5228, allocations: 0 / 0.7265 GB, free: 3.672 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.688e-05/0.5229, allocations: 15.84 kB / 0.7265 GB, free: 3.656 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.877e-06/0.5229, allocations: 4 kB / 0.7265 GB, free: 3.652 MB / 0.4948 GB Warning: Assuming fixed start value for the following 2 variables: firstOrder.y:VARIABLE(start = firstOrder.y_start fixed = true protected = true ) "Connector of Real output signal" type: Real PI1.I.y:VARIABLE(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.000257/0.5232, allocations: 227.2 kB / 0.7267 GB, free: 3.422 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.637e-05/0.5232, allocations: 23.72 kB / 0.7267 GB, free: 3.398 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.455e-05/0.5233, allocations: 37.86 kB / 0.7267 GB, free: 3.359 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.025e-06/0.5233, allocations: 0 / 0.7267 GB, free: 3.359 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.5233, allocations: 0 / 0.7267 GB, free: 3.359 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.5233, allocations: 0 / 0.7267 GB, free: 3.359 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006624/0.524, allocations: 0.5178 MB / 0.7273 GB, free: 2.785 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.524, allocations: 3.938 kB / 0.7273 GB, free: 2.781 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001506/0.5242, allocations: 31.98 kB / 0.7273 GB, free: 2.75 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.986e-06/0.5242, allocations: 0 / 0.7273 GB, free: 2.75 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.776e-05/0.5242, allocations: 8 kB / 0.7273 GB, free: 2.742 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.5242, allocations: 0 / 0.7273 GB, free: 2.742 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.5242, allocations: 0 / 0.7273 GB, free: 2.742 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004913/0.5247, allocations: 335.1 kB / 0.7276 GB, free: 2.398 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 9.793e-05/0.5248, allocations: 112.8 kB / 0.7277 GB, free: 2.27 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.952e-05/0.5249, allocations: 4 kB / 0.7277 GB, free: 2.266 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000121/0.525, allocations: 11.98 kB / 0.7277 GB, free: 2.254 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.569e-05/0.525, allocations: 11.92 kB / 0.7277 GB, free: 2.242 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.987e-06/0.5251, allocations: 8.062 kB / 0.7278 GB, free: 2.234 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0001756/0.5252, allocations: 185.9 kB / 0.7279 GB, free: 2.051 MB / 0.4948 GB Notification: Performance of sort global known variables: time 3.21e-07/0.5252, allocations: 0 / 0.7279 GB, free: 2.051 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0003578/0.5256, allocations: 75.67 kB / 0.728 GB, free: 1.977 MB / 0.4948 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 0.0001335/0.5257, allocations: 107.2 kB / 0.7281 GB, free: 1.863 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0004349/0.5262, allocations: 188.4 kB / 0.7283 GB, free: 1.68 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.5262, allocations: 4 kB / 0.7283 GB, free: 1.676 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001268/0.5263, allocations: 73.16 kB / 0.7284 GB, free: 1.605 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004515/0.5268, allocations: 61.14 kB / 0.7284 GB, free: 1.547 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009198/0.5277, allocations: 0.5122 MB / 0.7289 GB, free: 1.008 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003161/0.5281, allocations: 0.7524 MB / 0.7297 GB, free: 232 kB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0001472/0.5282, allocations: 34.27 kB / 0.7297 GB, free: 192 kB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.404e-05/0.5283, allocations: 23.44 kB / 0.7297 GB, free: 168 kB / 0.4948 GB Notification: Performance of SimCode: time 2.21e-07/0.5283, allocations: 4 kB / 0.7297 GB, free: 164 kB / 0.4948 GB Notification: Performance of Templates: time 0.005761/0.5341, allocations: 2.108 MB / 0.7318 GB, free: 14.08 MB / 0.5105 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)