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/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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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 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: "" <> 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008599/0.0008598, allocations: 91.77 kB / 15.36 MB, free: 0.7383 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.005312/0.005312, allocations: 171.4 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.226/1.226, allocations: 205.4 MB / 222.4 MB, free: 5.789 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.557/1.557, allocations: 292.7 MB / 0.5502 GB, free: 14.46 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004709/0.0004709, allocations: 13.75 kB / 0.6744 GB, free: 26.05 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1837/0.1842, allocations: 116.3 MB / 0.788 GB, free: 11.49 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter): time 0.002763/0.187, allocations: 2.439 MB / 0.7904 GB, free: 9.035 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002554/0.1896, allocations: 2.028 MB / 0.7924 GB, free: 6.996 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.991e-05/0.1897, allocations: 4 kB / 0.7924 GB, free: 6.992 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001185/0.1898, allocations: 27.72 kB / 0.7924 GB, free: 6.965 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0003666/0.1902, allocations: 183.4 kB / 0.7926 GB, free: 6.785 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004474/0.1906, allocations: 242.8 kB / 0.7928 GB, free: 6.551 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003904/0.191, allocations: 458.8 kB / 0.7932 GB, free: 6.102 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005186/0.1916, allocations: 362.5 kB / 0.7936 GB, free: 5.719 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001296/0.1917, allocations: 107.5 kB / 0.7937 GB, free: 5.613 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002278/0.1919, allocations: 147.5 kB / 0.7938 GB, free: 5.469 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.516e-05/0.192, allocations: 12 kB / 0.7938 GB, free: 5.457 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005309/0.1925, allocations: 451.1 kB / 0.7943 GB, free: 5.016 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 7.951e-05/0.1926, allocations: 79.78 kB / 0.7943 GB, free: 4.938 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.000107/0.1927, allocations: 129.2 kB / 0.7945 GB, free: 4.805 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0004562/0.1932, allocations: 470.5 kB / 0.7949 GB, free: 4.344 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.705e-06/0.1932, allocations: 0 / 0.7949 GB, free: 4.344 MB / 0.6075 GB Notification: Performance of FrontEnd: time 9.21e-07/0.1932, allocations: 0 / 0.7949 GB, free: 4.344 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.278e-06/0.1932, allocations: 0 / 0.7949 GB, free: 4.344 MB / 0.6075 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.0006836/0.1939, allocations: 0.5225 MB / 0.7954 GB, free: 3.77 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 2.986e-05/0.1939, allocations: 8.031 kB / 0.7954 GB, free: 3.762 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.888e-05/0.194, allocations: 54.73 kB / 0.7955 GB, free: 3.699 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006659/0.1947, allocations: 112.5 kB / 0.7956 GB, free: 3.59 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002459/0.1949, allocations: 256.4 kB / 0.7958 GB, free: 3.301 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.442e-05/0.1949, allocations: 20.8 kB / 0.7959 GB, free: 3.281 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.241e-05/0.195, allocations: 19.94 kB / 0.7959 GB, free: 3.262 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005596/0.1956, allocations: 389.9 kB / 0.7963 GB, free: 2.855 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.11e-05/0.1956, allocations: 0 / 0.7963 GB, free: 2.855 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.707e-05/0.1956, allocations: 8 kB / 0.7963 GB, free: 2.848 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.446e-05/0.1957, allocations: 27.77 kB / 0.7963 GB, free: 2.82 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005996/0.1963, allocations: 379.6 kB / 0.7966 GB, free: 2.449 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00169/0.198, allocations: 1.726 MB / 0.7983 GB, free: 0.5781 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005982/0.1986, allocations: 356.9 kB / 0.7987 GB, free: 216 kB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002877/0.1989, allocations: 189.6 kB / 0.7989 GB, free: 20 kB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001331/0.199, allocations: 93.08 kB / 0.7989 GB, free: 15.91 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.034e-05/0.199, allocations: 34.56 kB / 0.799 GB, free: 15.87 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=25): time 1.232e-06/0.199, allocations: 0 / 0.799 GB, free: 15.87 MB / 0.6231 GB Notification: Performance of matching and sorting (n=35): time 0.007016/0.2061, allocations: 2.067 MB / 0.801 GB, free: 13.79 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.343e-05/0.2061, allocations: 81.11 kB / 0.8011 GB, free: 13.7 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001428/0.2063, allocations: 187.9 kB / 0.8013 GB, free: 13.5 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 4.067e-05/0.2063, allocations: 33.7 kB / 0.8013 GB, free: 13.46 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 7.533e-05/0.2064, allocations: 152.3 kB / 0.8014 GB, free: 13.3 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 9.449e-05/0.2065, allocations: 122.3 kB / 0.8015 GB, free: 13.18 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.055e-05/0.2066, allocations: 37.7 kB / 0.8016 GB, free: 13.14 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001072/0.2067, allocations: 330.8 kB / 0.8019 GB, free: 12.81 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004422/0.2071, allocations: 259.8 kB / 0.8021 GB, free: 12.55 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004789/0.2076, allocations: 341.5 kB / 0.8025 GB, free: 12.19 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009691/0.2086, allocations: 0.619 MB / 0.8031 GB, free: 11.54 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.532e-06/0.2086, allocations: 3.938 kB / 0.8031 GB, free: 11.54 MB / 0.6231 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001098/0.2097, allocations: 0.6702 MB / 0.8037 GB, free: 10.86 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 7.747e-05/0.2098, allocations: 148.8 kB / 0.8039 GB, free: 10.68 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.241e-06/0.2098, allocations: 4 kB / 0.8039 GB, free: 10.68 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.081e-05/0.2098, allocations: 4 kB / 0.8039 GB, free: 10.67 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008417/0.2107, allocations: 151.8 kB / 0.804 GB, free: 10.52 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.564e-06/0.2107, allocations: 8 kB / 0.804 GB, free: 10.52 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003747/0.2111, allocations: 55.92 kB / 0.8041 GB, free: 10.46 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.759e-05/0.2111, allocations: 19.94 kB / 0.8041 GB, free: 10.44 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 5.861e-06/0.2111, allocations: 7.938 kB / 0.8041 GB, free: 10.43 MB / 0.6231 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001005/0.2121, allocations: 0.5817 MB / 0.8047 GB, free: 9.852 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.2122, allocations: 8.062 kB / 0.8047 GB, free: 9.844 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.24e-06/0.2122, allocations: 4 kB / 0.8047 GB, free: 9.84 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007899/0.213, allocations: 151.8 kB / 0.8048 GB, free: 9.691 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.891e-06/0.213, allocations: 7.938 kB / 0.8048 GB, free: 9.684 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003553/0.2133, allocations: 55.98 kB / 0.8049 GB, free: 9.629 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.358e-05/0.2134, allocations: 19.97 kB / 0.8049 GB, free: 9.609 MB / 0.6231 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001757/0.2136, allocations: 237 kB / 0.8051 GB, free: 9.367 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.392e-05/0.2136, allocations: 27.66 kB / 0.8052 GB, free: 9.34 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001269/0.2149, allocations: 0.6809 MB / 0.8058 GB, free: 8.652 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.4e-06/0.2149, allocations: 7.938 kB / 0.8058 GB, free: 8.645 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.189e-06/0.2149, allocations: 4 kB / 0.8058 GB, free: 8.641 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.64e-06/0.2149, allocations: 4 kB / 0.8059 GB, free: 8.637 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00196/0.2169, allocations: 1.387 MB / 0.8072 GB, free: 7.152 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.2169, allocations: 0 / 0.8072 GB, free: 7.152 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005553/0.2175, allocations: 119.8 kB / 0.8073 GB, free: 7.035 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.671e-06/0.2175, allocations: 4.25 kB / 0.8073 GB, free: 7.031 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.55e-05/0.2175, allocations: 12 kB / 0.8073 GB, free: 7.02 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.372e-06/0.2175, allocations: 11.92 kB / 0.8073 GB, free: 7.008 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.679e-06/0.2175, allocations: 7.938 kB / 0.8074 GB, free: 7 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009504/0.2185, allocations: 0.7385 MB / 0.8081 GB, free: 6.223 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001355/0.2186, allocations: 144.7 kB / 0.8082 GB, free: 6.062 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.069e-05/0.2187, allocations: 8 kB / 0.8082 GB, free: 6.055 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000317/0.219, allocations: 43.95 kB / 0.8083 GB, free: 6.012 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.067e-05/0.2191, allocations: 35.83 kB / 0.8083 GB, free: 5.977 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.545e-05/0.2191, allocations: 16 kB / 0.8083 GB, free: 5.961 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0001131/0.2192, allocations: 144.3 kB / 0.8084 GB, free: 5.82 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2193, allocations: 0 / 0.8084 GB, free: 5.82 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0005474/0.2198, allocations: 144 kB / 0.8086 GB, free: 5.68 MB / 0.6231 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001273/0.2211, allocations: 1.304 MB / 0.8099 GB, free: 4.324 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001436/0.2225, allocations: 0.8723 MB / 0.8107 GB, free: 3.453 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.2225, allocations: 4.188 kB / 0.8107 GB, free: 3.449 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0004296/0.223, allocations: 267.7 kB / 0.811 GB, free: 3.188 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000498/0.2235, allocations: 52.22 kB / 0.811 GB, free: 3.137 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004737/0.2282, allocations: 3.954 MB / 0.8149 GB, free: 15 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002985/0.2285, allocations: 0.7838 MB / 0.8156 GB, free: 14.18 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0004687/0.229, allocations: 170.8 kB / 0.8158 GB, free: 14.02 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001863/0.2292, allocations: 87.39 kB / 0.8159 GB, free: 13.93 MB / 0.6387 GB Notification: Performance of SimCode: time 3.91e-07/0.2292, allocations: 0 / 0.8159 GB, free: 13.93 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.195/1.424, allocations: 6.736 MB / 0.8225 GB, free: 7.371 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002218/1.424, allocations: 223.3 kB / 0.8227 GB, free: 7.109 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.646/3.07, allocations: 0 / 0.8227 GB, free: 7.109 MB / 0.6387 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/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)