Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance,fileNamePrefix="Buildings_8_0_0_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_0_0_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.0.0/package.mo): time 2.669/2.669, allocations: 284.9 MB / 292.4 MB, free: 10.54 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.00153/0.00153, allocations: 176.9 kB / 360.6 MB, free: 7.281 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.215/2.215, allocations: 205.3 MB / 0.6191 GB, free: 12.19 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.00105/0.001049, allocations: 98.92 kB / 0.7321 GB, free: 44.72 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.361e-05/2.363e-05, allocations: 4 kB / 0.8509 GB, free: 3.324 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8484/0.8484, allocations: 115.3 MB / 0.9634 GB, free: 78.54 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2718/1.12, allocations: 152.9 MB / 1.113 GB, free: 3.488 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003709/1.121, allocations: 96.66 kB / 1.113 GB, free: 3.398 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.1224/1.243, allocations: 29.35 MB / 1.141 GB, free: 5.926 MB / 0.7448 GB Notification: Performance of FrontEnd: time 4.138e-06/1.243, allocations: 0 / 1.141 GB, free: 5.926 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 6.194e-05/1.243, allocations: 23.92 kB / 1.142 GB, free: 5.902 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.001823/1.245, allocations: 0.779 MB / 1.142 GB, free: 5.078 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.504e-05/1.245, allocations: 8.031 kB / 1.142 GB, free: 5.07 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002032/1.247, allocations: 206.2 kB / 1.142 GB, free: 4.871 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001312/1.248, allocations: 486.5 kB / 1.143 GB, free: 4.352 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.445e-05/1.249, allocations: 16 kB / 1.143 GB, free: 4.336 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001075/1.249, allocations: 31.98 kB / 1.143 GB, free: 4.305 MB / 0.7448 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001156/1.25, allocations: 418.5 kB / 1.143 GB, free: 3.895 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001663/1.251, allocations: 0.8554 MB / 1.144 GB, free: 2.867 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.83e-05/1.252, allocations: 7.938 kB / 1.144 GB, free: 2.859 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.632e-05/1.252, allocations: 8 kB / 1.144 GB, free: 2.852 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001302/1.252, allocations: 52.75 kB / 1.144 GB, free: 2.797 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006912/1.259, allocations: 5.547 MB / 1.15 GB, free: 12.87 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001057/1.26, allocations: 426.4 kB / 1.15 GB, free: 12.44 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000492/1.26, allocations: 221.3 kB / 1.15 GB, free: 12.22 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 3.85e-05/1.26, allocations: 0 / 1.15 GB, free: 12.22 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.789e-05/1.26, allocations: 35.09 kB / 1.15 GB, free: 12.18 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=32): time 2.425e-06/1.26, allocations: 0 / 1.15 GB, free: 12.18 MB / 0.7605 GB Notification: Performance of matching and sorting (n=33): time 0.002441/1.263, allocations: 0.8031 MB / 1.151 GB, free: 11.36 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.943e-05/1.263, allocations: 63.36 kB / 1.151 GB, free: 11.28 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000571/1.264, allocations: 345.3 kB / 1.152 GB, free: 10.94 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 4.081e-05/1.264, allocations: 25.7 kB / 1.152 GB, free: 10.91 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.000307/1.264, allocations: 351.5 kB / 1.152 GB, free: 10.56 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001394/1.264, allocations: 114.3 kB / 1.152 GB, free: 10.45 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.87e-05/1.264, allocations: 0 / 1.152 GB, free: 10.45 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001762/1.264, allocations: 358.8 kB / 1.152 GB, free: 10.09 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004299/1.265, allocations: 173.1 kB / 1.153 GB, free: 9.914 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005888/1.265, allocations: 388.7 kB / 1.153 GB, free: 9.438 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005644/1.266, allocations: 244 kB / 1.153 GB, free: 9.199 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.26e-06/1.266, allocations: 0 / 1.153 GB, free: 9.199 MB / 0.7605 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001994/1.268, allocations: 0.6881 MB / 1.154 GB, free: 8.488 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 2.653e-05/1.268, allocations: 8 kB / 1.154 GB, free: 8.48 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.731e-05/1.268, allocations: 8 kB / 1.154 GB, free: 8.473 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007921/1.269, allocations: 160.8 kB / 1.154 GB, free: 8.301 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000821/1.27, allocations: 111.8 kB / 1.154 GB, free: 8.191 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004296/1.274, allocations: 3.878 MB / 1.158 GB, free: 3.977 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006774/1.275, allocations: 27.91 kB / 1.158 GB, free: 3.949 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.873e-05/1.275, allocations: 24 kB / 1.158 GB, free: 3.926 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 () * 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.000188/1.275, allocations: 124.5 kB / 1.158 GB, free: 3.797 MB / 0.7605 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001513/1.277, allocations: 0.5282 MB / 1.159 GB, free: 3.246 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001261/1.277, allocations: 55.33 kB / 1.159 GB, free: 3.191 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001604/1.278, allocations: 0.558 MB / 1.159 GB, free: 2.609 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.876e-06/1.278, allocations: 4 kB / 1.159 GB, free: 2.605 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/1.278, allocations: 0 / 1.159 GB, free: 2.605 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.987e-06/1.278, allocations: 7.984 kB / 1.159 GB, free: 2.598 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002805/1.281, allocations: 1.154 MB / 1.16 GB, free: 1.367 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.146e-05/1.281, allocations: 4 kB / 1.16 GB, free: 1.363 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005066/1.282, allocations: 51.89 kB / 1.16 GB, free: 1.312 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006942/1.282, allocations: 136.2 kB / 1.16 GB, free: 1.164 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.474e-05/1.282, allocations: 4 kB / 1.16 GB, free: 1.16 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004231/1.287, allocations: 3.87 MB / 1.164 GB, free: 12.95 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.522e-06/1.287, allocations: 4.031 kB / 1.164 GB, free: 12.95 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001805/1.289, allocations: 0.7546 MB / 1.165 GB, free: 12.09 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003454/1.289, allocations: 164.3 kB / 1.165 GB, free: 11.91 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.528e-05/1.289, allocations: 0 / 1.165 GB, free: 11.91 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004506/1.29, allocations: 19.97 kB / 1.165 GB, free: 11.89 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001061/1.29, allocations: 35.91 kB / 1.165 GB, free: 11.86 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.346e-05/1.29, allocations: 12 kB / 1.165 GB, free: 11.85 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0004314/1.29, allocations: 259 kB / 1.165 GB, free: 11.6 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5.91e-07/1.29, allocations: 0 / 1.165 GB, free: 11.6 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0009214/1.291, allocations: 128 kB / 1.166 GB, free: 11.47 MB / 0.7761 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.002326/1.293, allocations: 1.773 MB / 1.167 GB, free: 9.605 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.002134/1.296, allocations: 0.9642 MB / 1.168 GB, free: 8.57 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 5.391e-06/1.296, allocations: 0 / 1.168 GB, free: 8.57 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.001273/1.297, allocations: 0.7085 MB / 1.169 GB, free: 7.789 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001462/1.298, allocations: 169.2 kB / 1.169 GB, free: 7.633 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002631/1.301, allocations: 0.8332 MB / 1.17 GB, free: 6.738 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006571/1.302, allocations: 0.9178 MB / 1.171 GB, free: 5.793 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0006043/1.302, allocations: 107.8 kB / 1.171 GB, free: 5.691 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003902/1.303, allocations: 195.4 kB / 1.171 GB, free: 5.5 MB / 0.7761 GB Notification: Performance of SimCode: time 9.72e-07/1.303, allocations: 0 / 1.171 GB, free: 5.5 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07147/1.374, allocations: 10.62 MB / 1.181 GB, free: 11.11 MB / 0.7917 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003377/1.375, allocations: 156.3 kB / 1.182 GB, free: 10.92 MB / 0.7917 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.832/4.207, allocations: 0 / 1.182 GB, free: 10.92 MB / 0.7917 GB (rm -f Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Electrical_AC_OnePhase_Loads_Examples_TestImpedance_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Electrical_AC_OnePhase_Loads_Examples_TestImpedance.fmu > Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe 2>&1)