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.TestImpedance.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.TestImpedance,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_OnePhase_Loads_Examples_TestImpedance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance,fileNamePrefix="Buildings_maint_7_0_x_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 7.0.3-maint.7.0.x/package.mo): time 1.619/1.619, allocations: 251.9 MB / 266.9 MB, free: 11 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.0009705/0.0009705, allocations: 183.8 kB / 326.5 MB, free: 2.227 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.689/1.689, allocations: 205.4 MB / 0.5775 GB, free: 20.29 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.001015/0.001015, allocations: 103.8 kB / 0.6821 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004023/0.0004023, allocations: 10 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2674/0.2679, allocations: 106.3 MB / 0.9002 GB, free: 63.84 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance): time 0.004379/0.2723, allocations: 4.116 MB / 0.9042 GB, free: 59.7 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.002968/0.2753, allocations: 2.329 MB / 0.9064 GB, free: 57.36 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002329/0.2755, allocations: 19.81 kB / 0.9065 GB, free: 57.34 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001986/0.2758, allocations: 75.45 kB / 0.9065 GB, free: 57.27 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0006681/0.2764, allocations: 366.8 kB / 0.9069 GB, free: 56.91 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005565/0.277, allocations: 292 kB / 0.9072 GB, free: 56.62 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0005277/0.2775, allocations: 0.5835 MB / 0.9077 GB, free: 56.04 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006275/0.2782, allocations: 428.2 kB / 0.9081 GB, free: 55.6 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002718/0.2785, allocations: 266.9 kB / 0.9084 GB, free: 55.34 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003603/0.2788, allocations: 278.8 kB / 0.9087 GB, free: 55.06 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 4.201e-05/0.2789, allocations: 24 kB / 0.9087 GB, free: 55.04 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002666/0.2792, allocations: 143.8 kB / 0.9088 GB, free: 54.9 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001156/0.2793, allocations: 147.5 kB / 0.909 GB, free: 54.75 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001004/0.2794, allocations: 137.3 kB / 0.9091 GB, free: 54.61 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0004583/0.2798, allocations: 0.5963 MB / 0.9097 GB, free: 54.02 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.2799, allocations: 0 / 0.9097 GB, free: 54.02 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.673e-06/0.2799, allocations: 0 / 0.9097 GB, free: 54.02 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 8.336e-06/0.2799, allocations: 0 / 0.9097 GB, free: 54.02 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: 129 * Number of variables: 129 Notification: Performance of Generate backend data structure: time 0.001083/0.281, allocations: 0.8217 MB / 0.9105 GB, free: 53.14 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.43e-05/0.281, allocations: 8.031 kB / 0.9105 GB, free: 53.14 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.861e-05/0.2811, allocations: 90.52 kB / 0.9106 GB, free: 53.04 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008553/0.282, allocations: 182.8 kB / 0.9108 GB, free: 52.86 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006133/0.2826, allocations: 469.5 kB / 0.9112 GB, free: 52.36 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.901e-05/0.2826, allocations: 32.98 kB / 0.9112 GB, free: 52.33 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.635e-05/0.2827, allocations: 47.91 kB / 0.9113 GB, free: 52.28 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000826/0.2835, allocations: 0.8327 MB / 0.9121 GB, free: 51.32 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.502e-05/0.2836, allocations: 11.94 kB / 0.9121 GB, free: 51.3 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.057e-05/0.2836, allocations: 23.98 kB / 0.9121 GB, free: 51.28 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.336e-05/0.2837, allocations: 64.95 kB / 0.9122 GB, free: 51.21 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006352/0.2844, allocations: 0.5655 MB / 0.9127 GB, free: 50.65 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003333/0.2877, allocations: 5.65 MB / 0.9183 GB, free: 44.6 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004973/0.2882, allocations: 465.3 kB / 0.9187 GB, free: 44.14 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.556e-05/0.2883, allocations: 0 / 0.9187 GB, free: 44.14 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.164e-05/0.2883, allocations: 39.05 kB / 0.9187 GB, free: 44.09 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=32): time 1.002e-06/0.2883, allocations: 0 / 0.9187 GB, free: 44.09 MB / 0.6042 GB Notification: Performance of matching and sorting (n=33): time 0.002091/0.2904, allocations: 1.504 MB / 0.9202 GB, free: 42.48 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.081e-05/0.2904, allocations: 55.41 kB / 0.9203 GB, free: 42.41 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000379/0.2908, allocations: 494.9 kB / 0.9207 GB, free: 41.91 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.527e-05/0.2909, allocations: 33.69 kB / 0.9208 GB, free: 41.88 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001841/0.291, allocations: 350.8 kB / 0.9211 GB, free: 41.53 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 6.907e-05/0.2911, allocations: 126.3 kB / 0.9212 GB, free: 41.4 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.185e-05/0.2912, allocations: 12 kB / 0.9212 GB, free: 41.39 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001034/0.2913, allocations: 366.8 kB / 0.9216 GB, free: 41.02 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000226/0.2915, allocations: 193.2 kB / 0.9218 GB, free: 40.83 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003119/0.2918, allocations: 439 kB / 0.9222 GB, free: 40.29 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002872/0.2921, allocations: 264 kB / 0.9224 GB, free: 40.04 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.2921, allocations: 0 / 0.9224 GB, free: 40.04 MB / 0.6042 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.0009624/0.2931, allocations: 0.8088 MB / 0.9232 GB, free: 39.2 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.143e-05/0.2931, allocations: 8 kB / 0.9232 GB, free: 39.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.102e-05/0.2931, allocations: 8.875 kB / 0.9232 GB, free: 39.19 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004358/0.2936, allocations: 152.2 kB / 0.9234 GB, free: 39.02 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003927/0.294, allocations: 119.8 kB / 0.9235 GB, free: 38.91 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002278/0.2963, allocations: 4.072 MB / 0.9275 GB, free: 34.44 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003099/0.2966, allocations: 31.97 kB / 0.9275 GB, free: 34.41 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.415e-05/0.2966, allocations: 31.94 kB / 0.9275 GB, free: 34.38 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * 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 (66): * Single equations (assignments): 61 * 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.0002038/0.2968, allocations: 221.7 kB / 0.9277 GB, free: 34.15 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.195e-05/0.2969, allocations: 63.25 kB / 0.9278 GB, free: 34.09 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008441/0.2978, allocations: 0.5928 MB / 0.9284 GB, free: 33.47 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.426e-06/0.2978, allocations: 7.953 kB / 0.9284 GB, free: 33.46 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/0.2978, allocations: 4 kB / 0.9284 GB, free: 33.46 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.2978, allocations: 0 / 0.9284 GB, free: 33.46 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001395/0.2992, allocations: 1.246 MB / 0.9296 GB, free: 32.12 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.929e-06/0.2992, allocations: 8.172 kB / 0.9296 GB, free: 32.12 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002272/0.2995, allocations: 59.89 kB / 0.9297 GB, free: 32.06 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003254/0.2998, allocations: 136.1 kB / 0.9298 GB, free: 31.91 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.44e-05/0.2998, allocations: 12 kB / 0.9298 GB, free: 31.9 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001992/0.3018, allocations: 4.048 MB / 0.9338 GB, free: 27.45 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.053e-06/0.3018, allocations: 3.938 kB / 0.9338 GB, free: 27.44 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007814/0.3026, allocations: 0.7905 MB / 0.9346 GB, free: 26.55 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001842/0.3028, allocations: 168.2 kB / 0.9347 GB, free: 26.37 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.712e-05/0.3029, allocations: 8 kB / 0.9347 GB, free: 26.36 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002636/0.3032, allocations: 23.97 kB / 0.9347 GB, free: 26.34 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.26e-05/0.3032, allocations: 35.91 kB / 0.9348 GB, free: 26.3 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.759e-05/0.3032, allocations: 12 kB / 0.9348 GB, free: 26.29 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.000247/0.3035, allocations: 326.8 kB / 0.9351 GB, free: 25.98 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.6e-07/0.3035, allocations: 0 / 0.9351 GB, free: 25.98 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0005384/0.304, allocations: 140 kB / 0.9352 GB, free: 25.84 MB / 0.6042 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 () * Number of clocked 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.001141/0.3052, allocations: 1.822 MB / 0.937 GB, free: 23.93 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001168/0.3064, allocations: 1.025 MB / 0.938 GB, free: 22.82 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/0.3064, allocations: 4 kB / 0.938 GB, free: 22.82 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0006542/0.3071, allocations: 0.7386 MB / 0.9387 GB, free: 22 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007855/0.3079, allocations: 184.7 kB / 0.9389 GB, free: 21.82 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00505/0.3129, allocations: 8.997 MB / 0.9477 GB, free: 12.57 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003262/0.3133, allocations: 0.9181 MB / 0.9486 GB, free: 11.62 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0003326/0.3136, allocations: 117.3 kB / 0.9487 GB, free: 11.5 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002076/0.3138, allocations: 207.4 kB / 0.9489 GB, free: 11.3 MB / 0.6042 GB Notification: Performance of SimCode: time 6.21e-07/0.3138, allocations: 0 / 0.9489 GB, free: 11.3 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02393/0.3377, allocations: 12.06 MB / 0.9607 GB, free: 15.51 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000182/0.338, allocations: 224.7 kB / 0.9609 GB, free: 15.27 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.492/2.83, allocations: 0 / 0.9609 GB, free: 15.27 MB / 0.6198 GB (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Electrical_AC_OnePhase_Loads_Examples_TestImpedance_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Electrical_AC_OnePhase_Loads_Examples_TestImpedance.fmu > Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe 2>&1)