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.401/1.401, allocations: 252 MB / 267.3 MB, free: 10.84 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.001421/0.00142, allocations: 176.9 kB / 327 MB, free: 2.121 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.015/2.015, allocations: 205.4 MB / 0.578 GB, free: 20.46 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.0007722/0.0007724, allocations: 85.61 kB / 0.6826 GB, free: 13.25 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.001089/0.001089, allocations: 12.61 kB / 0.7971 GB, free: 134.9 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2744/0.2756, allocations: 106.3 MB / 0.9009 GB, free: 63.78 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance): time 0.003844/0.2795, allocations: 3.412 MB / 0.9043 GB, free: 60.34 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.00242/0.282, allocations: 1.825 MB / 0.906 GB, free: 58.51 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002223/0.2822, allocations: 15.88 kB / 0.9061 GB, free: 58.49 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0002055/0.2825, allocations: 55.5 kB / 0.9061 GB, free: 58.44 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0006274/0.2831, allocations: 286.6 kB / 0.9064 GB, free: 58.16 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.000559/0.2837, allocations: 223.6 kB / 0.9066 GB, free: 57.94 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0005961/0.2843, allocations: 0.7453 MB / 0.9073 GB, free: 57.19 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005433/0.2848, allocations: 358.9 kB / 0.9077 GB, free: 56.82 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002646/0.2851, allocations: 207 kB / 0.9079 GB, free: 56.61 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002654/0.2854, allocations: 215 kB / 0.9081 GB, free: 56.4 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 3.632e-05/0.2854, allocations: 15.94 kB / 0.9081 GB, free: 56.39 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005702/0.286, allocations: 339.3 kB / 0.9084 GB, free: 56.05 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001221/0.2861, allocations: 103.5 kB / 0.9085 GB, free: 55.95 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001847/0.2863, allocations: 220.6 kB / 0.9087 GB, free: 55.73 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0006167/0.2869, allocations: 0.5802 MB / 0.9093 GB, free: 55.15 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.287, allocations: 0 / 0.9093 GB, free: 55.15 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.915e-06/0.287, allocations: 7.938 kB / 0.9093 GB, free: 55.14 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 7.163e-06/0.287, allocations: 4 kB / 0.9093 GB, free: 55.14 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.001104/0.2881, allocations: 0.6624 MB / 0.9099 GB, free: 54.43 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.083e-05/0.2882, allocations: 15.97 kB / 0.91 GB, free: 54.41 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.482e-05/0.2882, allocations: 66.72 kB / 0.91 GB, free: 54.34 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000897/0.2891, allocations: 136.2 kB / 0.9101 GB, free: 54.2 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003956/0.2895, allocations: 383.6 kB / 0.9105 GB, free: 53.79 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.167e-05/0.2896, allocations: 21.03 kB / 0.9105 GB, free: 53.77 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.198e-05/0.2896, allocations: 32.36 kB / 0.9106 GB, free: 53.73 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006818/0.2903, allocations: 0.5587 MB / 0.9111 GB, free: 53.1 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.409e-05/0.2904, allocations: 7.938 kB / 0.9111 GB, free: 53.09 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.318e-05/0.2904, allocations: 12 kB / 0.9111 GB, free: 53.08 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.582e-05/0.2905, allocations: 40.53 kB / 0.9112 GB, free: 53.04 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005985/0.2911, allocations: 417.8 kB / 0.9116 GB, free: 52.63 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002066/0.2931, allocations: 3.341 MB / 0.9148 GB, free: 49.05 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005744/0.2937, allocations: 334.5 kB / 0.9151 GB, free: 48.71 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002486/0.294, allocations: 180.8 kB / 0.9153 GB, free: 48.53 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.186e-05/0.294, allocations: 7.984 kB / 0.9153 GB, free: 48.52 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.632e-05/0.2941, allocations: 42.55 kB / 0.9154 GB, free: 48.47 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=26): time 1.954e-06/0.2941, allocations: 0 / 0.9154 GB, free: 48.47 MB / 0.6042 GB Notification: Performance of matching and sorting (n=27): time 0.001782/0.2958, allocations: 1.081 MB / 0.9164 GB, free: 47.32 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.379e-05/0.2959, allocations: 55.64 kB / 0.9165 GB, free: 47.26 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002493/0.2961, allocations: 345.5 kB / 0.9168 GB, free: 46.91 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.893e-05/0.2962, allocations: 29.7 kB / 0.9168 GB, free: 46.88 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.000101/0.2963, allocations: 247.5 kB / 0.9171 GB, free: 46.63 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 5.058e-05/0.2963, allocations: 94.64 kB / 0.9172 GB, free: 46.54 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.64e-05/0.2964, allocations: 4 kB / 0.9172 GB, free: 46.54 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.699e-05/0.2964, allocations: 350.8 kB / 0.9175 GB, free: 46.18 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002284/0.2967, allocations: 156.8 kB / 0.9176 GB, free: 46.03 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000268/0.2969, allocations: 294.5 kB / 0.9179 GB, free: 45.68 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005184/0.2975, allocations: 492.5 kB / 0.9184 GB, free: 45.14 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/0.2975, allocations: 4 kB / 0.9184 GB, free: 45.14 MB / 0.6042 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.000801/0.2983, allocations: 0.5774 MB / 0.919 GB, free: 44.54 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.821e-05/0.2983, allocations: 8 kB / 0.919 GB, free: 44.54 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.624e-06/0.2983, allocations: 4 kB / 0.919 GB, free: 44.53 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002809/0.2986, allocations: 87.03 kB / 0.9191 GB, free: 44.44 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003138/0.2989, allocations: 95.81 kB / 0.9192 GB, free: 44.34 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.002e-05/0.299, allocations: 11.94 kB / 0.9192 GB, free: 44.33 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002517/0.2992, allocations: 39.91 kB / 0.9192 GB, free: 44.29 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.416e-05/0.2993, allocations: 16 kB / 0.9192 GB, free: 44.28 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 (not torn): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 3 systems {(2,100.0%), (2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001816/0.2994, allocations: 181.6 kB / 0.9194 GB, free: 44.09 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.408e-05/0.2995, allocations: 39.53 kB / 0.9194 GB, free: 44.05 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007374/0.3002, allocations: 472 kB / 0.9199 GB, free: 43.57 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.969e-06/0.3003, allocations: 8 kB / 0.9199 GB, free: 43.57 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.3003, allocations: 0 / 0.9199 GB, free: 43.57 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.3003, allocations: 4 kB / 0.9199 GB, free: 43.56 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001136/0.3014, allocations: 0.9689 MB / 0.9208 GB, free: 42.52 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.457e-06/0.3014, allocations: 3.938 kB / 0.9208 GB, free: 42.52 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002208/0.3017, allocations: 55.89 kB / 0.9209 GB, free: 42.46 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002082/0.3019, allocations: 78.52 kB / 0.921 GB, free: 42.38 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.161e-05/0.3019, allocations: 12.09 kB / 0.921 GB, free: 42.36 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.885e-06/0.3019, allocations: 0 / 0.921 GB, free: 42.36 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/0.3019, allocations: 4 kB / 0.921 GB, free: 42.36 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006542/0.3026, allocations: 0.5544 MB / 0.9215 GB, free: 41.77 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000111/0.3027, allocations: 144.6 kB / 0.9217 GB, free: 41.61 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.298e-05/0.3028, allocations: 4 kB / 0.9217 GB, free: 41.61 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002136/0.303, allocations: 27.91 kB / 0.9217 GB, free: 41.58 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.895e-05/0.3031, allocations: 23.97 kB / 0.9217 GB, free: 41.55 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.649e-05/0.3031, allocations: 12 kB / 0.9217 GB, free: 41.54 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001692/0.3033, allocations: 231.2 kB / 0.9219 GB, free: 41.32 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3033, allocations: 4 kB / 0.922 GB, free: 41.31 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003852/0.3037, allocations: 84 kB / 0.922 GB, free: 41.23 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 (not torn): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 3 systems {(2,100.0%), (2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0008597/0.3045, allocations: 1.106 MB / 0.9231 GB, free: 40.08 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0007222/0.3053, allocations: 0.6472 MB / 0.9237 GB, free: 39.37 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.3053, allocations: 0 / 0.9237 GB, free: 39.37 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0003321/0.3056, allocations: 441.6 kB / 0.9242 GB, free: 38.87 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006789/0.3063, allocations: 126.5 kB / 0.9243 GB, free: 38.75 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003734/0.31, allocations: 3.919 MB / 0.9281 GB, free: 34.59 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001956/0.3103, allocations: 0.8309 MB / 0.9289 GB, free: 33.73 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.00025/0.3105, allocations: 83.3 kB / 0.929 GB, free: 33.64 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001427/0.3107, allocations: 131.3 kB / 0.9291 GB, free: 33.52 MB / 0.6042 GB Notification: Performance of SimCode: time 1.262e-06/0.3107, allocations: 0 / 0.9291 GB, free: 33.52 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01828/0.329, allocations: 7.796 MB / 0.9367 GB, free: 25.96 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002299/0.3293, allocations: 244.4 kB / 0.937 GB, free: 25.71 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.346/2.676, allocations: 0 / 0.937 GB, free: 25.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)