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_R.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_R,fileNamePrefix="Buildings_7_0_0_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_R",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.131/2.131, allocations: 251 MB / 265.9 MB, free: 11.71 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.001545/0.001545, allocations: 177 kB / 325.5 MB, free: 2.93 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.354/2.354, allocations: 205.4 MB / 0.5764 GB, free: 21.19 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.00166/0.00166, allocations: 99.36 kB / 0.6809 GB, free: 14.09 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0005121/0.000512, allocations: 12.59 kB / 0.7951 GB, free: 135.8 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2127/0.2133, allocations: 106.3 MB / 0.8988 GB, free: 65.99 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2691/0.4825, allocations: 153.6 MB / 1.049 GB, free: 8.172 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003692/0.4829, allocations: 95.94 kB / 1.049 GB, free: 8.078 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.7205/1.203, allocations: 36.74 MB / 1.085 GB, free: 147.2 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.835e-06/1.203, allocations: 4 kB / 1.085 GB, free: 147.2 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.478e-05/1.203, allocations: 24.25 kB / 1.085 GB, free: 147.2 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: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.002568/1.206, allocations: 1.045 MB / 1.086 GB, free: 146.4 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.515e-05/1.206, allocations: 7.438 kB / 1.086 GB, free: 146.4 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002533/1.206, allocations: 123.2 kB / 1.086 GB, free: 146.3 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002417/1.209, allocations: 234.5 kB / 1.086 GB, free: 146.2 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00138/1.21, allocations: 0.5417 MB / 1.087 GB, free: 145.8 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.771e-05/1.21, allocations: 51.09 kB / 1.087 GB, free: 145.7 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001551/1.21, allocations: 67.72 kB / 1.087 GB, free: 145.7 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002221/1.213, allocations: 1.135 MB / 1.088 GB, free: 144.8 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.251e-05/1.213, allocations: 11.81 kB / 1.088 GB, free: 144.8 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001251/1.213, allocations: 35.56 kB / 1.088 GB, free: 144.8 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001037/1.213, allocations: 58.25 kB / 1.088 GB, free: 144.8 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001771/1.215, allocations: 0.7476 MB / 1.089 GB, free: 144.4 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007137/1.222, allocations: 5.915 MB / 1.095 GB, free: 138.9 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001478/1.223, allocations: 0.5532 MB / 1.095 GB, free: 138.5 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 6.207e-05/1.224, allocations: 4.438 kB / 1.095 GB, free: 138.5 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.833e-05/1.224, allocations: 39 kB / 1.095 GB, free: 138.5 MB / 0.698 GB Notification: Performance of pre-optimization done (n=47): time 3.076e-06/1.224, allocations: 0 / 1.095 GB, free: 138.5 MB / 0.698 GB Notification: Performance of matching and sorting (n=48): time 0.005875/1.23, allocations: 1.976 MB / 1.097 GB, free: 136.4 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.239e-05/1.23, allocations: 55.84 kB / 1.097 GB, free: 136.3 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007527/1.23, allocations: 499.1 kB / 1.098 GB, free: 135.9 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 7.734e-05/1.23, allocations: 33.7 kB / 1.098 GB, free: 135.8 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002369/1.231, allocations: 399.1 kB / 1.098 GB, free: 135.4 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.000152/1.231, allocations: 169.3 kB / 1.098 GB, free: 135.3 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.38e-05/1.231, allocations: 20 kB / 1.098 GB, free: 135.2 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001063/1.231, allocations: 370.8 kB / 1.099 GB, free: 134.9 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006049/1.232, allocations: 269.2 kB / 1.099 GB, free: 134.6 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007314/1.232, allocations: 462.8 kB / 1.099 GB, free: 134.1 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007517/1.233, allocations: 334 kB / 1.1 GB, free: 133.7 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.961e-06/1.233, allocations: 4 kB / 1.1 GB, free: 133.7 MB / 0.698 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.00277/1.236, allocations: 1.063 MB / 1.101 GB, free: 132.7 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.551e-05/1.236, allocations: 8 kB / 1.101 GB, free: 132.7 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.353e-05/1.236, allocations: 7.938 kB / 1.101 GB, free: 132.6 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001339/1.237, allocations: 283.6 kB / 1.101 GB, free: 132.4 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008758/1.238, allocations: 115.8 kB / 1.101 GB, free: 132.2 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007735/1.246, allocations: 6.693 MB / 1.108 GB, free: 125 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001102/1.247, allocations: 48.02 kB / 1.108 GB, free: 125 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.048e-05/1.247, allocations: 24 kB / 1.108 GB, free: 125 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 (63): * Single equations (assignments): 59 * 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,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005544/1.248, allocations: 245.6 kB / 1.108 GB, free: 124.7 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001675/1.248, allocations: 71.16 kB / 1.108 GB, free: 124.6 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002472/1.251, allocations: 0.8924 MB / 1.109 GB, free: 123.7 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.122e-05/1.251, allocations: 4 kB / 1.109 GB, free: 123.7 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.596e-06/1.251, allocations: 4 kB / 1.109 GB, free: 123.7 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.067e-05/1.251, allocations: 3.984 kB / 1.109 GB, free: 123.7 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004128/1.255, allocations: 1.717 MB / 1.11 GB, free: 121.9 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.463e-06/1.255, allocations: 192 / 1.11 GB, free: 121.9 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004894/1.255, allocations: 63.89 kB / 1.111 GB, free: 121.9 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001265/1.257, allocations: 267.2 kB / 1.111 GB, free: 121.6 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.141e-05/1.257, allocations: 7.953 kB / 1.111 GB, free: 121.6 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007533/1.264, allocations: 6.697 MB / 1.117 GB, free: 114.3 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.597e-06/1.264, allocations: 4.031 kB / 1.117 GB, free: 114.3 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00241/1.267, allocations: 1.044 MB / 1.118 GB, free: 113.2 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000398/1.267, allocations: 192.2 kB / 1.119 GB, free: 113 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001284/1.267, allocations: 12 kB / 1.119 GB, free: 113 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006244/1.268, allocations: 35.89 kB / 1.119 GB, free: 113 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00015/1.268, allocations: 51.84 kB / 1.119 GB, free: 112.9 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.423e-05/1.268, allocations: 12 kB / 1.119 GB, free: 112.9 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0005825/1.269, allocations: 383.1 kB / 1.119 GB, free: 112.5 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.91e-07/1.269, allocations: 0 / 1.119 GB, free: 112.5 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001047/1.27, allocations: 227.9 kB / 1.119 GB, free: 112.3 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 (31): * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 6,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002517/1.272, allocations: 2.028 MB / 1.121 GB, free: 110.2 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.003539/1.276, allocations: 1.252 MB / 1.122 GB, free: 108.9 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.091e-05/1.276, allocations: 128 / 1.122 GB, free: 108.9 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.002911/1.279, allocations: 0.8934 MB / 1.123 GB, free: 108 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002722/1.282, allocations: 188.3 kB / 1.123 GB, free: 107.8 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01436/1.296, allocations: 8.281 MB / 1.132 GB, free: 99.27 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009042/1.297, allocations: 1.024 MB / 1.133 GB, free: 98.22 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001135/1.298, allocations: 121.9 kB / 1.133 GB, free: 98.1 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000637/1.299, allocations: 251.4 kB / 1.133 GB, free: 97.86 MB / 0.698 GB Notification: Performance of SimCode: time 1.924e-06/1.299, allocations: 0 / 1.133 GB, free: 97.86 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07057/1.369, allocations: 16.26 MB / 1.149 GB, free: 81.89 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002043/1.37, allocations: 210.5 kB / 1.149 GB, free: 81.65 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.104/4.473, allocations: 4 kB / 1.149 GB, free: 81.65 MB / 0.698 GB