Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_OnePhase_Loads_Examples_VariableImpedance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_OnePhase_Loads_Examples_VariableImpedance",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.685/1.685, allocations: 251.9 MB / 266.9 MB, free: 11.01 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001107/0.001108, allocations: 176 kB / 326.5 MB, free: 2.23 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.919/1.919, allocations: 205.4 MB / 0.5775 GB, free: 20.27 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001151/0.001151, allocations: 86.38 kB / 0.6821 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003715/0.0003716, allocations: 10.31 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2663/0.2667, allocations: 106.3 MB / 0.9002 GB, free: 63.82 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance): time 0.003315/0.2701, allocations: 3.173 MB / 0.9033 GB, free: 60.62 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.00228/0.2724, allocations: 1.709 MB / 0.9049 GB, free: 58.91 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002/0.2726, allocations: 15.88 kB / 0.9049 GB, free: 58.89 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001575/0.2728, allocations: 47.67 kB / 0.905 GB, free: 58.84 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0005094/0.2733, allocations: 239.2 kB / 0.9052 GB, free: 58.61 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004334/0.2737, allocations: 193.9 kB / 0.9054 GB, free: 58.42 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0003854/0.2741, allocations: 388.8 kB / 0.9058 GB, free: 58.04 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005275/0.2747, allocations: 326.5 kB / 0.9061 GB, free: 57.7 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002498/0.2749, allocations: 195.3 kB / 0.9063 GB, free: 57.51 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002674/0.2752, allocations: 195.1 kB / 0.9065 GB, free: 57.32 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 3.112e-05/0.2752, allocations: 15.94 kB / 0.9065 GB, free: 57.3 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002023/0.2755, allocations: 99.88 kB / 0.9066 GB, free: 57.2 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 8.602e-05/0.2756, allocations: 99.64 kB / 0.9067 GB, free: 57.11 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 6.672e-05/0.2756, allocations: 93.52 kB / 0.9067 GB, free: 57.01 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0003525/0.276, allocations: 411.1 kB / 0.9071 GB, free: 56.61 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.895e-06/0.276, allocations: 0 / 0.9071 GB, free: 56.61 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.415e-06/0.276, allocations: 4 kB / 0.9071 GB, free: 56.6 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 7.374e-06/0.276, allocations: 0 / 0.9071 GB, free: 56.6 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 85 * Number of variables: 85 Notification: Performance of Generate backend data structure: time 0.0009635/0.277, allocations: 0.6596 MB / 0.9078 GB, free: 55.89 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.38e-05/0.277, allocations: 8.031 kB / 0.9078 GB, free: 55.89 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.026e-05/0.2771, allocations: 74.52 kB / 0.9079 GB, free: 55.8 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006377/0.2777, allocations: 123.3 kB / 0.908 GB, free: 55.68 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000441/0.2782, allocations: 358.6 kB / 0.9083 GB, free: 55.29 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.305e-05/0.2782, allocations: 24.64 kB / 0.9083 GB, free: 55.27 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.765e-05/0.2783, allocations: 28 kB / 0.9084 GB, free: 55.24 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006923/0.279, allocations: 0.5623 MB / 0.9089 GB, free: 54.61 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.782e-05/0.2791, allocations: 4 kB / 0.9089 GB, free: 54.6 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.526e-05/0.2791, allocations: 12 kB / 0.9089 GB, free: 54.59 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.947e-05/0.2792, allocations: 36.55 kB / 0.909 GB, free: 54.55 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005926/0.2798, allocations: 425.6 kB / 0.9094 GB, free: 54.14 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002209/0.282, allocations: 3.33 MB / 0.9126 GB, free: 50.56 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005992/0.2826, allocations: 340 kB / 0.913 GB, free: 50.22 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.588e-05/0.2826, allocations: 4 kB / 0.913 GB, free: 50.22 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.947e-05/0.2827, allocations: 38.5 kB / 0.913 GB, free: 50.17 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=26): time 2.625e-06/0.2827, allocations: 0 / 0.913 GB, free: 50.17 MB / 0.6042 GB Notification: Performance of matching and sorting (n=27): time 0.001751/0.2844, allocations: 1.081 MB / 0.9141 GB, free: 49.02 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.433e-05/0.2845, allocations: 51.64 kB / 0.9141 GB, free: 48.96 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002488/0.2847, allocations: 341.5 kB / 0.9144 GB, free: 48.62 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.959e-05/0.2847, allocations: 37.69 kB / 0.9145 GB, free: 48.58 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001132/0.2849, allocations: 247.5 kB / 0.9147 GB, free: 48.33 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 5.243e-05/0.2849, allocations: 86.75 kB / 0.9148 GB, free: 48.25 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.697e-05/0.2849, allocations: 12 kB / 0.9148 GB, free: 48.23 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 8.351e-05/0.285, allocations: 342.8 kB / 0.9151 GB, free: 47.89 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002291/0.2853, allocations: 152.8 kB / 0.9153 GB, free: 47.74 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002747/0.2856, allocations: 295 kB / 0.9155 GB, free: 47.39 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002822/0.2858, allocations: 202.6 kB / 0.9157 GB, free: 47.2 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.2859, allocations: 4 kB / 0.9157 GB, free: 47.2 MB / 0.6042 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0009094/0.2868, allocations: 0.5733 MB / 0.9163 GB, free: 46.61 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.556e-05/0.2868, allocations: 4 kB / 0.9163 GB, free: 46.6 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.18e-05/0.2868, allocations: 8 kB / 0.9163 GB, free: 46.59 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003216/0.2872, allocations: 91.06 kB / 0.9164 GB, free: 46.5 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003391/0.2875, allocations: 87.83 kB / 0.9165 GB, free: 46.41 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.759e-05/0.2875, allocations: 19.91 kB / 0.9165 GB, free: 46.39 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002845/0.2878, allocations: 27.97 kB / 0.9165 GB, free: 46.36 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.28e-05/0.2879, allocations: 20 kB / 0.9166 GB, free: 46.34 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * 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 (45): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 3 {(2,100.0%),(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002048/0.2881, allocations: 181.6 kB / 0.9167 GB, free: 46.16 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.166e-05/0.2882, allocations: 39.53 kB / 0.9168 GB, free: 46.12 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008793/0.2891, allocations: 476.5 kB / 0.9172 GB, free: 45.64 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.853e-06/0.2891, allocations: 7.953 kB / 0.9172 GB, free: 45.63 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.207e-06/0.2891, allocations: 0 / 0.9172 GB, free: 45.63 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.299e-06/0.2891, allocations: 0 / 0.9172 GB, free: 45.63 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001257/0.2904, allocations: 0.9728 MB / 0.9182 GB, free: 44.58 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.827e-06/0.2904, allocations: 4 kB / 0.9182 GB, free: 44.58 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002162/0.2906, allocations: 55.89 kB / 0.9182 GB, free: 44.52 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002121/0.2908, allocations: 82.61 kB / 0.9183 GB, free: 44.43 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.175e-05/0.2909, allocations: 4 kB / 0.9183 GB, free: 44.43 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/0.2909, allocations: 0 / 0.9183 GB, free: 44.43 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.609e-06/0.2909, allocations: 4 kB / 0.9183 GB, free: 44.43 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007518/0.2916, allocations: 0.591 MB / 0.9189 GB, free: 43.78 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001699/0.2918, allocations: 132.6 kB / 0.919 GB, free: 43.63 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.661e-05/0.2919, allocations: 15.98 kB / 0.919 GB, free: 43.62 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002228/0.2921, allocations: 23.97 kB / 0.9191 GB, free: 43.59 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.234e-05/0.2922, allocations: 27.92 kB / 0.9191 GB, free: 43.57 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.645e-05/0.2922, allocations: 4 kB / 0.9191 GB, free: 43.56 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0002172/0.2924, allocations: 231.2 kB / 0.9193 GB, free: 43.34 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2925, allocations: 0 / 0.9193 GB, free: 43.34 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0004578/0.2929, allocations: 92 kB / 0.9194 GB, free: 43.25 MB / 0.6042 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 3 {(2,100.0%),(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009449/0.2939, allocations: 1.342 MB / 0.9207 GB, free: 41.84 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.000839/0.2947, allocations: 0.6399 MB / 0.9213 GB, free: 41.14 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.255e-06/0.2947, allocations: 8.125 kB / 0.9213 GB, free: 41.13 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0003325/0.2951, allocations: 437.6 kB / 0.9218 GB, free: 40.64 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005499/0.2956, allocations: 113.5 kB / 0.9219 GB, free: 40.53 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003877/0.2995, allocations: 5.371 MB / 0.9271 GB, free: 35 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003488/0.2999, allocations: 0.8278 MB / 0.9279 GB, free: 34.15 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0002872/0.3002, allocations: 79.34 kB / 0.928 GB, free: 34.07 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001777/0.3004, allocations: 135.4 kB / 0.9281 GB, free: 33.94 MB / 0.6042 GB Notification: Performance of SimCode: time 1.552e-06/0.3004, allocations: 0 / 0.9281 GB, free: 33.94 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02467/0.3251, allocations: 7.8 MB / 0.9357 GB, free: 26.38 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001861/0.3253, allocations: 229.7 kB / 0.936 GB, free: 26.14 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.129/2.454, allocations: 0 / 0.936 GB, free: 26.14 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Electrical_AC_OnePhase_Loads_Examples_VariableImpedance_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Electrical_AC_OnePhase_Loads_Examples_VariableImpedance.fmu > Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe 2>&1)