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.VariableImpedance.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.VariableImpedance,fileNamePrefix="Buildings_maint_8_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_8_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 8.0.1-maint.8.0.x/package.mo): time 1.669/1.669, allocations: 288.4 MB / 303.3 MB, free: 8.199 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.001116/0.001116, allocations: 185.3 kB / 372 MB, free: 10.3 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.771/1.771, allocations: 205.4 MB / 0.6307 GB, free: 9.934 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.0009614/0.0009614, allocations: 90.3 kB / 0.744 GB, free: 5.848 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004077/0.0004078, allocations: 11.91 kB / 0.867 GB, free: 142.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2336/0.234, allocations: 115.3 MB / 0.9796 GB, free: 27.6 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance): time 0.003285/0.2373, allocations: 3.251 MB / 0.9828 GB, free: 24.33 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002166/0.2395, allocations: 1.728 MB / 0.9845 GB, free: 22.59 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001903/0.2397, allocations: 15.88 kB / 0.9845 GB, free: 22.57 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001983/0.2399, allocations: 59.5 kB / 0.9846 GB, free: 22.52 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0004751/0.2404, allocations: 226.8 kB / 0.9848 GB, free: 22.29 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003876/0.2408, allocations: 193.5 kB / 0.985 GB, free: 22.11 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0004509/0.2413, allocations: 0.6361 MB / 0.9856 GB, free: 21.46 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004866/0.2418, allocations: 338.4 kB / 0.9859 GB, free: 21.11 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002321/0.242, allocations: 203 kB / 0.9861 GB, free: 20.91 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002458/0.2423, allocations: 219.1 kB / 0.9863 GB, free: 20.7 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.517e-05/0.2423, allocations: 16 kB / 0.9863 GB, free: 20.68 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002143/0.2425, allocations: 127.8 kB / 0.9865 GB, free: 20.56 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 7.952e-05/0.2426, allocations: 103.6 kB / 0.9866 GB, free: 20.46 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 5.843e-05/0.2427, allocations: 97.45 kB / 0.9867 GB, free: 20.36 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0003187/0.243, allocations: 435.2 kB / 0.9871 GB, free: 19.93 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 7.093e-06/0.243, allocations: 0 / 0.9871 GB, free: 19.93 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.743e-06/0.243, allocations: 0 / 0.9871 GB, free: 19.93 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.402e-06/0.2431, allocations: 0 / 0.9871 GB, free: 19.93 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: 85 * Number of variables: 85 Notification: Performance of Generate backend data structure: time 0.0009228/0.244, allocations: 0.6777 MB / 0.9877 GB, free: 19.2 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.331e-05/0.244, allocations: 12.02 kB / 0.9877 GB, free: 19.19 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.363e-05/0.2441, allocations: 74.47 kB / 0.9878 GB, free: 19.11 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007851/0.2449, allocations: 135.2 kB / 0.9879 GB, free: 18.98 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003964/0.2453, allocations: 370.6 kB / 0.9883 GB, free: 18.57 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.958e-05/0.2453, allocations: 20.66 kB / 0.9883 GB, free: 18.55 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.324e-05/0.2454, allocations: 35.98 kB / 0.9884 GB, free: 18.52 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006834/0.2461, allocations: 0.5483 MB / 0.9889 GB, free: 17.9 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.91e-05/0.2461, allocations: 3.938 kB / 0.9889 GB, free: 17.89 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.37e-05/0.2462, allocations: 15.98 kB / 0.9889 GB, free: 17.88 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.063e-05/0.2462, allocations: 44.53 kB / 0.9889 GB, free: 17.84 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005848/0.2468, allocations: 417.7 kB / 0.9893 GB, free: 17.43 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001953/0.2488, allocations: 3.334 MB / 0.9926 GB, free: 13.84 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005847/0.2494, allocations: 340.2 kB / 0.9929 GB, free: 13.5 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002527/0.2496, allocations: 180.8 kB / 0.9931 GB, free: 13.32 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.138e-05/0.2497, allocations: 0 / 0.9931 GB, free: 13.32 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.718e-05/0.2497, allocations: 38.56 kB / 0.9931 GB, free: 13.28 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=26): time 1.072e-06/0.2497, allocations: 0 / 0.9931 GB, free: 13.28 MB / 0.6198 GB Notification: Performance of matching and sorting (n=27): time 0.001769/0.2515, allocations: 1.082 MB / 0.9942 GB, free: 12.13 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.981e-05/0.2515, allocations: 51.64 kB / 0.9942 GB, free: 12.07 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002542/0.2518, allocations: 345.5 kB / 0.9946 GB, free: 11.72 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.937e-05/0.2518, allocations: 29.7 kB / 0.9946 GB, free: 11.68 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001025/0.2519, allocations: 247.5 kB / 0.9948 GB, free: 11.43 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 5.393e-05/0.252, allocations: 94.64 kB / 0.9949 GB, free: 11.34 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.682e-05/0.252, allocations: 15.94 kB / 0.9949 GB, free: 11.32 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.786e-05/0.2521, allocations: 342.8 kB / 0.9953 GB, free: 10.98 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002378/0.2523, allocations: 152.8 kB / 0.9954 GB, free: 10.83 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002867/0.2526, allocations: 303 kB / 0.9957 GB, free: 10.47 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002676/0.2529, allocations: 195.8 kB / 0.9959 GB, free: 10.28 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/0.2529, allocations: 4 kB / 0.9959 GB, free: 10.27 MB / 0.6198 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0008065/0.2537, allocations: 0.5664 MB / 0.9964 GB, free: 9.691 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.971e-05/0.2537, allocations: 9.562 kB / 0.9965 GB, free: 9.684 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.265e-06/0.2538, allocations: 7.984 kB / 0.9965 GB, free: 9.676 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002819/0.254, allocations: 95 kB / 0.9966 GB, free: 9.574 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003392/0.2544, allocations: 91.83 kB / 0.9966 GB, free: 9.484 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.309e-05/0.2544, allocations: 11.92 kB / 0.9967 GB, free: 9.473 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002394/0.2547, allocations: 31.97 kB / 0.9967 GB, free: 9.441 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.516e-05/0.2547, allocations: 16 kB / 0.9967 GB, free: 9.426 MB / 0.6198 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.0001549/0.2549, allocations: 181.7 kB / 0.9969 GB, free: 9.238 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.552e-05/0.2549, allocations: 39.53 kB / 0.9969 GB, free: 9.199 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007559/0.2557, allocations: 464.1 kB / 0.9974 GB, free: 8.73 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.711e-06/0.2557, allocations: 15.88 kB / 0.9974 GB, free: 8.715 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.093e-06/0.2557, allocations: 0 / 0.9974 GB, free: 8.715 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/0.2557, allocations: 0 / 0.9974 GB, free: 8.715 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001111/0.2568, allocations: 0.9718 MB / 0.9983 GB, free: 7.668 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.2568, allocations: 0 / 0.9983 GB, free: 7.668 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002171/0.2571, allocations: 47.97 kB / 0.9984 GB, free: 7.621 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002048/0.2573, allocations: 90.53 kB / 0.9984 GB, free: 7.523 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.788e-05/0.2573, allocations: 8 kB / 0.9985 GB, free: 7.516 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.2573, allocations: 0 / 0.9985 GB, free: 7.516 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.2573, allocations: 4 kB / 0.9985 GB, free: 7.512 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000663/0.258, allocations: 0.5506 MB / 0.999 GB, free: 6.926 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001163/0.2581, allocations: 144.6 kB / 0.9991 GB, free: 6.766 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.235e-05/0.2582, allocations: 0 / 0.9991 GB, free: 6.766 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002159/0.2584, allocations: 31.97 kB / 0.9992 GB, free: 6.734 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.002e-05/0.2585, allocations: 31.89 kB / 0.9992 GB, free: 6.703 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.442e-05/0.2585, allocations: 8 kB / 0.9992 GB, free: 6.695 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001602/0.2586, allocations: 231.2 kB / 0.9994 GB, free: 6.473 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2587, allocations: 4 kB / 0.9994 GB, free: 6.469 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003406/0.259, allocations: 84 kB / 0.9995 GB, free: 6.387 MB / 0.6198 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.0008539/0.2599, allocations: 1.1 MB / 1.001 GB, free: 5.242 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0006865/0.2606, allocations: 0.6389 MB / 1.001 GB, free: 4.539 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.2606, allocations: 0 / 1.001 GB, free: 4.539 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.000324/0.2609, allocations: 438.6 kB / 1.002 GB, free: 4.047 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006305/0.2615, allocations: 121.2 kB / 1.002 GB, free: 3.934 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002688/0.2642, allocations: 2.373 MB / 1.004 GB, free: 1.434 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002001/0.2645, allocations: 0.8273 MB / 1.005 GB, free: 0.5781 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0002242/0.2647, allocations: 75.36 kB / 1.005 GB, free: 0.5039 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001521/0.2648, allocations: 131.4 kB / 1.005 GB, free: 384 kB / 0.6198 GB Notification: Performance of SimCode: time 2.3e-07/0.2649, allocations: 0 / 1.005 GB, free: 384 kB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01954/0.2844, allocations: 7.829 MB / 1.013 GB, free: 8.777 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001685/0.2846, allocations: 234.5 kB / 1.013 GB, free: 8.539 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.124/2.409, allocations: 4.062 kB / 1.013 GB, free: 8.535 MB / 0.6355 GB (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Electrical_AC_OnePhase_Loads_Examples_VariableImpedance_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Electrical_AC_OnePhase_Loads_Examples_VariableImpedance.fmu > Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe 2>&1)