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.4/1.4, allocations: 252 MB / 267 MB, free: 10.94 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.001246/0.001246, allocations: 186.9 kB / 326.6 MB, free: 2.188 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.883/1.883, allocations: 205.4 MB / 0.5777 GB, free: 20.24 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.000824/0.0008243, allocations: 90.3 kB / 0.6822 GB, free: 12.86 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003577/0.0003576, allocations: 9.094 kB / 0.7965 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.262/0.2624, allocations: 106.3 MB / 0.9003 GB, free: 63.76 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance): time 0.003813/0.2663, allocations: 3.258 MB / 0.9035 GB, free: 60.48 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.002233/0.2686, allocations: 1.74 MB / 0.9052 GB, free: 58.73 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001879/0.2688, allocations: 15.88 kB / 0.9052 GB, free: 58.71 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001947/0.269, allocations: 55.5 kB / 0.9053 GB, free: 58.66 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0004997/0.2695, allocations: 230.8 kB / 0.9055 GB, free: 58.43 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.000442/0.27, allocations: 179.6 kB / 0.9057 GB, free: 58.25 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0004744/0.2704, allocations: 0.64 MB / 0.9063 GB, free: 57.61 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005158/0.271, allocations: 333.4 kB / 0.9066 GB, free: 57.27 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002331/0.2712, allocations: 199.1 kB / 0.9068 GB, free: 57.07 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002287/0.2714, allocations: 223 kB / 0.907 GB, free: 56.85 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 4.026e-05/0.2715, allocations: 15.94 kB / 0.907 GB, free: 56.84 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002761/0.2718, allocations: 127.8 kB / 0.9071 GB, free: 56.71 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 9.343e-05/0.2719, allocations: 107.6 kB / 0.9072 GB, free: 56.61 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 6.697e-05/0.272, allocations: 101.5 kB / 0.9073 GB, free: 56.5 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0003455/0.2723, allocations: 439.1 kB / 0.9078 GB, free: 56.07 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 6.322e-06/0.2723, allocations: 0 / 0.9078 GB, free: 56.07 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.745e-06/0.2723, allocations: 0 / 0.9078 GB, free: 56.07 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.239e-05/0.2724, allocations: 0 / 0.9078 GB, free: 56.07 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.0009199/0.2733, allocations: 0.67 MB / 0.9084 GB, free: 55.35 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.245e-05/0.2733, allocations: 8.031 kB / 0.9084 GB, free: 55.34 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.345e-05/0.2734, allocations: 66.53 kB / 0.9085 GB, free: 55.27 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008143/0.2742, allocations: 135.3 kB / 0.9086 GB, free: 55.14 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000406/0.2747, allocations: 370.5 kB / 0.909 GB, free: 54.73 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.791e-05/0.2747, allocations: 20.66 kB / 0.909 GB, free: 54.71 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.44e-05/0.2747, allocations: 35.92 kB / 0.909 GB, free: 54.68 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006686/0.2754, allocations: 0.5476 MB / 0.9096 GB, free: 54.05 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.884e-05/0.2754, allocations: 7.938 kB / 0.9096 GB, free: 54.05 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.301e-05/0.2755, allocations: 15.98 kB / 0.9096 GB, free: 54.03 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.117e-05/0.2755, allocations: 44.53 kB / 0.9096 GB, free: 53.99 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006012/0.2762, allocations: 417.7 kB / 0.91 GB, free: 53.58 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00201/0.2782, allocations: 3.33 MB / 0.9133 GB, free: 50 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00057/0.2788, allocations: 334.6 kB / 0.9136 GB, free: 49.67 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002572/0.279, allocations: 192.7 kB / 0.9138 GB, free: 49.48 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.989e-05/0.2791, allocations: 0 / 0.9138 GB, free: 49.48 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.105e-05/0.2791, allocations: 38.56 kB / 0.9138 GB, free: 49.43 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=26): time 1.021e-06/0.2791, allocations: 0 / 0.9138 GB, free: 49.43 MB / 0.6042 GB Notification: Performance of matching and sorting (n=27): time 0.001778/0.2809, allocations: 1.081 MB / 0.9149 GB, free: 48.28 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.697e-05/0.2809, allocations: 55.64 kB / 0.9149 GB, free: 48.21 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000251/0.2812, allocations: 341.5 kB / 0.9152 GB, free: 47.88 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.926e-05/0.2812, allocations: 29.7 kB / 0.9153 GB, free: 47.84 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001014/0.2813, allocations: 243.6 kB / 0.9155 GB, free: 47.6 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 5.308e-05/0.2814, allocations: 94.67 kB / 0.9156 GB, free: 47.5 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.478e-05/0.2814, allocations: 8 kB / 0.9156 GB, free: 47.5 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 8.01e-05/0.2815, allocations: 350.8 kB / 0.9159 GB, free: 47.14 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002404/0.2817, allocations: 152.8 kB / 0.9161 GB, free: 47 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002946/0.282, allocations: 295 kB / 0.9164 GB, free: 46.65 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002798/0.2823, allocations: 198.7 kB / 0.9166 GB, free: 46.46 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.2823, allocations: 0 / 0.9166 GB, free: 46.46 MB / 0.6042 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0008039/0.2831, allocations: 0.5775 MB / 0.9171 GB, free: 45.86 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.753e-05/0.2832, allocations: 8 kB / 0.9171 GB, free: 45.86 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.586e-06/0.2832, allocations: 4 kB / 0.9171 GB, free: 45.85 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002732/0.2835, allocations: 86.45 kB / 0.9172 GB, free: 45.76 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003059/0.2838, allocations: 92.16 kB / 0.9173 GB, free: 45.67 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.166e-05/0.2838, allocations: 11.94 kB / 0.9173 GB, free: 45.66 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002404/0.284, allocations: 27.97 kB / 0.9173 GB, free: 45.63 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.58e-05/0.2841, allocations: 23.98 kB / 0.9174 GB, free: 45.61 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.0001545/0.2842, allocations: 173.7 kB / 0.9175 GB, free: 45.43 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.674e-05/0.2843, allocations: 39.53 kB / 0.9176 GB, free: 45.39 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007473/0.2851, allocations: 476.5 kB / 0.918 GB, free: 44.91 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.6e-06/0.2851, allocations: 4 kB / 0.918 GB, free: 44.9 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.165e-06/0.2851, allocations: 0 / 0.918 GB, free: 44.9 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.143e-06/0.2851, allocations: 7.984 kB / 0.918 GB, free: 44.89 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001267/0.2864, allocations: 0.9767 MB / 0.919 GB, free: 43.84 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/0.2864, allocations: 0 / 0.919 GB, free: 43.84 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002225/0.2866, allocations: 47.97 kB / 0.919 GB, free: 43.8 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002173/0.2868, allocations: 82.44 kB / 0.9191 GB, free: 43.71 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.182e-05/0.2869, allocations: 8 kB / 0.9191 GB, free: 43.7 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.997e-06/0.2869, allocations: 4 kB / 0.9191 GB, free: 43.7 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.434e-06/0.2869, allocations: 12.03 kB / 0.9191 GB, free: 43.68 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006814/0.2876, allocations: 0.5507 MB / 0.9197 GB, free: 43.1 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001099/0.2877, allocations: 136.6 kB / 0.9198 GB, free: 42.95 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.586e-05/0.2878, allocations: 8 kB / 0.9198 GB, free: 42.94 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002131/0.288, allocations: 27.95 kB / 0.9198 GB, free: 42.91 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.577e-05/0.288, allocations: 27.91 kB / 0.9199 GB, free: 42.88 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.375e-05/0.2881, allocations: 8 kB / 0.9199 GB, free: 42.88 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001617/0.2882, allocations: 239.1 kB / 0.9201 GB, free: 42.64 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2882, allocations: 0 / 0.9201 GB, free: 42.64 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003562/0.2886, allocations: 92 kB / 0.9202 GB, free: 42.55 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.0008811/0.2895, allocations: 1.098 MB / 0.9213 GB, free: 41.41 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.000742/0.2902, allocations: 0.6399 MB / 0.9219 GB, free: 40.7 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.2902, allocations: 0 / 0.9219 GB, free: 40.7 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0003569/0.2906, allocations: 437.7 kB / 0.9223 GB, free: 40.21 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006441/0.2913, allocations: 127.6 kB / 0.9224 GB, free: 40.09 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003022/0.2943, allocations: 2.369 MB / 0.9247 GB, free: 37.59 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003013/0.2946, allocations: 0.8195 MB / 0.9255 GB, free: 36.74 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0002676/0.2949, allocations: 87.33 kB / 0.9256 GB, free: 36.65 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001766/0.2951, allocations: 127.4 kB / 0.9257 GB, free: 36.53 MB / 0.6042 GB Notification: Performance of SimCode: time 2.3e-07/0.2951, allocations: 0 / 0.9257 GB, free: 36.53 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01919/0.3143, allocations: 7.828 MB / 0.9334 GB, free: 28.94 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001762/0.3145, allocations: 227.1 kB / 0.9336 GB, free: 28.71 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.206/2.521, allocations: 0 / 0.9336 GB, free: 28.71 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)