Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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 Buildings with version 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource") translateModel(Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.301/2.301, allocations: 251.1 MB / 266.7 MB, free: 11.57 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002236/0.002235, allocations: 185.2 kB / 326.2 MB, free: 2.852 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.473/2.473, allocations: 205.4 MB / 0.5772 GB, free: 20.77 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009123/0.0009119, allocations: 90.73 kB / 0.6817 GB, free: 13.63 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0005099/0.0005101, allocations: 12.16 kB / 0.7957 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2289/0.2295, allocations: 106.3 MB / 0.8995 GB, free: 65.54 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2567/0.4862, allocations: 150.6 MB / 1.047 GB, free: 10.68 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000413/0.4867, allocations: 95.94 kB / 1.047 GB, free: 10.59 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.6645/1.151, allocations: 11.84 MB / 1.058 GB, free: 150.9 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.294e-06/1.151, allocations: 0.5625 kB / 1.058 GB, free: 150.9 MB / 0.698 GB Notification: Performance of Transformations before backend: time 2.073e-05/1.151, allocations: 12.81 kB / 1.058 GB, free: 150.9 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0007413/1.152, allocations: 469.2 kB / 1.059 GB, free: 150.5 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.406e-05/1.152, allocations: 8.719 kB / 1.059 GB, free: 150.5 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008814/1.153, allocations: 67.64 kB / 1.059 GB, free: 150.5 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003372/1.153, allocations: 234.5 kB / 1.059 GB, free: 150.3 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.083e-05/1.153, allocations: 10.53 kB / 1.059 GB, free: 150.3 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.193e-05/1.153, allocations: 16.14 kB / 1.059 GB, free: 150.3 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005633/1.154, allocations: 278.5 kB / 1.059 GB, free: 150.2 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.841e-05/1.154, allocations: 0 / 1.059 GB, free: 150.2 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.492e-05/1.154, allocations: 8.906 kB / 1.059 GB, free: 150.2 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.038e-05/1.154, allocations: 15.12 kB / 1.059 GB, free: 150.2 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004939/1.155, allocations: 211.2 kB / 1.06 GB, free: 150.2 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002228/1.157, allocations: 1.576 MB / 1.061 GB, free: 148.9 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005422/1.158, allocations: 320.8 kB / 1.061 GB, free: 148.7 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001423/1.158, allocations: 66.45 kB / 1.061 GB, free: 148.7 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.192e-05/1.158, allocations: 1.172 kB / 1.061 GB, free: 148.7 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.254e-05/1.158, allocations: 42.59 kB / 1.061 GB, free: 148.7 MB / 0.698 GB Notification: Performance of pre-optimization done (n=9): time 3.006e-06/1.158, allocations: 0 / 1.061 GB, free: 148.7 MB / 0.698 GB Notification: Performance of matching and sorting (n=10): time 0.0008407/1.159, allocations: 236.4 kB / 1.062 GB, free: 148.6 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.531e-05/1.159, allocations: 82.36 kB / 1.062 GB, free: 148.5 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002484/1.159, allocations: 200.6 kB / 1.062 GB, free: 148.4 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.675e-05/1.159, allocations: 31.77 kB / 1.062 GB, free: 148.3 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 8.346e-05/1.159, allocations: 156.6 kB / 1.062 GB, free: 148.2 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 4.083e-05/1.159, allocations: 39.12 kB / 1.062 GB, free: 148.2 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.63e-05/1.159, allocations: 3.562 kB / 1.062 GB, free: 148.2 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 7.6e-05/1.159, allocations: 327.6 kB / 1.063 GB, free: 147.9 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001744/1.159, allocations: 64.11 kB / 1.063 GB, free: 147.9 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002228/1.16, allocations: 153.1 kB / 1.063 GB, free: 147.8 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002363/1.16, allocations: 90.28 kB / 1.063 GB, free: 147.8 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.937e-06/1.16, allocations: 2.625 kB / 1.063 GB, free: 147.8 MB / 0.698 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0006416/1.161, allocations: 258.8 kB / 1.063 GB, free: 147.7 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 9.733e-05/1.161, allocations: 180 kB / 1.063 GB, free: 147.5 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.071e-05/1.161, allocations: 2.875 kB / 1.063 GB, free: 147.5 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.546e-05/1.161, allocations: 3.469 kB / 1.063 GB, free: 147.5 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004266/1.161, allocations: 53.75 kB / 1.063 GB, free: 147.5 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.278e-05/1.161, allocations: 8.172 kB / 1.063 GB, free: 147.5 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002749/1.161, allocations: 16.91 kB / 1.063 GB, free: 147.5 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.942e-05/1.162, allocations: 13.27 kB / 1.063 GB, free: 147.5 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 8.487e-06/1.162, allocations: 2.906 kB / 1.063 GB, free: 147.5 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004735/1.162, allocations: 195.6 kB / 1.064 GB, free: 147.5 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.262e-06/1.162, allocations: 3.375 kB / 1.064 GB, free: 147.5 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.865e-06/1.162, allocations: 7.641 kB / 1.064 GB, free: 147.5 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003073/1.162, allocations: 51.05 kB / 1.064 GB, free: 147.5 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.277e-06/1.162, allocations: 10.52 kB / 1.064 GB, free: 147.5 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001893/1.163, allocations: 11.33 kB / 1.064 GB, free: 147.5 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.118e-05/1.163, allocations: 8.844 kB / 1.064 GB, free: 147.5 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 25 * 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.0002031/1.163, allocations: 225.1 kB / 1.064 GB, free: 147.3 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.579e-05/1.163, allocations: 13.88 kB / 1.064 GB, free: 147.3 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003836/1.163, allocations: 147.8 kB / 1.064 GB, free: 147.3 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.571e-06/1.163, allocations: 4.609 kB / 1.064 GB, free: 147.3 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.023e-06/1.163, allocations: 2.75 kB / 1.064 GB, free: 147.3 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.522e-06/1.163, allocations: 4.5 kB / 1.064 GB, free: 147.3 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001377/1.165, allocations: 0.7166 MB / 1.065 GB, free: 146.8 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.001e-06/1.165, allocations: 4.781 kB / 1.065 GB, free: 146.8 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001988/1.165, allocations: 23.97 kB / 1.065 GB, free: 146.8 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.604e-06/1.165, allocations: 2.906 kB / 1.065 GB, free: 146.8 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.131e-05/1.165, allocations: 12.55 kB / 1.065 GB, free: 146.8 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.645e-06/1.165, allocations: 3.594 kB / 1.065 GB, free: 146.8 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.261e-06/1.165, allocations: 4.875 kB / 1.065 GB, free: 146.8 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004028/1.166, allocations: 383.2 kB / 1.065 GB, free: 146.5 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001173/1.166, allocations: 103 kB / 1.065 GB, free: 146.4 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.461e-05/1.166, allocations: 6.844 kB / 1.065 GB, free: 146.4 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002555/1.166, allocations: 9.094 kB / 1.065 GB, free: 146.4 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.52e-05/1.166, allocations: 19.92 kB / 1.065 GB, free: 146.4 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.535e-05/1.166, allocations: 9.875 kB / 1.065 GB, free: 146.4 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001778/1.166, allocations: 141.1 kB / 1.065 GB, free: 146.3 MB / 0.698 GB Notification: Performance of sort global known variables: time 4e-07/1.166, allocations: 0 / 1.065 GB, free: 146.3 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0007459/1.167, allocations: 83.86 kB / 1.065 GB, free: 146.3 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 0 () * 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 (11): * Single equations (assignments): 11 * 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.0001902/1.167, allocations: 117.3 kB / 1.066 GB, free: 146.2 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0006545/1.168, allocations: 268.6 kB / 1.066 GB, free: 146.2 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.379e-06/1.168, allocations: 0 / 1.066 GB, free: 146.2 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001406/1.168, allocations: 60.97 kB / 1.066 GB, free: 146.2 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006797/1.169, allocations: 36.66 kB / 1.066 GB, free: 146.2 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001023/1.17, allocations: 0.4973 MB / 1.066 GB, free: 145.9 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002479/1.17, allocations: 0.7363 MB / 1.067 GB, free: 145.2 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0003705/1.17, allocations: 73.19 kB / 1.067 GB, free: 145.2 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.044e-05/1.171, allocations: 17.11 kB / 1.067 GB, free: 145.2 MB / 0.698 GB Notification: Performance of SimCode: time 1.222e-06/1.171, allocations: 0 / 1.067 GB, free: 145.2 MB / 0.698 GB Notification: Performance of Templates: time 0.006839/1.177, allocations: 1.638 MB / 1.069 GB, free: 145.1 MB / 0.698 GB make -j1 -f Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.makefile (rm -f Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe ; mkfifo Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe >> ../files/Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.sim & ./Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe 2>&1)