Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance,fileNamePrefix="Buildings_maint_8_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_8_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 8.0.1-maint.8.0.x/package.mo): time 1.834/1.834, allocations: 288.2 MB / 303.2 MB, free: 8.121 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.001244/0.001244, allocations: 185 kB / 371.8 MB, free: 10.28 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.513/1.513, allocations: 205.4 MB / 0.6305 GB, free: 9.926 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009098/0.00091, allocations: 97.25 kB / 0.7439 GB, free: 5.848 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004207/0.0004208, allocations: 11.16 kB / 0.8669 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2191/0.2196, allocations: 115.3 MB / 0.9795 GB, free: 27.59 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance): time 0.003731/0.2234, allocations: 4.116 MB / 0.9835 GB, free: 23.45 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002771/0.2262, allocations: 2.318 MB / 0.9858 GB, free: 21.12 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002577/0.2265, allocations: 19.81 kB / 0.9858 GB, free: 21.11 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001854/0.2267, allocations: 75.39 kB / 0.9859 GB, free: 21.03 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0006865/0.2274, allocations: 366.9 kB / 0.9862 GB, free: 20.67 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005745/0.228, allocations: 293.5 kB / 0.9865 GB, free: 20.39 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0004963/0.2285, allocations: 0.5835 MB / 0.9871 GB, free: 19.8 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005381/0.229, allocations: 416.3 kB / 0.9875 GB, free: 19.37 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002571/0.2293, allocations: 263 kB / 0.9877 GB, free: 19.11 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000344/0.2296, allocations: 282.8 kB / 0.988 GB, free: 18.84 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.789e-05/0.2297, allocations: 20 kB / 0.988 GB, free: 18.82 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002425/0.2299, allocations: 143.8 kB / 0.9881 GB, free: 18.68 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 9.925e-05/0.23, allocations: 151.5 kB / 0.9883 GB, free: 18.53 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 7.541e-05/0.2301, allocations: 133.4 kB / 0.9884 GB, free: 18.39 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0003989/0.2305, allocations: 0.6002 MB / 0.989 GB, free: 17.79 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.394e-06/0.2305, allocations: 0 / 0.989 GB, free: 17.79 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.084e-06/0.2305, allocations: 0 / 0.989 GB, free: 17.79 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.943e-06/0.2306, allocations: 0 / 0.989 GB, free: 17.79 MB / 0.6198 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.0009664/0.2315, allocations: 0.8216 MB / 0.9898 GB, free: 16.92 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.614e-05/0.2316, allocations: 19.95 kB / 0.9898 GB, free: 16.9 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.208e-05/0.2316, allocations: 90.5 kB / 0.9899 GB, free: 16.8 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008128/0.2325, allocations: 175 kB / 0.9901 GB, free: 16.63 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005409/0.233, allocations: 473.4 kB / 0.9905 GB, free: 16.12 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.114e-05/0.233, allocations: 40.92 kB / 0.9906 GB, free: 16.09 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.54e-05/0.2331, allocations: 43.98 kB / 0.9906 GB, free: 16.04 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007473/0.2339, allocations: 0.8327 MB / 0.9914 GB, free: 15.08 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.091e-05/0.2339, allocations: 7.938 kB / 0.9914 GB, free: 15.07 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.396e-05/0.2339, allocations: 20 kB / 0.9914 GB, free: 15.05 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.931e-05/0.234, allocations: 68.95 kB / 0.9915 GB, free: 14.98 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006507/0.2347, allocations: 0.5656 MB / 0.9921 GB, free: 14.42 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002984/0.2377, allocations: 5.654 MB / 0.9976 GB, free: 8.371 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000485/0.2382, allocations: 465.3 kB / 0.998 GB, free: 7.91 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.689e-05/0.2382, allocations: 4 kB / 0.998 GB, free: 7.906 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.61e-05/0.2382, allocations: 38.55 kB / 0.9981 GB, free: 7.859 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=32): time 2.374e-06/0.2382, allocations: 0 / 0.9981 GB, free: 7.859 MB / 0.6198 GB Notification: Performance of matching and sorting (n=33): time 0.001986/0.2402, allocations: 1.501 MB / 0.9995 GB, free: 6.246 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.829e-05/0.2403, allocations: 59.41 kB / 0.9996 GB, free: 6.176 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003524/0.2406, allocations: 490.9 kB / 1 GB, free: 5.684 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.938e-05/0.2407, allocations: 29.7 kB / 1 GB, free: 5.648 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001371/0.2408, allocations: 354.8 kB / 1 GB, free: 5.293 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 6.021e-05/0.2409, allocations: 118.3 kB / 1.001 GB, free: 5.176 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.036e-05/0.2409, allocations: 12 kB / 1.001 GB, free: 5.164 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.461e-05/0.241, allocations: 370.7 kB / 1.001 GB, free: 4.793 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002128/0.2412, allocations: 197.2 kB / 1.001 GB, free: 4.602 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003064/0.2415, allocations: 439 kB / 1.002 GB, free: 4.055 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000275/0.2418, allocations: 264 kB / 1.002 GB, free: 3.797 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/0.2418, allocations: 4 kB / 1.002 GB, free: 3.793 MB / 0.6198 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.0009442/0.2428, allocations: 0.8089 MB / 1.003 GB, free: 2.961 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.716e-05/0.2428, allocations: 8 kB / 1.003 GB, free: 2.953 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.187e-06/0.2428, allocations: 8 kB / 1.003 GB, free: 2.945 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004158/0.2432, allocations: 152.9 kB / 1.003 GB, free: 2.781 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003894/0.2436, allocations: 127.7 kB / 1.003 GB, free: 2.656 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002588/0.2462, allocations: 4.056 MB / 1.007 GB, free: 14.2 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000352/0.2466, allocations: 31.97 kB / 1.007 GB, free: 14.17 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.006e-05/0.2466, allocations: 32 kB / 1.007 GB, free: 14.14 MB / 0.6355 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.0002625/0.2469, allocations: 213.8 kB / 1.007 GB, free: 13.92 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.957e-05/0.247, allocations: 67.23 kB / 1.007 GB, free: 13.85 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001026/0.248, allocations: 0.6008 MB / 1.008 GB, free: 13.23 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.649e-06/0.2481, allocations: 4 kB / 1.008 GB, free: 13.23 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/0.2481, allocations: 3.953 kB / 1.008 GB, free: 13.22 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.2481, allocations: 3.938 kB / 1.008 GB, free: 13.22 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001801/0.2499, allocations: 1.247 MB / 1.009 GB, free: 11.88 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.893e-06/0.2499, allocations: 7.984 kB / 1.009 GB, free: 11.88 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002593/0.2502, allocations: 52.11 kB / 1.009 GB, free: 11.82 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004145/0.2506, allocations: 156.1 kB / 1.009 GB, free: 11.66 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.607e-05/0.2506, allocations: 4 kB / 1.009 GB, free: 11.65 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003127/0.2538, allocations: 4.048 MB / 1.013 GB, free: 7.207 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.15e-05/0.2538, allocations: 11.92 kB / 1.013 GB, free: 7.195 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001057/0.2549, allocations: 0.782 MB / 1.014 GB, free: 6.316 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002336/0.2551, allocations: 164.3 kB / 1.014 GB, free: 6.137 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.904e-05/0.2552, allocations: 12 kB / 1.014 GB, free: 6.125 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002469/0.2554, allocations: 23.97 kB / 1.014 GB, free: 6.102 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.953e-05/0.2555, allocations: 35.89 kB / 1.014 GB, free: 6.066 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.054e-05/0.2555, allocations: 8 kB / 1.014 GB, free: 6.059 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0003416/0.2559, allocations: 334.8 kB / 1.014 GB, free: 5.734 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.7e-07/0.2559, allocations: 0 / 1.014 GB, free: 5.734 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0006167/0.2565, allocations: 140 kB / 1.015 GB, free: 5.598 MB / 0.6355 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.001486/0.258, allocations: 1.822 MB / 1.016 GB, free: 3.688 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.001428/0.2594, allocations: 1.037 MB / 1.017 GB, free: 2.57 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.2595, allocations: 0 / 1.017 GB, free: 2.57 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0008252/0.2603, allocations: 0.7349 MB / 1.018 GB, free: 1.754 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008013/0.2611, allocations: 182.8 kB / 1.018 GB, free: 1.582 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006744/0.2678, allocations: 8.996 MB / 1.027 GB, free: 8.312 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004631/0.2684, allocations: 0.9181 MB / 1.028 GB, free: 7.367 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0003828/0.2687, allocations: 117.3 kB / 1.028 GB, free: 7.25 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002286/0.269, allocations: 195.4 kB / 1.028 GB, free: 7.059 MB / 0.6511 GB Notification: Performance of SimCode: time 1.352e-06/0.269, allocations: 4 kB / 1.028 GB, free: 7.055 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02925/0.2983, allocations: 12.04 MB / 1.04 GB, free: 11.28 MB / 0.6667 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002636/0.2986, allocations: 230.6 kB / 1.04 GB, free: 11.04 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.302/2.601, allocations: 0 / 1.04 GB, free: 11.04 MB / 0.6667 GB (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Electrical_AC_OnePhase_Loads_Examples_TestImpedance_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Electrical_AC_OnePhase_Loads_Examples_TestImpedance.fmu > Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe 2>&1)