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.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,fileNamePrefix="Buildings_7_0_0_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine",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.287/2.287, allocations: 248.7 MB / 256.2 MB, free: 6.996 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.001488/0.001488, allocations: 190 kB / 315.4 MB, free: 3.992 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.091/2.091, allocations: 205.3 MB / 0.5662 GB, free: 0.543 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001477/0.001477, allocations: 82.55 kB / 0.6704 GB, free: 5.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.465e-05/2.48e-05, allocations: 4 kB / 0.7803 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2118/0.2118, allocations: 106.3 MB / 0.8841 GB, free: 12.96 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9381/1.15, allocations: 173.6 MB / 1.054 GB, free: 15.62 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000366/1.15, allocations: 98.42 kB / 1.054 GB, free: 15.57 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.3348/1.485, allocations: 77.23 MB / 1.129 GB, free: 11.8 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.215e-06/1.485, allocations: 4 kB / 1.129 GB, free: 11.79 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 0.000151/1.485, allocations: 43.98 kB / 1.129 GB, free: 11.75 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: 315 * Number of variables: 315 Notification: Performance of Generate backend data structure: time 0.004738/1.49, allocations: 1.532 MB / 1.131 GB, free: 10.17 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.895e-05/1.49, allocations: 12.03 kB / 1.131 GB, free: 10.16 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0187/1.509, allocations: 1.811 MB / 1.132 GB, free: 8.34 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004412/1.513, allocations: 1.146 MB / 1.134 GB, free: 7.137 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.116e-05/1.514, allocations: 36 kB / 1.134 GB, free: 7.102 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003888/1.514, allocations: 71.94 kB / 1.134 GB, free: 7.031 MB / 0.7448 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004359/1.518, allocations: 1.434 MB / 1.135 GB, free: 5.594 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005299/1.524, allocations: 1.876 MB / 1.137 GB, free: 3.531 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.355e-05/1.524, allocations: 11.84 kB / 1.137 GB, free: 3.52 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002655/1.524, allocations: 7.953 kB / 1.137 GB, free: 3.512 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001748/1.524, allocations: 78.19 kB / 1.137 GB, free: 3.434 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0254/1.55, allocations: 9.911 MB / 1.147 GB, free: 8.875 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004994/1.555, allocations: 1.113 MB / 1.148 GB, free: 7.734 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002196/1.557, allocations: 0.5761 MB / 1.148 GB, free: 7.156 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001022/1.557, allocations: 4.438 kB / 1.148 GB, free: 7.152 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.624e-05/1.557, allocations: 46.95 kB / 1.148 GB, free: 7.098 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=53): time 5.771e-06/1.557, allocations: 3.938 kB / 1.148 GB, free: 7.094 MB / 0.7605 GB Notification: Performance of matching and sorting (n=81): time 0.02396/1.581, allocations: 3.885 MB / 1.152 GB, free: 3.172 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001874/1.582, allocations: 214.4 kB / 1.152 GB, free: 2.914 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002247/1.584, allocations: 0.7461 MB / 1.153 GB, free: 2.156 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 0.0003371/1.584, allocations: 25.7 kB / 1.153 GB, free: 2.125 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.001089/1.585, allocations: 0.7446 MB / 1.154 GB, free: 1.371 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006516/1.586, allocations: 275.9 kB / 1.154 GB, free: 1.098 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001962/1.586, allocations: 0 / 1.154 GB, free: 1.098 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0002326/1.586, allocations: 338 kB / 1.154 GB, free: 0.7617 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002205/1.589, allocations: 0.6742 MB / 1.155 GB, free: 88 kB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002622/1.591, allocations: 0.9189 MB / 1.156 GB, free: 15.06 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003468/1.595, allocations: 0.7698 MB / 1.157 GB, free: 14.29 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.74e-05/1.595, allocations: 4 kB / 1.157 GB, free: 14.29 MB / 0.7761 GB Notification: Performance of matching and sorting (n=114) (initialization): time 0.01292/1.608, allocations: 2.425 MB / 1.159 GB, free: 11.83 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 3.608e-05/1.608, allocations: 8 kB / 1.159 GB, free: 11.82 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.716e-05/1.608, allocations: 11.95 kB / 1.159 GB, free: 11.81 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005518/1.614, allocations: 0.8464 MB / 1.16 GB, free: 10.94 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003879/1.618, allocations: 415.3 kB / 1.16 GB, free: 10.54 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02712/1.645, allocations: 14.32 MB / 1.174 GB, free: 11.29 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004241/1.649, allocations: 287.6 kB / 1.175 GB, free: 11.01 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004377/1.649, allocations: 55.94 kB / 1.175 GB, free: 10.96 MB / 0.7917 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (78): * Single equations (assignments): 70 * 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: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 8 {(3,100.0%) 5,(3,100.0%) 5,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004389/1.65, allocations: 132.7 kB / 1.175 GB, free: 10.82 MB / 0.7917 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.008551/1.658, allocations: 2.234 MB / 1.177 GB, free: 8.551 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006713/1.659, allocations: 134.5 kB / 1.177 GB, free: 8.418 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009077/1.668, allocations: 2.416 MB / 1.18 GB, free: 5.961 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.373e-05/1.668, allocations: 12 kB / 1.18 GB, free: 5.949 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.482e-05/1.668, allocations: 8 kB / 1.18 GB, free: 5.941 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.936e-05/1.668, allocations: 3.984 kB / 1.18 GB, free: 5.938 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01385/1.682, allocations: 4.004 MB / 1.183 GB, free: 1.828 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.651e-05/1.682, allocations: 8.031 kB / 1.183 GB, free: 1.82 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00336/1.686, allocations: 363.3 kB / 1.184 GB, free: 1.465 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004938/1.691, allocations: 0.7599 MB / 1.185 GB, free: 0.6797 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002524/1.691, allocations: 15.97 kB / 1.185 GB, free: 0.6641 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02444/1.715, allocations: 13.93 MB / 1.198 GB, free: 1.82 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-05/1.716, allocations: 4.062 kB / 1.198 GB, free: 1.816 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01254/1.728, allocations: 2.431 MB / 1.201 GB, free: 15.26 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001955/1.73, allocations: 379.5 kB / 1.201 GB, free: 14.87 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005631/1.731, allocations: 8 kB / 1.201 GB, free: 14.86 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005875/1.737, allocations: 291.5 kB / 1.201 GB, free: 14.57 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006299/1.737, allocations: 84.55 kB / 1.201 GB, free: 14.49 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002988/1.738, allocations: 35.97 kB / 1.201 GB, free: 14.46 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.001959/1.74, allocations: 0.5641 MB / 1.202 GB, free: 13.89 MB / 0.823 GB Notification: Performance of sort global known variables: time 1.232e-06/1.74, allocations: 7.938 kB / 1.202 GB, free: 13.88 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.004082/1.744, allocations: 415.9 kB / 1.202 GB, free: 13.47 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (46): * Single equations (assignments): 38 * 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: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 8 {(2,100.0%) 2,(2,100.0%) 4,(3,100.0%) 5,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(3,100.0%) 5,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01376/1.758, allocations: 3.74 MB / 1.206 GB, free: 9.602 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.01008/1.768, allocations: 2.733 MB / 1.209 GB, free: 6.793 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 8.265e-06/1.768, allocations: 0 / 1.209 GB, free: 6.793 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.005203/1.773, allocations: 1.907 MB / 1.21 GB, free: 4.805 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003484/1.777, allocations: 419.4 kB / 1.211 GB, free: 4.395 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01304/1.79, allocations: 2.956 MB / 1.214 GB, free: 1.355 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001674/1.791, allocations: 1.415 MB / 1.215 GB, free: 15.9 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.002871/1.794, allocations: 358.5 kB / 1.215 GB, free: 15.55 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00151/1.796, allocations: 0.5812 MB / 1.216 GB, free: 14.96 MB / 0.8386 GB Notification: Performance of SimCode: time 1.002e-06/1.796, allocations: 0 / 1.216 GB, free: 14.96 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1278/1.924, allocations: 37.22 MB / 1.252 GB, free: 10.04 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002947/1.924, allocations: 151.5 kB / 1.253 GB, free: 9.836 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.568/5.492, allocations: 0 / 1.253 GB, free: 9.836 MB / 0.8698 GB