Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.conf.json 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: "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L,fileNamePrefix="Buildings_7_0_0_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_L",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.176/2.176, allocations: 251 MB / 265.9 MB, free: 11.7 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.001552/0.001553, allocations: 178.7 kB / 325.5 MB, free: 2.879 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.268/2.268, allocations: 205.4 MB / 0.5764 GB, free: 21.21 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.001233/0.001233, allocations: 99.3 kB / 0.6809 GB, free: 14.05 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004872/0.0004873, allocations: 15.09 kB / 0.795 GB, free: 135.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2134/0.214, allocations: 106.3 MB / 0.8988 GB, free: 65.91 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2809/0.4949, allocations: 154.8 MB / 1.05 GB, free: 6.879 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003683/0.4953, allocations: 99.88 kB / 1.05 GB, free: 6.781 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.7161/1.211, allocations: 37 MB / 1.086 GB, free: 146.7 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.526e-06/1.211, allocations: 0 / 1.086 GB, free: 146.7 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.376e-05/1.212, allocations: 21.69 kB / 1.086 GB, free: 146.7 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: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.002538/1.214, allocations: 0.9445 MB / 1.087 GB, free: 146 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.947e-05/1.214, allocations: 7.812 kB / 1.087 GB, free: 146 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003638/1.215, allocations: 125 kB / 1.087 GB, free: 145.9 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002655/1.217, allocations: 211.3 kB / 1.088 GB, free: 145.8 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001735/1.219, allocations: 0.5431 MB / 1.088 GB, free: 145.4 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.501e-05/1.219, allocations: 40.53 kB / 1.088 GB, free: 145.3 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002127/1.219, allocations: 68.75 kB / 1.088 GB, free: 145.3 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002253/1.222, allocations: 1.096 MB / 1.089 GB, free: 144.5 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.589e-05/1.222, allocations: 12.44 kB / 1.089 GB, free: 144.4 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000121/1.222, allocations: 25.56 kB / 1.089 GB, free: 144.4 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001173/1.222, allocations: 61.66 kB / 1.089 GB, free: 144.4 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001771/1.224, allocations: 0.6856 MB / 1.09 GB, free: 144.1 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006672/1.23, allocations: 5.772 MB / 1.096 GB, free: 138.2 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001248/1.232, allocations: 0.5924 MB / 1.096 GB, free: 137.5 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 5.965e-05/1.232, allocations: 4 kB / 1.096 GB, free: 137.5 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.203e-05/1.232, allocations: 34.56 kB / 1.096 GB, free: 137.5 MB / 0.698 GB Notification: Performance of pre-optimization done (n=41): time 2.845e-06/1.232, allocations: 0 / 1.096 GB, free: 137.5 MB / 0.698 GB Notification: Performance of matching and sorting (n=42): time 0.006366/1.238, allocations: 1.909 MB / 1.098 GB, free: 135.5 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.754e-05/1.238, allocations: 55.41 kB / 1.098 GB, free: 135.4 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006384/1.239, allocations: 393.9 kB / 1.099 GB, free: 135 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 8.145e-05/1.239, allocations: 33.7 kB / 1.099 GB, free: 135 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002222/1.239, allocations: 375.3 kB / 1.099 GB, free: 134.6 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001443/1.239, allocations: 157.7 kB / 1.099 GB, free: 134.4 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.917e-05/1.24, allocations: 16 kB / 1.099 GB, free: 134.4 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 9.98e-05/1.24, allocations: 366.7 kB / 1.099 GB, free: 134.1 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000496/1.24, allocations: 229 kB / 1.1 GB, free: 133.8 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005765/1.241, allocations: 409.3 kB / 1.1 GB, free: 133.4 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006102/1.241, allocations: 292.5 kB / 1.1 GB, free: 133.1 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.761e-06/1.241, allocations: 4 kB / 1.1 GB, free: 133.1 MB / 0.698 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.002667/1.244, allocations: 0.9561 MB / 1.101 GB, free: 132.1 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.112e-05/1.244, allocations: 9.875 kB / 1.101 GB, free: 132.1 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.507e-05/1.244, allocations: 8 kB / 1.101 GB, free: 132.1 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001411/1.246, allocations: 267.9 kB / 1.102 GB, free: 131.8 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006527/1.246, allocations: 91.88 kB / 1.102 GB, free: 131.7 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008075/1.254, allocations: 6.755 MB / 1.108 GB, free: 124.4 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007487/1.255, allocations: 31.97 kB / 1.108 GB, free: 124.4 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.847e-05/1.255, allocations: 24 kB / 1.108 GB, free: 124.4 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * 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 (51): * Single equations (assignments): 47 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(2,100.0%) 6,(1,100.0%) 5,(1,100.0%) 3,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004999/1.256, allocations: 242.8 kB / 1.108 GB, free: 124.1 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001305/1.256, allocations: 59.25 kB / 1.109 GB, free: 124.1 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002342/1.258, allocations: 0.834 MB / 1.109 GB, free: 123.2 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.144e-05/1.258, allocations: 8 kB / 1.109 GB, free: 123.2 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.228e-06/1.258, allocations: 4 kB / 1.109 GB, free: 123.2 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.627e-06/1.258, allocations: 0 / 1.109 GB, free: 123.2 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004187/1.263, allocations: 1.73 MB / 1.111 GB, free: 121.3 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.003e-06/1.263, allocations: 4.125 kB / 1.111 GB, free: 121.3 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004695/1.263, allocations: 51.95 kB / 1.111 GB, free: 121.3 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001273/1.264, allocations: 247.1 kB / 1.111 GB, free: 121 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.21e-05/1.264, allocations: 12 kB / 1.111 GB, free: 121 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00715/1.272, allocations: 6.46 MB / 1.118 GB, free: 114 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.268e-06/1.272, allocations: 4.031 kB / 1.118 GB, free: 114 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002319/1.274, allocations: 0.967 MB / 1.119 GB, free: 113 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003576/1.274, allocations: 168.4 kB / 1.119 GB, free: 112.8 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001038/1.275, allocations: 12 kB / 1.119 GB, free: 112.8 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004695/1.275, allocations: 19.97 kB / 1.119 GB, free: 112.8 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001521/1.275, allocations: 51.84 kB / 1.119 GB, free: 112.7 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.621e-05/1.275, allocations: 8 kB / 1.119 GB, free: 112.7 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0004464/1.276, allocations: 306.9 kB / 1.119 GB, free: 112.4 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.61e-07/1.276, allocations: 0 / 1.119 GB, free: 112.4 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001113/1.277, allocations: 196 kB / 1.119 GB, free: 112.2 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (27): * Single equations (assignments): 23 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(2,100.0%) 2,(1,100.0%) 3,(1,100.0%) 5,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002655/1.279, allocations: 1.943 MB / 1.121 GB, free: 110.2 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002418/1.282, allocations: 1.132 MB / 1.122 GB, free: 109 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 7.775e-06/1.282, allocations: 0 / 1.122 GB, free: 109 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001581/1.284, allocations: 0.7956 MB / 1.123 GB, free: 108.2 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001443/1.285, allocations: 169.3 kB / 1.123 GB, free: 108 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008511/1.294, allocations: 7.768 MB / 1.131 GB, free: 100 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005863/1.294, allocations: 1 MB / 1.132 GB, free: 99.01 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0005793/1.295, allocations: 109.3 kB / 1.132 GB, free: 98.91 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003581/1.295, allocations: 223.4 kB / 1.132 GB, free: 98.69 MB / 0.698 GB Notification: Performance of SimCode: time 1.082e-06/1.295, allocations: 0 / 1.132 GB, free: 98.69 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04773/1.343, allocations: 13.96 MB / 1.146 GB, free: 84.97 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002254/1.343, allocations: 206.8 kB / 1.146 GB, free: 84.73 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.778/4.121, allocations: 6.609 kB / 1.146 GB, free: 84.73 MB / 0.698 GB