Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_OnePhase_Conversion_Examples_ACACConverter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter,fileNamePrefix="Buildings_maint_7_0_x_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 7.0.3-maint.7.0.x/package.mo): time 1.47/1.47, allocations: 249.5 MB / 257 MB, free: 6.914 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001/0.001, allocations: 172.8 kB / 316.3 MB, free: 3.223 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.456/1.456, allocations: 205.3 MB / 0.5671 GB, free: 15.85 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.0008609/0.0008608, allocations: 102.2 kB / 0.6714 GB, free: 4.969 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.772e-05/1.774e-05, allocations: 4 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2119/0.2119, allocations: 106.3 MB / 0.8853 GB, free: 12.15 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7403/0.9523, allocations: 160.9 MB / 1.042 GB, free: 10.63 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003089/0.9527, allocations: 98.48 kB / 1.043 GB, free: 10.57 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 0.0456/0.9983, allocations: 18.04 MB / 1.06 GB, free: 11.59 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.394e-06/0.9983, allocations: 0 / 1.06 GB, free: 11.59 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 2.659e-05/0.9984, allocations: 4 kB / 1.06 GB, free: 11.58 MB / 0.6823 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.00105/0.9994, allocations: 0.5321 MB / 1.061 GB, free: 11.02 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.575e-05/0.9995, allocations: 15.98 kB / 1.061 GB, free: 11.01 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008854/1, allocations: 95.61 kB / 1.061 GB, free: 10.91 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003996/1.001, allocations: 266.8 kB / 1.061 GB, free: 10.63 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.502e-05/1.001, allocations: 4 kB / 1.061 GB, free: 10.62 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.053e-05/1.001, allocations: 12 kB / 1.061 GB, free: 10.61 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004751/1.001, allocations: 254.6 kB / 1.061 GB, free: 10.45 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000504/1.002, allocations: 337.8 kB / 1.062 GB, free: 10.16 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.49e-05/1.002, allocations: 0 / 1.062 GB, free: 10.16 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.79e-05/1.002, allocations: 0 / 1.062 GB, free: 10.16 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.637e-05/1.002, allocations: 26.8 kB / 1.062 GB, free: 10.14 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001928/1.004, allocations: 1.677 MB / 1.063 GB, free: 8.5 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005425/1.004, allocations: 311.3 kB / 1.064 GB, free: 8.273 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002214/1.005, allocations: 165.2 kB / 1.064 GB, free: 8.16 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001725/1.005, allocations: 92.53 kB / 1.064 GB, free: 8.055 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.608e-05/1.005, allocations: 38.5 kB / 1.064 GB, free: 8.008 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=25): time 1.744e-06/1.005, allocations: 0 / 1.064 GB, free: 8.008 MB / 0.6823 GB Notification: Performance of matching and sorting (n=35): time 0.002886/1.008, allocations: 1.096 MB / 1.065 GB, free: 7.168 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.84e-05/1.008, allocations: 85.05 kB / 1.065 GB, free: 7.066 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001555/1.008, allocations: 155.9 kB / 1.065 GB, free: 6.922 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 4.043e-05/1.008, allocations: 29.7 kB / 1.065 GB, free: 6.887 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 9.339e-05/1.008, allocations: 151.2 kB / 1.065 GB, free: 6.746 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 8.976e-05/1.008, allocations: 108 kB / 1.065 GB, free: 6.652 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.734e-05/1.008, allocations: 0 / 1.065 GB, free: 6.652 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001379/1.008, allocations: 336.4 kB / 1.066 GB, free: 6.324 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002797/1.009, allocations: 210.1 kB / 1.066 GB, free: 6.199 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003295/1.009, allocations: 295.2 kB / 1.066 GB, free: 5.965 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005781/1.01, allocations: 298.5 kB / 1.067 GB, free: 5.762 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/1.01, allocations: 0 / 1.067 GB, free: 5.762 MB / 0.6823 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001031/1.011, allocations: 0.5999 MB / 1.067 GB, free: 5.32 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003729/1.011, allocations: 0.8771 MB / 1.068 GB, free: 4.395 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.877e-06/1.011, allocations: 4 kB / 1.068 GB, free: 4.391 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.943e-05/1.011, allocations: 7.953 kB / 1.068 GB, free: 4.383 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008362/1.012, allocations: 151.2 kB / 1.068 GB, free: 4.238 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.097e-06/1.012, allocations: 4 kB / 1.068 GB, free: 4.234 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003657/1.012, allocations: 47.92 kB / 1.068 GB, free: 4.188 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.875e-05/1.012, allocations: 14.88 kB / 1.068 GB, free: 4.176 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 9.658e-06/1.012, allocations: 4 kB / 1.068 GB, free: 4.172 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008198/1.013, allocations: 453.6 kB / 1.069 GB, free: 3.848 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.206e-06/1.013, allocations: 4 kB / 1.069 GB, free: 3.844 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.572e-06/1.013, allocations: 4 kB / 1.069 GB, free: 3.84 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007106/1.014, allocations: 144 kB / 1.069 GB, free: 3.703 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.669e-06/1.014, allocations: 4 kB / 1.069 GB, free: 3.699 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002646/1.014, allocations: 35.95 kB / 1.069 GB, free: 3.664 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.074e-05/1.014, allocations: 15.12 kB / 1.069 GB, free: 3.652 MB / 0.6823 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.0001433/1.015, allocations: 112.9 kB / 1.069 GB, free: 3.535 MB / 0.6823 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0009721/1.015, allocations: 0.5424 MB / 1.069 GB, free: 3.145 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.395e-05/1.016, allocations: 23.72 kB / 1.07 GB, free: 3.121 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001112/1.017, allocations: 0.6101 MB / 1.07 GB, free: 2.699 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.412e-06/1.017, allocations: 4 kB / 1.07 GB, free: 2.695 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/1.017, allocations: 0 / 1.07 GB, free: 2.695 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.532e-06/1.017, allocations: 7.984 kB / 1.07 GB, free: 2.688 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002001/1.019, allocations: 1.263 MB / 1.071 GB, free: 1.574 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.711e-06/1.019, allocations: 11.97 kB / 1.071 GB, free: 1.562 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005614/1.019, allocations: 119.6 kB / 1.071 GB, free: 1.449 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.427e-06/1.019, allocations: 4 kB / 1.071 GB, free: 1.445 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.113e-05/1.019, allocations: 7.953 kB / 1.071 GB, free: 1.438 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.009e-05/1.019, allocations: 7.938 kB / 1.072 GB, free: 1.43 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.951e-06/1.019, allocations: 4 kB / 1.072 GB, free: 1.426 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009798/1.02, allocations: 0.7694 MB / 1.072 GB, free: 0.707 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001594/1.021, allocations: 141.5 kB / 1.072 GB, free: 0.5664 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.941e-05/1.021, allocations: 4 kB / 1.072 GB, free: 0.5625 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000338/1.021, allocations: 39.94 kB / 1.072 GB, free: 0.5234 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.333e-05/1.021, allocations: 31.47 kB / 1.072 GB, free: 0.4961 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.778e-05/1.021, allocations: 15.06 kB / 1.072 GB, free: 496 kB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0001195/1.021, allocations: 136.4 kB / 1.073 GB, free: 376 kB / 0.6823 GB Notification: Performance of sort global known variables: time 4.11e-07/1.021, allocations: 0 / 1.073 GB, free: 376 kB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0007601/1.022, allocations: 151.5 kB / 1.073 GB, free: 228 kB / 0.6823 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.001722/1.024, allocations: 1.882 MB / 1.075 GB, free: 14.4 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001119/1.025, allocations: 0.6873 MB / 1.075 GB, free: 13.94 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/1.025, allocations: 0 / 1.075 GB, free: 13.94 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.000296/1.025, allocations: 228.1 kB / 1.075 GB, free: 13.78 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003901/1.026, allocations: 39.62 kB / 1.076 GB, free: 13.75 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001506/1.027, allocations: 0.636 MB / 1.076 GB, free: 13.15 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004265/1.028, allocations: 0.7846 MB / 1.077 GB, free: 12.35 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0005633/1.028, allocations: 175.1 kB / 1.077 GB, free: 12.18 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002/1.028, allocations: 86.84 kB / 1.077 GB, free: 12.14 MB / 0.698 GB Notification: Performance of SimCode: time 4.71e-07/1.028, allocations: 0 / 1.077 GB, free: 12.14 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02692/1.055, allocations: 6.477 MB / 1.083 GB, free: 5.699 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001931/1.056, allocations: 171.2 kB / 1.084 GB, free: 5.508 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.818/2.874, allocations: 2.531 kB / 1.084 GB, free: 5.508 MB / 0.698 GB (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Electrical_AC_OnePhase_Conversion_Examples_ACACConverter_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Electrical_AC_OnePhase_Conversion_Examples_ACACConverter.fmu > Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.pipe 2>&1)