Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_OnePhase_Conversion_Examples_ACACConverter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_OnePhase_Conversion_Examples_ACACConverter",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.863/1.863, allocations: 289.7 MB / 302.3 MB, free: 2.148 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001101/0.001101, allocations: 177.5 kB / 371.6 MB, free: 3.41 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.494/1.494, allocations: 205.1 MB / 0.6309 GB, free: 11.74 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009469/0.0009468, allocations: 90.91 kB / 0.745 GB, free: 54.68 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 4.362e-05/4.391e-05, allocations: 4 kB / 0.8663 GB, free: 14.92 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2645/0.2645, allocations: 116.3 MB / 0.9799 GB, free: 10.46 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8214/1.086, allocations: 167.9 MB / 1.144 GB, free: 23.95 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002804/1.086, allocations: 95.3 kB / 1.144 GB, free: 23.91 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.04525/1.132, allocations: 18.09 MB / 1.162 GB, free: 14.46 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.603e-06/1.132, allocations: 0 / 1.162 GB, free: 14.46 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 2.452e-05/1.132, allocations: 4 kB / 1.162 GB, free: 14.45 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.001135/1.133, allocations: 0.5365 MB / 1.162 GB, free: 13.93 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.768e-05/1.133, allocations: 8.031 kB / 1.162 GB, free: 13.92 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.4e-05/1.133, allocations: 58.2 kB / 1.162 GB, free: 13.87 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009558/1.134, allocations: 100.6 kB / 1.162 GB, free: 13.8 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003501/1.134, allocations: 256.7 kB / 1.163 GB, free: 13.55 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.069e-05/1.134, allocations: 20.5 kB / 1.163 GB, free: 13.54 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.267e-05/1.134, allocations: 18.81 kB / 1.163 GB, free: 13.52 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005893/1.135, allocations: 364.3 kB / 1.163 GB, free: 13.28 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.761e-05/1.135, allocations: 0 / 1.163 GB, free: 13.28 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.047e-05/1.135, allocations: 10.56 kB / 1.163 GB, free: 13.28 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.1e-05/1.135, allocations: 16.97 kB / 1.163 GB, free: 13.27 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005096/1.136, allocations: 336.4 kB / 1.163 GB, free: 13.07 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001764/1.137, allocations: 1.729 MB / 1.165 GB, free: 11.55 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005363/1.138, allocations: 330.4 kB / 1.165 GB, free: 11.35 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002259/1.138, allocations: 170.6 kB / 1.165 GB, free: 11.25 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001518/1.138, allocations: 88.05 kB / 1.166 GB, free: 11.15 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.15e-05/1.138, allocations: 43.75 kB / 1.166 GB, free: 11.1 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=25): time 1.804e-06/1.138, allocations: 4 kB / 1.166 GB, free: 11.1 MB / 0.7448 GB Notification: Performance of matching and sorting (n=35): time 0.005991/1.144, allocations: 1.719 MB / 1.167 GB, free: 10.03 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.35e-05/1.144, allocations: 86.5 kB / 1.167 GB, free: 9.926 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000141/1.145, allocations: 161.5 kB / 1.168 GB, free: 9.785 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.583e-05/1.145, allocations: 32.95 kB / 1.168 GB, free: 9.75 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 6.138e-05/1.145, allocations: 144.5 kB / 1.168 GB, free: 9.629 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 8.375e-05/1.145, allocations: 119.4 kB / 1.168 GB, free: 9.535 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.515e-05/1.145, allocations: 9.281 kB / 1.168 GB, free: 9.535 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 7.433e-05/1.145, allocations: 332.1 kB / 1.168 GB, free: 9.215 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003084/1.145, allocations: 220.6 kB / 1.168 GB, free: 9.102 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003451/1.146, allocations: 299.6 kB / 1.169 GB, free: 8.887 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003687/1.146, allocations: 266.4 kB / 1.169 GB, free: 8.754 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/1.146, allocations: 0 / 1.169 GB, free: 8.754 MB / 0.7448 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0008355/1.147, allocations: 0.581 MB / 1.169 GB, free: 8.359 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001895/1.147, allocations: 0.8839 MB / 1.17 GB, free: 7.426 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.975e-06/1.147, allocations: 0 / 1.17 GB, free: 7.426 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.293e-05/1.147, allocations: 9.188 kB / 1.17 GB, free: 7.418 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000958/1.148, allocations: 166.8 kB / 1.17 GB, free: 7.258 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.402e-05/1.148, allocations: 4.703 kB / 1.17 GB, free: 7.254 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000372/1.148, allocations: 54.81 kB / 1.171 GB, free: 7.207 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.404e-05/1.148, allocations: 15.98 kB / 1.171 GB, free: 7.191 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.072e-05/1.148, allocations: 4 kB / 1.171 GB, free: 7.188 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007196/1.149, allocations: 0.5219 MB / 1.171 GB, free: 6.836 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.728e-06/1.149, allocations: 4.281 kB / 1.171 GB, free: 6.832 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.091e-06/1.149, allocations: 8 kB / 1.171 GB, free: 6.824 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008871/1.15, allocations: 162 kB / 1.171 GB, free: 6.668 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.325e-06/1.15, allocations: 7.984 kB / 1.171 GB, free: 6.66 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003402/1.15, allocations: 43.77 kB / 1.171 GB, free: 6.625 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.205e-05/1.151, allocations: 24.16 kB / 1.171 GB, free: 6.605 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (44): * Single equations (assignments): 44 * 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.0001204/1.151, allocations: 132.8 kB / 1.171 GB, free: 6.48 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.845e-05/1.151, allocations: 20.56 kB / 1.171 GB, free: 6.461 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009876/1.152, allocations: 0.6046 MB / 1.172 GB, free: 6.051 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.881e-06/1.152, allocations: 8.938 kB / 1.172 GB, free: 6.043 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.522e-06/1.152, allocations: 4 kB / 1.172 GB, free: 6.039 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.103e-06/1.152, allocations: 3.984 kB / 1.172 GB, free: 6.035 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001676/1.153, allocations: 1.307 MB / 1.173 GB, free: 4.891 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.326e-06/1.153, allocations: 0 / 1.173 GB, free: 4.891 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005109/1.154, allocations: 123.6 kB / 1.173 GB, free: 4.773 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.056e-06/1.154, allocations: 256 / 1.173 GB, free: 4.773 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.178e-05/1.154, allocations: 15.56 kB / 1.173 GB, free: 4.762 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.334e-06/1.154, allocations: 8.969 kB / 1.173 GB, free: 4.754 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/1.154, allocations: 0 / 1.173 GB, free: 4.754 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007185/1.155, allocations: 0.7556 MB / 1.174 GB, free: 4.059 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001283/1.155, allocations: 139.2 kB / 1.174 GB, free: 3.918 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.356e-05/1.155, allocations: 10.88 kB / 1.174 GB, free: 3.914 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003188/1.155, allocations: 43.81 kB / 1.174 GB, free: 3.875 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.178e-05/1.155, allocations: 35.84 kB / 1.174 GB, free: 3.844 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.353e-05/1.155, allocations: 11.75 kB / 1.174 GB, free: 3.836 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001013/1.156, allocations: 141.7 kB / 1.175 GB, free: 3.715 MB / 0.7448 GB Notification: Performance of sort global known variables: time 2.11e-07/1.156, allocations: 0 / 1.175 GB, free: 3.715 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0006658/1.156, allocations: 166.2 kB / 1.175 GB, free: 3.57 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 37 * 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.001081/1.157, allocations: 1.885 MB / 1.177 GB, free: 1.754 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.001057/1.158, allocations: 0.7666 MB / 1.177 GB, free: 1.242 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 4.207e-06/1.158, allocations: 0 / 1.177 GB, free: 1.242 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.000277/1.159, allocations: 233.2 kB / 1.178 GB, free: 1.078 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003632/1.159, allocations: 40.61 kB / 1.178 GB, free: 1.051 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001314/1.16, allocations: 0.6692 MB / 1.178 GB, free: 448 kB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003583/1.161, allocations: 0.7947 MB / 1.179 GB, free: 15.62 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0005819/1.161, allocations: 177.8 kB / 1.179 GB, free: 15.46 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002117/1.162, allocations: 85.72 kB / 1.179 GB, free: 15.42 MB / 0.7605 GB Notification: Performance of SimCode: time 3.71e-07/1.162, allocations: 0 / 1.179 GB, free: 15.42 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02215/1.184, allocations: 6.894 MB / 1.186 GB, free: 8.707 MB / 0.7605 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002272/1.184, allocations: 169.6 kB / 1.186 GB, free: 8.484 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.933/3.117, allocations: 6.438 kB / 1.186 GB, free: 8.48 MB / 0.7605 GB (rm -f Buildings_8_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Electrical_AC_OnePhase_Conversion_Examples_ACACConverter_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Electrical_AC_OnePhase_Conversion_Examples_ACACConverter.fmu > Buildings_8_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.pipe 2>&1)