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.905/1.905, allocations: 289.7 MB / 302.2 MB, free: 2.172 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.001053/0.001052, allocations: 180.8 kB / 371.6 MB, free: 3.387 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.69/1.69, allocations: 205.1 MB / 0.6309 GB, free: 11.79 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.000902/0.0009019, allocations: 90.55 kB / 0.745 GB, free: 54.52 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 4.349e-05/4.351e-05, allocations: 4 kB / 0.8663 GB, free: 14.97 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2853/0.2853, allocations: 116.3 MB / 0.9799 GB, free: 10.51 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8982/1.184, allocations: 154.7 MB / 1.131 GB, free: 33.61 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003197/1.184, allocations: 92.98 kB / 1.131 GB, free: 33.57 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.06557/1.25, allocations: 29.45 MB / 1.16 GB, free: 18.32 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.382e-06/1.25, allocations: 4 kB / 1.16 GB, free: 18.32 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.419e-05/1.25, allocations: 19.94 kB / 1.16 GB, free: 18.3 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.00107/1.251, allocations: 0.7787 MB / 1.161 GB, free: 17.58 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.287e-05/1.251, allocations: 12.03 kB / 1.161 GB, free: 17.57 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001006/1.251, allocations: 90.83 kB / 1.161 GB, free: 17.51 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001187/1.252, allocations: 208 kB / 1.161 GB, free: 17.36 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006405/1.253, allocations: 480.1 kB / 1.161 GB, free: 16.96 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.288e-05/1.253, allocations: 33.05 kB / 1.161 GB, free: 16.94 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.835e-05/1.253, allocations: 48.8 kB / 1.161 GB, free: 16.91 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009104/1.254, allocations: 0.9198 MB / 1.162 GB, free: 16.07 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.93e-05/1.254, allocations: 3.938 kB / 1.162 GB, free: 16.06 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.867e-05/1.254, allocations: 24.5 kB / 1.162 GB, free: 16.05 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.776e-05/1.254, allocations: 51.56 kB / 1.162 GB, free: 16.01 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006818/1.255, allocations: 0.5588 MB / 1.163 GB, free: 15.61 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003162/1.258, allocations: 5.661 MB / 1.169 GB, free: 9.965 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005169/1.258, allocations: 452.9 kB / 1.169 GB, free: 9.648 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002608/1.259, allocations: 232.4 kB / 1.169 GB, free: 9.496 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.84e-05/1.259, allocations: 11.97 kB / 1.169 GB, free: 9.484 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.513e-05/1.259, allocations: 33.69 kB / 1.169 GB, free: 9.445 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=32): time 1.683e-06/1.259, allocations: 0 / 1.169 GB, free: 9.445 MB / 0.7448 GB Notification: Performance of matching and sorting (n=33): time 0.001281/1.26, allocations: 0.8479 MB / 1.17 GB, free: 8.754 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.709e-05/1.26, allocations: 55.41 kB / 1.17 GB, free: 8.688 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000356/1.26, allocations: 427.2 kB / 1.17 GB, free: 8.34 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.582e-05/1.26, allocations: 36.52 kB / 1.171 GB, free: 8.305 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.000137/1.261, allocations: 334.6 kB / 1.171 GB, free: 8.059 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 6.764e-05/1.261, allocations: 123.1 kB / 1.171 GB, free: 7.953 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.074e-05/1.261, allocations: 10.69 kB / 1.171 GB, free: 7.949 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 8.442e-05/1.261, allocations: 367.5 kB / 1.171 GB, free: 7.605 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002213/1.261, allocations: 192 kB / 1.172 GB, free: 7.48 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002986/1.261, allocations: 400.8 kB / 1.172 GB, free: 7.062 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002888/1.262, allocations: 248 kB / 1.172 GB, free: 6.891 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.386e-06/1.262, allocations: 0 / 1.172 GB, free: 6.891 MB / 0.7448 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0009991/1.263, allocations: 0.7686 MB / 1.173 GB, free: 6.266 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.023e-05/1.263, allocations: 8 kB / 1.173 GB, free: 6.258 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.888e-06/1.263, allocations: 11.94 kB / 1.173 GB, free: 6.246 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004257/1.263, allocations: 154.8 kB / 1.173 GB, free: 6.102 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000401/1.263, allocations: 107.3 kB / 1.173 GB, free: 6 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002217/1.266, allocations: 4.024 MB / 1.177 GB, free: 1.746 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003108/1.266, allocations: 37.62 kB / 1.177 GB, free: 1.719 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.327e-05/1.266, allocations: 23.19 kB / 1.177 GB, free: 1.699 MB / 0.7448 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 () * 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.0001059/1.266, allocations: 156.8 kB / 1.177 GB, free: 1.559 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.137e-05/1.266, allocations: 63.25 kB / 1.177 GB, free: 1.496 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008894/1.267, allocations: 0.5828 MB / 1.178 GB, free: 1.059 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.897e-06/1.267, allocations: 4 kB / 1.178 GB, free: 1.055 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/1.267, allocations: 4 kB / 1.178 GB, free: 1.051 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.999e-06/1.267, allocations: 7.938 kB / 1.178 GB, free: 1.043 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001488/1.269, allocations: 1.244 MB / 1.179 GB, free: 15.97 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.33e-06/1.269, allocations: 4 kB / 1.179 GB, free: 15.96 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002633/1.269, allocations: 55.39 kB / 1.179 GB, free: 15.91 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003934/1.269, allocations: 149.3 kB / 1.179 GB, free: 15.77 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.493e-05/1.269, allocations: 10.77 kB / 1.179 GB, free: 15.77 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003287/1.273, allocations: 4.019 MB / 1.183 GB, free: 11.52 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.248e-06/1.273, allocations: 4 kB / 1.183 GB, free: 11.52 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001088/1.274, allocations: 0.7863 MB / 1.184 GB, free: 10.77 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002058/1.274, allocations: 169.4 kB / 1.184 GB, free: 10.6 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.409e-05/1.274, allocations: 7.188 kB / 1.184 GB, free: 10.6 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002487/1.274, allocations: 23.78 kB / 1.184 GB, free: 10.58 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.92e-05/1.274, allocations: 35.02 kB / 1.184 GB, free: 10.55 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.219e-05/1.274, allocations: 11.56 kB / 1.184 GB, free: 10.54 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0003745/1.275, allocations: 328.6 kB / 1.185 GB, free: 10.29 MB / 0.7605 GB Notification: Performance of sort global known variables: time 1.6e-07/1.275, allocations: 0 / 1.185 GB, free: 10.29 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0005694/1.275, allocations: 141.9 kB / 1.185 GB, free: 10.17 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 () * 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.001621/1.277, allocations: 1.821 MB / 1.187 GB, free: 8.395 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.001337/1.278, allocations: 1.008 MB / 1.187 GB, free: 7.449 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 3.486e-06/1.278, allocations: 4.125 kB / 1.187 GB, free: 7.445 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0008295/1.279, allocations: 0.7272 MB / 1.188 GB, free: 6.703 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008307/1.28, allocations: 182.2 kB / 1.188 GB, free: 6.566 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001493/1.282, allocations: 0.8632 MB / 1.189 GB, free: 5.746 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004952/1.282, allocations: 0.9279 MB / 1.19 GB, free: 4.805 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0003284/1.282, allocations: 107.7 kB / 1.19 GB, free: 4.699 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002617/1.283, allocations: 194.6 kB / 1.19 GB, free: 4.645 MB / 0.7605 GB Notification: Performance of SimCode: time 3.6e-07/1.283, allocations: 0 / 1.19 GB, free: 4.645 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02619/1.309, allocations: 11.99 MB / 1.202 GB, free: 8.879 MB / 0.7761 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001788/1.309, allocations: 184.7 kB / 1.202 GB, free: 8.652 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.364/3.673, allocations: 3.938 kB / 1.202 GB, free: 8.648 MB / 0.7761 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)