Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACSimpleGrid",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid,fileNamePrefix="Buildings_maint_8_0_x_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.1-maint.8.0.x/package.mo): time 1.768/1.768, allocations: 285.6 MB / 293.1 MB, free: 10.23 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.001002/0.001001, allocations: 172.9 kB / 361.4 MB, free: 6.852 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.652/1.652, allocations: 205.2 MB / 0.62 GB, free: 11.68 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008013/0.0008013, allocations: 96.41 kB / 0.733 GB, free: 44.19 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.277e-05/4.316e-05, allocations: 4 kB / 0.8518 GB, free: 2.656 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7437/0.7438, allocations: 115.3 MB / 0.9645 GB, free: 78.7 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.3321/1.076, allocations: 181.2 MB / 1.141 GB, free: 6.488 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003832/1.076, allocations: 101.1 kB / 1.141 GB, free: 6.391 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.108/1.184, allocations: 28.51 MB / 1.169 GB, free: 9.766 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.913e-06/1.184, allocations: 0 / 1.169 GB, free: 9.766 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 5.844e-05/1.185, allocations: 8 kB / 1.169 GB, free: 9.758 MB / 0.7761 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.001812/1.186, allocations: 0.6891 MB / 1.17 GB, free: 9.023 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.95e-05/1.186, allocations: 8.031 kB / 1.17 GB, free: 9.016 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004276/1.191, allocations: 0.5737 MB / 1.171 GB, free: 8.441 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001339/1.192, allocations: 470.7 kB / 1.171 GB, free: 7.938 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.004e-05/1.192, allocations: 12 kB / 1.171 GB, free: 7.926 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001344/1.192, allocations: 16 kB / 1.171 GB, free: 7.91 MB / 0.7761 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00129/1.194, allocations: 465.3 kB / 1.171 GB, free: 7.457 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001307/1.195, allocations: 0.5464 MB / 1.172 GB, free: 6.883 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.576e-05/1.195, allocations: 9.562 kB / 1.172 GB, free: 6.875 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.223e-05/1.195, allocations: 0 / 1.172 GB, free: 6.875 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.714e-05/1.195, allocations: 24.7 kB / 1.172 GB, free: 6.852 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005751/1.201, allocations: 2.779 MB / 1.175 GB, free: 3.863 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001198/1.202, allocations: 350.3 kB / 1.175 GB, free: 3.512 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003573/1.203, allocations: 156.7 kB / 1.175 GB, free: 3.355 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001631/1.203, allocations: 93.08 kB / 1.175 GB, free: 3.246 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.743e-05/1.203, allocations: 34.56 kB / 1.175 GB, free: 3.203 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=16): time 3.547e-06/1.203, allocations: 0 / 1.175 GB, free: 3.203 MB / 0.7761 GB Notification: Performance of matching and sorting (n=24): time 0.006949/1.21, allocations: 1.534 MB / 1.177 GB, free: 1.656 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.85e-05/1.21, allocations: 81.11 kB / 1.177 GB, free: 1.559 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007006/1.211, allocations: 333 kB / 1.177 GB, free: 1.223 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 7.834e-05/1.211, allocations: 25.7 kB / 1.177 GB, free: 1.191 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002518/1.211, allocations: 232 kB / 1.178 GB, free: 0.9609 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.000143/1.211, allocations: 82.84 kB / 1.178 GB, free: 0.8789 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.669e-05/1.211, allocations: 4 kB / 1.178 GB, free: 0.875 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001835/1.211, allocations: 344.3 kB / 1.178 GB, free: 0.5312 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005056/1.212, allocations: 243.8 kB / 1.178 GB, free: 300 kB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005969/1.213, allocations: 313.5 kB / 1.178 GB, free: 15.95 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008642/1.213, allocations: 295.6 kB / 1.179 GB, free: 15.67 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.027e-06/1.213, allocations: 0 / 1.179 GB, free: 15.67 MB / 0.7917 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.004239/1.218, allocations: 1.055 MB / 1.18 GB, free: 14.6 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004235/1.218, allocations: 0.7901 MB / 1.181 GB, free: 13.75 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.524e-05/1.218, allocations: 3.984 kB / 1.181 GB, free: 13.75 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003131/1.221, allocations: 485 kB / 1.181 GB, free: 13.27 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009597/1.222, allocations: 134.3 kB / 1.181 GB, free: 13.14 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005499/1.228, allocations: 3.006 MB / 1.184 GB, free: 9.984 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001129/1.229, allocations: 115.9 kB / 1.184 GB, free: 9.871 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.869e-05/1.229, allocations: 12 kB / 1.184 GB, free: 9.859 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 1.798e-05/1.229, allocations: 4.938 kB / 1.184 GB, free: 9.855 MB / 0.7917 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001369/1.231, allocations: 471.7 kB / 1.185 GB, free: 9.395 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.508e-06/1.231, allocations: 4 kB / 1.185 GB, free: 9.391 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.524e-05/1.231, allocations: 10.78 kB / 1.185 GB, free: 9.383 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001061/1.232, allocations: 147.8 kB / 1.185 GB, free: 9.238 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.053e-05/1.232, allocations: 4 kB / 1.185 GB, free: 9.234 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009455/1.233, allocations: 93.8 kB / 1.185 GB, free: 9.145 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.849e-05/1.233, allocations: 19.98 kB / 1.185 GB, free: 9.125 MB / 0.7917 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 () * 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.000221/1.233, allocations: 110.8 kB / 1.185 GB, free: 9.012 MB / 0.7917 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.004252/1.237, allocations: 1.05 MB / 1.186 GB, free: 7.949 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002036/1.237, allocations: 31.62 kB / 1.186 GB, free: 7.918 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004375/1.242, allocations: 1.1 MB / 1.187 GB, free: 6.809 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.174e-05/1.242, allocations: 4 kB / 1.187 GB, free: 6.805 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.053e-06/1.242, allocations: 7.938 kB / 1.187 GB, free: 6.797 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.027e-05/1.242, allocations: 192 / 1.187 GB, free: 6.797 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005763/1.248, allocations: 1.717 MB / 1.189 GB, free: 5.023 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.924e-06/1.248, allocations: 3.984 kB / 1.189 GB, free: 5.02 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005912/1.248, allocations: 83.84 kB / 1.189 GB, free: 4.938 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003491/1.252, allocations: 0.6181 MB / 1.19 GB, free: 4.312 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.288e-05/1.252, allocations: 1.312 kB / 1.19 GB, free: 4.312 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007734/1.26, allocations: 4.22 MB / 1.194 GB, free: 15.86 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.758e-06/1.26, allocations: 0 / 1.194 GB, free: 15.86 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004498/1.264, allocations: 1.154 MB / 1.195 GB, free: 14.66 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003598/1.265, allocations: 164.7 kB / 1.195 GB, free: 14.48 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001231/1.265, allocations: 8 kB / 1.195 GB, free: 14.47 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001078/1.266, allocations: 113.7 kB / 1.195 GB, free: 14.36 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001433/1.266, allocations: 15.97 kB / 1.195 GB, free: 14.35 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.14e-05/1.266, allocations: 15.98 kB / 1.195 GB, free: 14.33 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.0004587/1.267, allocations: 260.6 kB / 1.195 GB, free: 14.08 MB / 0.8073 GB Notification: Performance of sort global known variables: time 2.51e-07/1.267, allocations: 4 kB / 1.195 GB, free: 14.07 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.001324/1.268, allocations: 193.4 kB / 1.196 GB, free: 13.89 MB / 0.8073 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 () * 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.004941/1.273, allocations: 1.985 MB / 1.197 GB, free: 11.85 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.002595/1.275, allocations: 0.9642 MB / 1.198 GB, free: 10.87 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 4.318e-06/1.276, allocations: 0 / 1.198 GB, free: 10.87 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.001264/1.277, allocations: 0.5585 MB / 1.199 GB, free: 10.29 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008917/1.278, allocations: 113.2 kB / 1.199 GB, free: 10.19 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002599/1.28, allocations: 0.8795 MB / 1.2 GB, free: 9.266 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006719/1.281, allocations: 0.9249 MB / 1.201 GB, free: 8.312 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.001203/1.282, allocations: 227.1 kB / 1.201 GB, free: 8.105 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003343/1.283, allocations: 131.4 kB / 1.201 GB, free: 7.977 MB / 0.8073 GB Notification: Performance of SimCode: time 1.132e-06/1.283, allocations: 0 / 1.201 GB, free: 7.977 MB / 0.8073 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04657/1.329, allocations: 13.58 MB / 1.214 GB, free: 10.59 MB / 0.823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001891/1.329, allocations: 161.4 kB / 1.215 GB, free: 10.4 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.52/3.85, allocations: 2.188 kB / 1.215 GB, free: 10.4 MB / 0.823 GB (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACSimpleGrid_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACSimpleGrid.fmu > Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe 2>&1)