Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_OnePhase_Loads_Examples_TestImpedance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_OnePhase_Loads_Examples_TestImpedance",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.632/1.632, allocations: 292.6 MB / 307.5 MB, free: 5.203 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.001079/0.001079, allocations: 187.3 kB / 377.1 MB, free: 1.516 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.721/1.721, allocations: 205.4 MB / 0.6366 GB, free: 8.602 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.001049/0.001049, allocations: 87.69 kB / 0.7509 GB, free: 63.11 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003554/0.0003555, allocations: 8 kB / 0.8749 GB, free: 11.09 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2829/0.2833, allocations: 116.3 MB / 0.9884 GB, free: 6.637 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7767/1.06, allocations: 154.8 MB / 1.14 GB, free: 22.96 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002731/1.06, allocations: 97.64 kB / 1.14 GB, free: 22.88 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.06522/1.126, allocations: 29.64 MB / 1.169 GB, free: 13.82 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.434e-06/1.126, allocations: 0 / 1.169 GB, free: 13.82 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.164e-05/1.126, allocations: 19.94 kB / 1.169 GB, free: 13.8 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: 129 * Number of variables: 129 Notification: Performance of Generate backend data structure: time 0.001383/1.127, allocations: 0.8621 MB / 1.169 GB, free: 12.89 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.432e-05/1.127, allocations: 12.02 kB / 1.17 GB, free: 12.88 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001546/1.127, allocations: 94.5 kB / 1.17 GB, free: 12.77 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001252/1.129, allocations: 209 kB / 1.17 GB, free: 12.57 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007691/1.129, allocations: 480.4 kB / 1.17 GB, free: 12.06 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.098e-05/1.129, allocations: 36.44 kB / 1.17 GB, free: 12.03 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.461e-05/1.13, allocations: 43.98 kB / 1.17 GB, free: 11.98 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001111/1.131, allocations: 0.9261 MB / 1.171 GB, free: 10.88 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.179e-05/1.131, allocations: 7.938 kB / 1.171 GB, free: 10.87 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.287e-05/1.131, allocations: 27.98 kB / 1.171 GB, free: 10.84 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.138e-05/1.131, allocations: 53.66 kB / 1.171 GB, free: 10.79 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007806/1.132, allocations: 0.5656 MB / 1.172 GB, free: 10.23 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004462/1.136, allocations: 5.673 MB / 1.177 GB, free: 4.164 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006006/1.137, allocations: 444.4 kB / 1.178 GB, free: 3.723 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.738e-05/1.137, allocations: 10.66 kB / 1.178 GB, free: 3.715 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.723e-05/1.137, allocations: 34.56 kB / 1.178 GB, free: 3.672 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=32): time 2.495e-06/1.137, allocations: 0 / 1.178 GB, free: 3.672 MB / 0.7448 GB Notification: Performance of matching and sorting (n=33): time 0.00259/1.139, allocations: 1.508 MB / 1.179 GB, free: 2.051 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.481e-05/1.139, allocations: 59.36 kB / 1.179 GB, free: 1.98 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004702/1.14, allocations: 430.2 kB / 1.18 GB, free: 1.551 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.38e-05/1.14, allocations: 33.7 kB / 1.18 GB, free: 1.512 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.000229/1.14, allocations: 343 kB / 1.18 GB, free: 1.172 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 9.184e-05/1.14, allocations: 114.3 kB / 1.18 GB, free: 1.059 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.26e-05/1.14, allocations: 12 kB / 1.18 GB, free: 1.047 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001672/1.14, allocations: 366.8 kB / 1.181 GB, free: 0.6797 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002588/1.141, allocations: 189 kB / 1.181 GB, free: 0.4961 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003952/1.141, allocations: 405.8 kB / 1.181 GB, free: 4 kB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003905/1.142, allocations: 255.8 kB / 1.181 GB, free: 15.75 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.928e-06/1.142, allocations: 4 kB / 1.181 GB, free: 15.75 MB / 0.7605 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001214/1.143, allocations: 0.768 MB / 1.182 GB, free: 14.96 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 2.414e-05/1.143, allocations: 8 kB / 1.182 GB, free: 14.95 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.284e-05/1.143, allocations: 8 kB / 1.182 GB, free: 14.94 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005169/1.143, allocations: 160.7 kB / 1.182 GB, free: 14.77 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004192/1.144, allocations: 111.8 kB / 1.182 GB, free: 14.66 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003246/1.147, allocations: 4.063 MB / 1.186 GB, free: 10.2 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004127/1.147, allocations: 31.97 kB / 1.186 GB, free: 10.17 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.169e-05/1.148, allocations: 24 kB / 1.187 GB, free: 10.14 MB / 0.7605 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * 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 (61): * Single equations (assignments): 56 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 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.0003271/1.148, allocations: 205.6 kB / 1.187 GB, free: 9.934 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.749e-05/1.148, allocations: 63.27 kB / 1.187 GB, free: 9.875 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001014/1.149, allocations: 0.6009 MB / 1.187 GB, free: 9.25 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.638e-06/1.149, allocations: 4 kB / 1.187 GB, free: 9.246 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/1.149, allocations: 0 / 1.187 GB, free: 9.246 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.665e-06/1.149, allocations: 3.984 kB / 1.187 GB, free: 9.242 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001805/1.151, allocations: 1.254 MB / 1.189 GB, free: 7.895 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.775e-06/1.151, allocations: 9.234 kB / 1.189 GB, free: 7.887 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002461/1.151, allocations: 55.89 kB / 1.189 GB, free: 7.832 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004049/1.152, allocations: 144.3 kB / 1.189 GB, free: 7.676 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.707e-05/1.152, allocations: 11.95 kB / 1.189 GB, free: 7.664 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002831/1.154, allocations: 4.055 MB / 1.193 GB, free: 3.223 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.562e-06/1.154, allocations: 8.016 kB / 1.193 GB, free: 3.215 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001013/1.155, allocations: 0.7895 MB / 1.194 GB, free: 2.332 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002399/1.156, allocations: 168.4 kB / 1.194 GB, free: 2.148 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.44e-05/1.156, allocations: 8 kB / 1.194 GB, free: 2.141 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002373/1.156, allocations: 23.97 kB / 1.194 GB, free: 2.117 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.572e-05/1.156, allocations: 35.89 kB / 1.194 GB, free: 2.082 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.143e-05/1.156, allocations: 12 kB / 1.194 GB, free: 2.07 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0003416/1.156, allocations: 330.8 kB / 1.194 GB, free: 1.75 MB / 0.7605 GB Notification: Performance of sort global known variables: time 6.31e-07/1.156, allocations: 0 / 1.194 GB, free: 1.75 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0006303/1.157, allocations: 143.9 kB / 1.194 GB, free: 1.609 MB / 0.7605 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (29): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 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.001415/1.159, allocations: 1.832 MB / 1.196 GB, free: 15.69 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.00135/1.16, allocations: 1.017 MB / 1.197 GB, free: 14.59 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/1.16, allocations: 0 / 1.197 GB, free: 14.59 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0007656/1.161, allocations: 0.7346 MB / 1.198 GB, free: 13.78 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007929/1.161, allocations: 183.7 kB / 1.198 GB, free: 13.6 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005923/1.167, allocations: 8.204 MB / 1.206 GB, free: 5.152 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004682/1.168, allocations: 0.918 MB / 1.207 GB, free: 4.207 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0003939/1.168, allocations: 116.7 kB / 1.207 GB, free: 4.094 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002382/1.169, allocations: 191.4 kB / 1.207 GB, free: 3.906 MB / 0.7761 GB Notification: Performance of SimCode: time 5.71e-07/1.169, allocations: 0 / 1.207 GB, free: 3.906 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02782/1.196, allocations: 12.08 MB / 1.219 GB, free: 8.082 MB / 0.7917 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001836/1.197, allocations: 222.5 kB / 1.219 GB, free: 7.832 MB / 0.7917 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.385/3.582, allocations: 4 kB / 1.219 GB, free: 7.828 MB / 0.7917 GB (rm -f Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Electrical_AC_OnePhase_Loads_Examples_TestImpedance_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Electrical_AC_OnePhase_Loads_Examples_TestImpedance.fmu > Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe 2>&1)