Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_AC_OnePhase_Loads_Examples_TestImpedance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 1.494/1.494, allocations: 287.4 MB / 302.6 MB, free: 8.18 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.0009397/0.0009397, allocations: 186.1 kB / 371.1 MB, free: 10.81 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.435/1.435, allocations: 205.4 MB / 0.6298 GB, free: 10.58 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.0007243/0.000724, allocations: 90.08 kB / 0.7431 GB, free: 6.582 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003686/0.0003687, allocations: 11.31 kB / 0.8662 GB, free: 140.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2179/0.2183, allocations: 115.3 MB / 0.9787 GB, free: 28.11 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance): time 0.003866/0.2222, allocations: 4.26 MB / 0.9829 GB, free: 23.83 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002694/0.2249, allocations: 2.356 MB / 0.9852 GB, free: 21.46 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002133/0.2252, allocations: 19.81 kB / 0.9852 GB, free: 21.44 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0002248/0.2254, allocations: 83.22 kB / 0.9853 GB, free: 21.36 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0006318/0.2261, allocations: 346.1 kB / 0.9856 GB, free: 21.02 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005505/0.2266, allocations: 286.6 kB / 0.9859 GB, free: 20.74 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0007415/0.2274, allocations: 0.9757 MB / 0.9869 GB, free: 19.76 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000598/0.228, allocations: 468.3 kB / 0.9873 GB, free: 19.28 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002656/0.2283, allocations: 290.7 kB / 0.9876 GB, free: 19 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002968/0.2286, allocations: 318.6 kB / 0.9879 GB, free: 18.68 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 4.814e-05/0.2286, allocations: 20 kB / 0.9879 GB, free: 18.66 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003204/0.2289, allocations: 199.7 kB / 0.9881 GB, free: 18.47 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001248/0.2291, allocations: 163.4 kB / 0.9883 GB, free: 18.31 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 8.151e-05/0.2292, allocations: 137.3 kB / 0.9884 GB, free: 18.17 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0004606/0.2296, allocations: 0.6392 MB / 0.989 GB, free: 17.53 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.962e-06/0.2296, allocations: 0 / 0.989 GB, free: 17.53 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.683e-06/0.2297, allocations: 4 kB / 0.989 GB, free: 17.52 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 8.235e-06/0.2297, allocations: 0 / 0.989 GB, free: 17.52 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.0009976/0.2307, allocations: 0.8218 MB / 0.9898 GB, free: 16.65 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.238e-05/0.2307, allocations: 8.031 kB / 0.9898 GB, free: 16.64 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.12e-05/0.2308, allocations: 98.62 kB / 0.9899 GB, free: 16.54 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001033/0.2319, allocations: 203.9 kB / 0.9901 GB, free: 16.34 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004908/0.2324, allocations: 490.4 kB / 0.9906 GB, free: 15.82 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.303e-05/0.2324, allocations: 33.36 kB / 0.9906 GB, free: 15.79 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.661e-05/0.2325, allocations: 52.27 kB / 0.9907 GB, free: 15.74 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007881/0.2333, allocations: 0.8446 MB / 0.9915 GB, free: 14.76 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.379e-05/0.2333, allocations: 7.938 kB / 0.9915 GB, free: 14.75 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.159e-05/0.2333, allocations: 20 kB / 0.9915 GB, free: 14.73 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.597e-05/0.2334, allocations: 60.95 kB / 0.9916 GB, free: 14.68 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006573/0.2341, allocations: 0.5695 MB / 0.9921 GB, free: 14.11 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002936/0.237, allocations: 5.65 MB / 0.9976 GB, free: 8.062 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004992/0.2375, allocations: 466.2 kB / 0.9981 GB, free: 7.598 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002442/0.2378, allocations: 224.7 kB / 0.9983 GB, free: 7.375 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.387e-05/0.2378, allocations: 7.984 kB / 0.9983 GB, free: 7.367 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.964e-05/0.2378, allocations: 34.56 kB / 0.9983 GB, free: 7.324 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=32): time 1.693e-06/0.2379, allocations: 0 / 0.9983 GB, free: 7.324 MB / 0.6198 GB Notification: Performance of matching and sorting (n=33): time 0.00203/0.2399, allocations: 1.511 MB / 0.9998 GB, free: 5.699 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.297e-05/0.2399, allocations: 67.34 kB / 0.9999 GB, free: 5.621 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003566/0.2403, allocations: 487 kB / 1 GB, free: 5.133 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.793e-05/0.2403, allocations: 29.7 kB / 1 GB, free: 5.098 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001461/0.2405, allocations: 354.8 kB / 1.001 GB, free: 4.742 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 5.81e-05/0.2405, allocations: 122.3 kB / 1.001 GB, free: 4.621 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.826e-05/0.2406, allocations: 12 kB / 1.001 GB, free: 4.609 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.758e-05/0.2406, allocations: 362.8 kB / 1.001 GB, free: 4.246 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002201/0.2409, allocations: 197.2 kB / 1.001 GB, free: 4.055 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002996/0.2412, allocations: 443 kB / 1.002 GB, free: 3.504 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005613/0.2417, allocations: 0.6797 MB / 1.002 GB, free: 2.707 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.988e-06/0.2417, allocations: 7.984 kB / 1.002 GB, free: 2.699 MB / 0.6198 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.0009667/0.2427, allocations: 0.8015 MB / 1.003 GB, free: 1.875 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.812e-05/0.2427, allocations: 8 kB / 1.003 GB, free: 1.867 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.08e-05/0.2428, allocations: 8 kB / 1.003 GB, free: 1.859 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004268/0.2432, allocations: 160.7 kB / 1.003 GB, free: 1.688 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003822/0.2436, allocations: 119.8 kB / 1.004 GB, free: 1.57 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002623/0.2462, allocations: 4.04 MB / 1.007 GB, free: 13.13 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003233/0.2466, allocations: 31.97 kB / 1.008 GB, free: 13.1 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.628e-05/0.2466, allocations: 28 kB / 1.008 GB, free: 13.07 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.0002322/0.2468, allocations: 213.5 kB / 1.008 GB, free: 12.85 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.263e-05/0.2469, allocations: 63.44 kB / 1.008 GB, free: 12.79 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009296/0.2479, allocations: 0.5928 MB / 1.008 GB, free: 12.18 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.47e-06/0.2479, allocations: 4 kB / 1.008 GB, free: 12.17 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.522e-06/0.2479, allocations: 7.938 kB / 1.008 GB, free: 12.16 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.2e-06/0.2479, allocations: 0 / 1.008 GB, free: 12.16 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001679/0.2496, allocations: 1.258 MB / 1.01 GB, free: 10.82 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.095e-06/0.2496, allocations: 0 / 1.01 GB, free: 10.82 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002412/0.2499, allocations: 51.95 kB / 1.01 GB, free: 10.77 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003792/0.2502, allocations: 144.3 kB / 1.01 GB, free: 10.61 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.412e-05/0.2503, allocations: 8 kB / 1.01 GB, free: 10.6 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002947/0.2532, allocations: 4.029 MB / 1.014 GB, free: 6.172 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.348e-06/0.2533, allocations: 7.969 kB / 1.014 GB, free: 6.164 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009568/0.2542, allocations: 0.7037 MB / 1.014 GB, free: 5.406 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001905/0.2544, allocations: 172.2 kB / 1.015 GB, free: 5.219 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.764e-05/0.2545, allocations: 12 kB / 1.015 GB, free: 5.207 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002405/0.2547, allocations: 27.91 kB / 1.015 GB, free: 5.18 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.765e-05/0.2548, allocations: 31.89 kB / 1.015 GB, free: 5.148 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.018e-05/0.2548, allocations: 12 kB / 1.015 GB, free: 5.137 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0003451/0.2552, allocations: 326.8 kB / 1.015 GB, free: 4.82 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2552, allocations: 0 / 1.015 GB, free: 4.82 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0005613/0.2558, allocations: 144 kB / 1.015 GB, free: 4.68 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.001251/0.257, allocations: 1.264 MB / 1.016 GB, free: 3.355 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.001282/0.2583, allocations: 1.033 MB / 1.017 GB, free: 2.242 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/0.2583, allocations: 0 / 1.017 GB, free: 2.242 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0007848/0.2591, allocations: 0.7347 MB / 1.018 GB, free: 1.426 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001029/0.2602, allocations: 183.8 kB / 1.018 GB, free: 1.25 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004611/0.2648, allocations: 3.433 MB / 1.022 GB, free: 13.62 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004646/0.2653, allocations: 0.9058 MB / 1.023 GB, free: 12.68 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0003429/0.2656, allocations: 117.3 kB / 1.023 GB, free: 12.57 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002296/0.2659, allocations: 203.4 kB / 1.023 GB, free: 12.37 MB / 0.6511 GB Notification: Performance of SimCode: time 5.81e-07/0.2659, allocations: 0 / 1.023 GB, free: 12.37 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4717/0.7376, allocations: 12.05 MB / 1.035 GB, free: 0.5898 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002064/0.7378, allocations: 217.6 kB / 1.035 GB, free: 360 kB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.432/3.17, allocations: 7.438 kB / 1.035 GB, free: 356 kB / 0.6511 GB (rm -f Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Electrical_AC_OnePhase_Loads_Examples_TestImpedance_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Electrical_AC_OnePhase_Loads_Examples_TestImpedance.fmu > Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe 2>&1)