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.22/2.22, allocations: 248.5 MB / 261.1 MB, free: 5.934 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.001531/0.00153, allocations: 179.1 kB / 320.4 MB, free: 15.35 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.94/1.94, allocations: 205.2 MB / 0.571 GB, free: 11.75 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.00111/0.00111, allocations: 90.47 kB / 0.6754 GB, free: 0.8438 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.561e-05/3.564e-05, allocations: 4 kB / 0.7869 GB, free: 97.8 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1926/0.1927, allocations: 106.3 MB / 0.8907 GB, free: 7.441 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9819/1.175, allocations: 154.8 MB / 1.042 GB, free: 14.17 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004759/1.175, allocations: 89.62 kB / 1.042 GB, free: 14.12 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 0.1557/1.331, allocations: 36.79 MB / 1.078 GB, free: 15.14 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.545e-06/1.331, allocations: 0 / 1.078 GB, free: 15.14 MB / 0.698 GB Notification: Performance of Transformations before backend: time 9.328e-05/1.331, allocations: 20 kB / 1.078 GB, free: 15.12 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.003304/1.334, allocations: 0.8703 MB / 1.079 GB, free: 14.26 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 7.72e-05/1.335, allocations: 16.02 kB / 1.079 GB, free: 14.24 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003104/1.335, allocations: 113.3 kB / 1.079 GB, free: 14.16 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002479/1.337, allocations: 210.8 kB / 1.079 GB, free: 13.95 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001698/1.339, allocations: 0.5396 MB / 1.08 GB, free: 13.44 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.801e-05/1.339, allocations: 47.05 kB / 1.08 GB, free: 13.41 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001762/1.339, allocations: 61.55 kB / 1.08 GB, free: 13.37 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002272/1.342, allocations: 1.076 MB / 1.081 GB, free: 12.4 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.109e-05/1.342, allocations: 3.938 kB / 1.081 GB, free: 12.4 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001114/1.342, allocations: 35.8 kB / 1.081 GB, free: 12.38 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001282/1.342, allocations: 56.53 kB / 1.081 GB, free: 12.33 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001787/1.344, allocations: 0.6779 MB / 1.081 GB, free: 11.86 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008343/1.352, allocations: 5.782 MB / 1.087 GB, free: 6.199 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001324/1.354, allocations: 0.584 MB / 1.088 GB, free: 5.723 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001119/1.355, allocations: 400.1 kB / 1.088 GB, free: 5.445 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 6.554e-05/1.355, allocations: 4 kB / 1.088 GB, free: 5.441 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.157e-05/1.355, allocations: 34.5 kB / 1.088 GB, free: 5.402 MB / 0.698 GB Notification: Performance of pre-optimization done (n=41): time 3.647e-06/1.355, allocations: 4 kB / 1.088 GB, free: 5.398 MB / 0.698 GB Notification: Performance of matching and sorting (n=42): time 0.003868/1.359, allocations: 1.217 MB / 1.089 GB, free: 4.191 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.857e-05/1.359, allocations: 55.41 kB / 1.089 GB, free: 4.125 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007108/1.36, allocations: 388.6 kB / 1.09 GB, free: 3.746 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 8.669e-05/1.36, allocations: 33.7 kB / 1.09 GB, free: 3.707 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003409/1.36, allocations: 375.2 kB / 1.09 GB, free: 3.332 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002043/1.36, allocations: 149.9 kB / 1.09 GB, free: 3.184 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.646e-05/1.36, allocations: 12 kB / 1.09 GB, free: 3.172 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001931/1.36, allocations: 366.7 kB / 1.091 GB, free: 2.805 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006022/1.361, allocations: 233 kB / 1.091 GB, free: 2.578 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007562/1.362, allocations: 417.4 kB / 1.091 GB, free: 2.082 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007606/1.363, allocations: 304.5 kB / 1.092 GB, free: 1.785 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.007e-06/1.363, allocations: 4 kB / 1.092 GB, free: 1.781 MB / 0.698 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.003167/1.366, allocations: 1.007 MB / 1.093 GB, free: 0.7539 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.343e-05/1.366, allocations: 8 kB / 1.093 GB, free: 0.7461 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.079e-05/1.366, allocations: 12.69 kB / 1.093 GB, free: 0.7344 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001751/1.368, allocations: 319.1 kB / 1.093 GB, free: 420 kB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006372/1.368, allocations: 87.83 kB / 1.093 GB, free: 332 kB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01065/1.379, allocations: 7.094 MB / 1.1 GB, free: 8.672 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007449/1.38, allocations: 27.97 kB / 1.1 GB, free: 8.645 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.647e-05/1.38, allocations: 24.09 kB / 1.1 GB, free: 8.621 MB / 0.7136 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 (49): * Single equations (assignments): 45 * 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%) 8,(1,100.0%) 5,(1,100.0%) 3,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000206/1.38, allocations: 142.2 kB / 1.1 GB, free: 8.477 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001374/1.38, allocations: 55.34 kB / 1.1 GB, free: 8.422 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00285/1.383, allocations: 0.8923 MB / 1.101 GB, free: 7.512 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.181e-05/1.383, allocations: 4 kB / 1.101 GB, free: 7.508 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.047e-06/1.383, allocations: 7.984 kB / 1.101 GB, free: 7.5 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.347e-06/1.383, allocations: 7.984 kB / 1.101 GB, free: 7.492 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00492/1.388, allocations: 1.855 MB / 1.103 GB, free: 5.523 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.178e-06/1.388, allocations: 4 kB / 1.103 GB, free: 5.52 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003512/1.389, allocations: 43.97 kB / 1.103 GB, free: 5.477 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001478/1.39, allocations: 279.2 kB / 1.103 GB, free: 5.191 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.825e-05/1.39, allocations: 8 kB / 1.103 GB, free: 5.184 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009503/1.4, allocations: 6.821 MB / 1.11 GB, free: 13.8 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.664e-06/1.4, allocations: 12.08 kB / 1.11 GB, free: 13.79 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002728/1.402, allocations: 1.002 MB / 1.111 GB, free: 12.7 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004072/1.403, allocations: 168.4 kB / 1.111 GB, free: 12.51 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001051/1.403, allocations: 11.98 kB / 1.111 GB, free: 12.5 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004824/1.404, allocations: 19.98 kB / 1.111 GB, free: 12.48 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001903/1.404, allocations: 47.88 kB / 1.111 GB, free: 12.43 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.495e-05/1.404, allocations: 12 kB / 1.111 GB, free: 12.42 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0005178/1.404, allocations: 301.5 kB / 1.111 GB, free: 12.13 MB / 0.7292 GB Notification: Performance of sort global known variables: time 4.61e-07/1.404, allocations: 0 / 1.111 GB, free: 12.13 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.001133/1.405, allocations: 192 kB / 1.111 GB, free: 11.94 MB / 0.7292 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 21 * 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 {(1,100.0%) 7,(2,100.0%) 2,(1,100.0%) 3,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00322/1.409, allocations: 1.963 MB / 1.113 GB, free: 9.895 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.003892/1.413, allocations: 1.144 MB / 1.115 GB, free: 8.695 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 7.524e-06/1.413, allocations: 0 / 1.115 GB, free: 8.695 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.002109/1.415, allocations: 0.8188 MB / 1.115 GB, free: 7.824 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001615/1.416, allocations: 178.1 kB / 1.115 GB, free: 7.652 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003281/1.42, allocations: 1.05 MB / 1.116 GB, free: 6.547 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000832/1.421, allocations: 1.008 MB / 1.117 GB, free: 5.512 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0005736/1.421, allocations: 101.1 kB / 1.118 GB, free: 5.41 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004044/1.422, allocations: 219.4 kB / 1.118 GB, free: 5.195 MB / 0.7292 GB Notification: Performance of SimCode: time 1.412e-06/1.422, allocations: 0 / 1.118 GB, free: 5.195 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05159/1.473, allocations: 14.02 MB / 1.131 GB, free: 7.395 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003075/1.474, allocations: 190.9 kB / 1.132 GB, free: 7.16 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.801/4.275, allocations: 4 kB / 1.132 GB, free: 7.156 MB / 0.7448 GB