Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.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.Loads.Examples.ThreePhases,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_AC_OnePhase_Loads_Examples_ThreePhases",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_AC_OnePhase_Loads_Examples_ThreePhases",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.737/1.737, allocations: 285.6 MB / 293.1 MB, free: 10.14 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.001043/0.001043, allocations: 184.4 kB / 361.4 MB, free: 6.801 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.622/1.622, allocations: 205.3 MB / 0.62 GB, free: 11.64 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.0008629/0.0008628, allocations: 91.11 kB / 0.733 GB, free: 44.18 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.327e-05/2.337e-05, allocations: 4 kB / 0.8518 GB, free: 2.633 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7609/0.7609, allocations: 115.3 MB / 0.9645 GB, free: 78.64 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2642/1.025, allocations: 153 MB / 1.114 GB, free: 2.691 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004087/1.026, allocations: 90.5 kB / 1.114 GB, free: 2.605 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.1042/1.13, allocations: 27.44 MB / 1.141 GB, free: 7.07 MB / 0.7448 GB Notification: Performance of FrontEnd: time 3.807e-06/1.13, allocations: 0 / 1.141 GB, free: 7.07 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.809e-05/1.13, allocations: 15.98 kB / 1.141 GB, free: 7.055 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: 99 * Number of variables: 99 Notification: Performance of Generate backend data structure: time 0.001715/1.132, allocations: 0.6851 MB / 1.141 GB, free: 6.324 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 6.464e-05/1.132, allocations: 8.031 kB / 1.141 GB, free: 6.316 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002294/1.134, allocations: 180.2 kB / 1.142 GB, free: 6.141 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000891/1.135, allocations: 395.3 kB / 1.142 GB, free: 5.719 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.12e-05/1.135, allocations: 14.5 kB / 1.142 GB, free: 5.707 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.854e-05/1.135, allocations: 27.94 kB / 1.142 GB, free: 5.68 MB / 0.7448 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008755/1.136, allocations: 350 kB / 1.142 GB, free: 5.332 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001271/1.137, allocations: 0.6356 MB / 1.143 GB, free: 4.582 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.96e-05/1.138, allocations: 3.938 kB / 1.143 GB, free: 4.578 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.356e-05/1.138, allocations: 4 kB / 1.143 GB, free: 4.574 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001096/1.138, allocations: 51.91 kB / 1.143 GB, free: 4.523 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004652/1.142, allocations: 3.721 MB / 1.147 GB, free: 0.5547 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002921/1.145, allocations: 0.6519 MB / 1.147 GB, free: 15.88 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003324/1.146, allocations: 166.5 kB / 1.147 GB, free: 15.7 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 3.245e-05/1.146, allocations: 0 / 1.147 GB, free: 15.7 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.661e-05/1.146, allocations: 38.88 kB / 1.148 GB, free: 15.66 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=30): time 2.314e-06/1.146, allocations: 0 / 1.148 GB, free: 15.66 MB / 0.7605 GB Notification: Performance of matching and sorting (n=33): time 0.002235/1.148, allocations: 0.7926 MB / 1.148 GB, free: 14.85 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.858e-05/1.148, allocations: 106.8 kB / 1.148 GB, free: 14.72 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004929/1.149, allocations: 305.1 kB / 1.149 GB, free: 14.42 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 3.322e-05/1.149, allocations: 25.7 kB / 1.149 GB, free: 14.39 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.000239/1.149, allocations: 279.4 kB / 1.149 GB, free: 14.11 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001289/1.149, allocations: 114.3 kB / 1.149 GB, free: 14 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.72e-05/1.149, allocations: 0 / 1.149 GB, free: 14 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001719/1.149, allocations: 350.8 kB / 1.149 GB, free: 13.64 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003576/1.15, allocations: 157.1 kB / 1.15 GB, free: 13.49 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005288/1.15, allocations: 332.3 kB / 1.15 GB, free: 13.08 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004567/1.151, allocations: 221.1 kB / 1.15 GB, free: 12.86 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.09e-05/1.151, allocations: 4 kB / 1.15 GB, free: 12.86 MB / 0.7605 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001447/1.152, allocations: 0.5762 MB / 1.151 GB, free: 12.27 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 3.018e-05/1.152, allocations: 14.22 kB / 1.151 GB, free: 12.26 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.481e-05/1.152, allocations: 4.75 kB / 1.151 GB, free: 12.25 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004764/1.153, allocations: 106.5 kB / 1.151 GB, free: 12.14 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005857/1.153, allocations: 103.8 kB / 1.151 GB, free: 12.04 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004148/1.157, allocations: 3.873 MB / 1.155 GB, free: 7.824 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006802/1.158, allocations: 19.97 kB / 1.155 GB, free: 7.805 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.976e-05/1.158, allocations: 24 kB / 1.155 GB, free: 7.781 MB / 0.7605 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 (57): * Single equations (assignments): 54 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001988/1.158, allocations: 116.8 kB / 1.155 GB, free: 7.66 MB / 0.7605 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.00118/1.16, allocations: 449 kB / 1.155 GB, free: 7.207 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001802/1.16, allocations: 55.52 kB / 1.155 GB, free: 7.152 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001301/1.161, allocations: 488.2 kB / 1.156 GB, free: 6.652 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.007e-06/1.161, allocations: 4 kB / 1.156 GB, free: 6.648 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.98e-06/1.161, allocations: 0 / 1.156 GB, free: 6.648 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.317e-05/1.161, allocations: 7.984 kB / 1.156 GB, free: 6.641 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002578/1.164, allocations: 1.18 MB / 1.157 GB, free: 5.379 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.422e-06/1.164, allocations: 5.281 kB / 1.157 GB, free: 5.375 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004187/1.164, allocations: 63.89 kB / 1.157 GB, free: 5.312 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004509/1.165, allocations: 88.77 kB / 1.157 GB, free: 5.219 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.148e-05/1.165, allocations: 11.94 kB / 1.157 GB, free: 5.207 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004029/1.169, allocations: 3.86 MB / 1.161 GB, free: 1.004 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.619e-06/1.169, allocations: 3.938 kB / 1.161 GB, free: 1 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001482/1.17, allocations: 0.8703 MB / 1.162 GB, free: 8 kB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000322/1.171, allocations: 155.4 kB / 1.162 GB, free: 15.84 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.326e-05/1.171, allocations: 9.672 kB / 1.162 GB, free: 15.83 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005194/1.171, allocations: 15.98 kB / 1.162 GB, free: 15.82 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.68e-05/1.171, allocations: 35.84 kB / 1.162 GB, free: 15.78 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.79e-05/1.172, allocations: 16 kB / 1.162 GB, free: 15.77 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0003841/1.172, allocations: 239 kB / 1.162 GB, free: 15.54 MB / 0.7761 GB Notification: Performance of sort global known variables: time 2.4e-07/1.172, allocations: 0 / 1.162 GB, free: 15.54 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.001255/1.173, allocations: 108 kB / 1.162 GB, free: 15.43 MB / 0.7761 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 (33): * Single equations (assignments): 30 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002254/1.175, allocations: 2.183 MB / 1.164 GB, free: 13.14 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.001942/1.177, allocations: 0.7396 MB / 1.165 GB, free: 12.38 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 6.081e-06/1.177, allocations: 0 / 1.165 GB, free: 12.38 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0009794/1.178, allocations: 0.5174 MB / 1.166 GB, free: 11.83 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001163/1.18, allocations: 104.1 kB / 1.166 GB, free: 11.73 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002507/1.182, allocations: 0.7372 MB / 1.166 GB, free: 10.93 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006568/1.183, allocations: 0.8664 MB / 1.167 GB, free: 10.03 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0005078/1.183, allocations: 103 kB / 1.167 GB, free: 9.93 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003391/1.184, allocations: 151.4 kB / 1.168 GB, free: 9.781 MB / 0.7761 GB Notification: Performance of SimCode: time 1.803e-06/1.184, allocations: 0 / 1.168 GB, free: 9.781 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04141/1.225, allocations: 8.406 MB / 1.176 GB, free: 1.559 MB / 0.7761 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000295/1.226, allocations: 158.8 kB / 1.176 GB, free: 1.367 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.161/3.387, allocations: 0.625 kB / 1.176 GB, free: 1.367 MB / 0.7761 GB (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Electrical_AC_OnePhase_Loads_Examples_ThreePhases_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Electrical_AC_OnePhase_Loads_Examples_ThreePhases.fmu > Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe 2>&1)