Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.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 Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACSimpleGrid",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACSimpleGrid",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.403/1.403, allocations: 287.4 MB / 302.5 MB, free: 8.285 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.0008389/0.0008389, allocations: 177.9 kB / 371.1 MB, free: 10.82 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.102/1.102, allocations: 205.4 MB / 0.6298 GB, free: 10.54 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0006646/0.0006646, allocations: 95.84 kB / 0.7431 GB, free: 6.535 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003024/0.0003025, allocations: 11.38 kB / 0.8662 GB, free: 141 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.14/0.1403, allocations: 115.3 MB / 0.9787 GB, free: 28.08 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid): time 0.003097/0.1434, allocations: 3.843 MB / 0.9825 GB, free: 24.21 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002726/0.1462, allocations: 3.007 MB / 0.9854 GB, free: 21.2 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001326/0.1463, allocations: 11.94 kB / 0.9854 GB, free: 21.19 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0003802/0.1467, allocations: 163 kB / 0.9856 GB, free: 21.03 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0004657/0.1472, allocations: 303.5 kB / 0.9859 GB, free: 20.73 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002833/0.1475, allocations: 183.6 kB / 0.9861 GB, free: 20.55 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0004376/0.1479, allocations: 0.6541 MB / 0.9867 GB, free: 19.89 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008335/0.1488, allocations: 0.8182 MB / 0.9875 GB, free: 19.05 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001552/0.1489, allocations: 187.2 kB / 0.9877 GB, free: 18.87 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002249/0.1492, allocations: 239.1 kB / 0.9879 GB, free: 18.63 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.743e-05/0.1492, allocations: 16 kB / 0.9879 GB, free: 18.62 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003144/0.1495, allocations: 231.7 kB / 0.9881 GB, free: 18.39 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 9.03e-05/0.1496, allocations: 139.6 kB / 0.9883 GB, free: 18.25 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 5.252e-05/0.1497, allocations: 101.5 kB / 0.9884 GB, free: 18.15 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0004189/0.1501, allocations: 0.6662 MB / 0.989 GB, free: 17.48 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.1501, allocations: 4 kB / 0.989 GB, free: 17.48 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.253e-06/0.1501, allocations: 3.938 kB / 0.989 GB, free: 17.47 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.801e-06/0.1501, allocations: 4 kB / 0.989 GB, free: 17.47 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 81 * Number of variables: 81 Notification: Performance of Generate backend data structure: time 0.0007995/0.1509, allocations: 0.7092 MB / 0.9897 GB, free: 16.71 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 2.802e-05/0.151, allocations: 8.031 kB / 0.9897 GB, free: 16.7 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.642e-05/0.151, allocations: 74.7 kB / 0.9898 GB, free: 16.62 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002209/0.1532, allocations: 0.6945 MB / 0.9905 GB, free: 15.93 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005052/0.1538, allocations: 479.8 kB / 0.9909 GB, free: 15.42 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.622e-05/0.1538, allocations: 21.03 kB / 0.991 GB, free: 15.4 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.882e-05/0.1539, allocations: 39.86 kB / 0.991 GB, free: 15.36 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001113/0.155, allocations: 0.7826 MB / 0.9918 GB, free: 14.55 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.59e-05/0.155, allocations: 7.922 kB / 0.9918 GB, free: 14.54 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.795e-05/0.1551, allocations: 15.98 kB / 0.9918 GB, free: 14.52 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.72e-05/0.1552, allocations: 56.59 kB / 0.9918 GB, free: 14.46 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001511/0.1567, allocations: 0.8765 MB / 0.9927 GB, free: 13.59 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002574/0.1593, allocations: 2.858 MB / 0.9955 GB, free: 10.51 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001307/0.1606, allocations: 0.5176 MB / 0.996 GB, free: 9.98 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005442/0.1611, allocations: 264.6 kB / 0.9962 GB, free: 9.719 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 6.678e-05/0.1612, allocations: 89.09 kB / 0.9963 GB, free: 9.613 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.435e-05/0.1612, allocations: 34.56 kB / 0.9964 GB, free: 9.57 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=16): time 1.202e-06/0.1612, allocations: 0 / 0.9964 GB, free: 9.57 MB / 0.6198 GB Notification: Performance of matching and sorting (n=24): time 0.009141/0.1704, allocations: 3.209 MB / 0.9995 GB, free: 6.328 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.256e-05/0.1704, allocations: 81.11 kB / 0.9996 GB, free: 6.23 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003073/0.1707, allocations: 425.5 kB / 1 GB, free: 5.809 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.594e-05/0.1708, allocations: 25.7 kB / 1 GB, free: 5.777 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 8.883e-05/0.1709, allocations: 239.8 kB / 1 GB, free: 5.539 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.919e-05/0.1709, allocations: 86.75 kB / 1 GB, free: 5.453 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.407e-05/0.1709, allocations: 11.94 kB / 1 GB, free: 5.441 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.533e-05/0.171, allocations: 342.8 kB / 1.001 GB, free: 5.098 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007054/0.1717, allocations: 375.5 kB / 1.001 GB, free: 4.73 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000704/0.1724, allocations: 445.2 kB / 1.001 GB, free: 4.262 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00136/0.1738, allocations: 0.7748 MB / 1.002 GB, free: 3.461 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.303e-06/0.1738, allocations: 4 kB / 1.002 GB, free: 3.457 MB / 0.6198 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.004032/0.1778, allocations: 1.542 MB / 1.004 GB, free: 1.902 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 4.23e-05/0.1779, allocations: 148 kB / 1.004 GB, free: 1.727 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.569e-06/0.1779, allocations: 0 / 1.004 GB, free: 1.727 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003135/0.181, allocations: 0.848 MB / 1.005 GB, free: 0.8711 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004803/0.1815, allocations: 139.8 kB / 1.005 GB, free: 0.7344 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005599/0.1871, allocations: 4.676 MB / 1.009 GB, free: 11.79 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006103/0.1878, allocations: 115.8 kB / 1.009 GB, free: 11.68 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.954e-05/0.1878, allocations: 19.98 kB / 1.009 GB, free: 11.66 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 6.062e-06/0.1878, allocations: 4 kB / 1.009 GB, free: 11.65 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003917/0.1918, allocations: 1.257 MB / 1.011 GB, free: 10.39 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.845e-06/0.1918, allocations: 0 / 1.011 GB, free: 10.39 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002217/0.194, allocations: 0.5588 MB / 1.011 GB, free: 9.828 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005499/0.1946, allocations: 139.8 kB / 1.011 GB, free: 9.691 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003045/0.1976, allocations: 2.51 MB / 1.014 GB, free: 7.047 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006234/0.1982, allocations: 111.8 kB / 1.014 GB, free: 6.938 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.471e-05/0.1983, allocations: 20.05 kB / 1.014 GB, free: 6.918 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (29): * Single equations (assignments): 27 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 2} * Non-linear torn systems: 1 {2 2} Notification: Performance of prepare postOptimizeDAE: time 0.0002884/0.1986, allocations: 324.9 kB / 1.014 GB, free: 6.59 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.699e-05/0.1987, allocations: 31.62 kB / 1.014 GB, free: 6.559 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004122/0.2028, allocations: 1.416 MB / 1.016 GB, free: 5.125 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.649e-06/0.2028, allocations: 4 kB / 1.016 GB, free: 5.121 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.525e-06/0.2028, allocations: 4 kB / 1.016 GB, free: 5.117 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.2028, allocations: 3.938 kB / 1.016 GB, free: 5.113 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004683/0.2075, allocations: 2.102 MB / 1.018 GB, free: 2.934 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.847e-06/0.2075, allocations: 4 kB / 1.018 GB, free: 2.93 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003499/0.2079, allocations: 91.94 kB / 1.018 GB, free: 2.84 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003048/0.2109, allocations: 0.7895 MB / 1.019 GB, free: 2.043 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.701e-05/0.211, allocations: 7.984 kB / 1.019 GB, free: 2.035 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004877/0.2159, allocations: 4.481 MB / 1.023 GB, free: 13.29 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/0.2159, allocations: 0 / 1.023 GB, free: 13.29 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003812/0.2197, allocations: 1.439 MB / 1.024 GB, free: 11.82 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001828/0.2199, allocations: 168.9 kB / 1.025 GB, free: 11.63 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6e-05/0.22, allocations: 7.938 kB / 1.025 GB, free: 11.62 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005159/0.2205, allocations: 99.84 kB / 1.025 GB, free: 11.53 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.993e-05/0.2206, allocations: 31.89 kB / 1.025 GB, free: 11.5 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.598e-05/0.2206, allocations: 7.984 kB / 1.025 GB, free: 11.49 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.000316/0.2209, allocations: 311.1 kB / 1.025 GB, free: 11.19 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.41e-07/0.2209, allocations: 0 / 1.025 GB, free: 11.19 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0007233/0.2217, allocations: 208 kB / 1.025 GB, free: 10.98 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (19): * Single equations (assignments): 17 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 2} * Non-linear torn systems: 1 {2 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.004315/0.226, allocations: 2.007 MB / 1.027 GB, free: 8.934 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.003171/0.2292, allocations: 1.629 MB / 1.029 GB, free: 7.266 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.2292, allocations: 0 / 1.029 GB, free: 7.266 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.001111/0.2303, allocations: 0.6768 MB / 1.029 GB, free: 6.562 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005914/0.2309, allocations: 117.3 kB / 1.03 GB, free: 6.445 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00826/0.2392, allocations: 4.219 MB / 1.034 GB, free: 2.141 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00042/0.2396, allocations: 0.9132 MB / 1.035 GB, free: 1.203 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0004956/0.2401, allocations: 155.2 kB / 1.035 GB, free: 1.051 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002084/0.2403, allocations: 135.4 kB / 1.035 GB, free: 0.918 MB / 0.6511 GB Notification: Performance of SimCode: time 2.2e-07/0.2403, allocations: 0 / 1.035 GB, free: 0.918 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7863/1.027, allocations: 15.85 MB / 1.05 GB, free: 1.297 MB / 0.6667 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001973/1.027, allocations: 234.8 kB / 1.051 GB, free: 1.051 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.677/3.704, allocations: 0 / 1.051 GB, free: 1.051 MB / 0.6667 GB (rm -f Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACSimpleGrid_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACSimpleGrid.fmu > Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe 2>&1)