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.86/1.86, allocations: 288.2 MB / 303.2 MB, free: 8.148 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.001077/0.001077, allocations: 187.4 kB / 371.8 MB, free: 10.29 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.722/1.722, allocations: 205.4 MB / 0.6305 GB, free: 10.01 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.0009583/0.0009584, allocations: 82.98 kB / 0.7439 GB, free: 5.938 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003717/0.0003718, allocations: 18.98 kB / 0.8669 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2036/0.204, allocations: 115.3 MB / 0.9795 GB, free: 27.61 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance): time 0.00323/0.2073, allocations: 3.162 MB / 0.9826 GB, free: 24.42 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002045/0.2094, allocations: 1.709 MB / 0.9842 GB, free: 22.7 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001929/0.2096, allocations: 11.88 kB / 0.9843 GB, free: 22.69 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.000143/0.2097, allocations: 47.67 kB / 0.9843 GB, free: 22.64 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.000475/0.2102, allocations: 235.2 kB / 0.9845 GB, free: 22.41 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004078/0.2106, allocations: 189.7 kB / 0.9847 GB, free: 22.23 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0003459/0.211, allocations: 392.8 kB / 0.9851 GB, free: 21.84 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004711/0.2115, allocations: 342.4 kB / 0.9854 GB, free: 21.49 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002321/0.2117, allocations: 191.3 kB / 0.9856 GB, free: 21.3 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002494/0.212, allocations: 187.2 kB / 0.9858 GB, free: 21.12 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.802e-05/0.212, allocations: 12 kB / 0.9858 GB, free: 21.11 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001861/0.2122, allocations: 103.8 kB / 0.9859 GB, free: 21 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 7.202e-05/0.2123, allocations: 95.64 kB / 0.986 GB, free: 20.91 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 5.781e-05/0.2124, allocations: 101.5 kB / 0.9861 GB, free: 20.8 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0003227/0.2127, allocations: 403.2 kB / 0.9865 GB, free: 20.41 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.835e-06/0.2127, allocations: 0 / 0.9865 GB, free: 20.41 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.452e-06/0.2127, allocations: 4 kB / 0.9865 GB, free: 20.41 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.943e-06/0.2127, allocations: 0 / 0.9865 GB, free: 20.41 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.0008946/0.2136, allocations: 0.666 MB / 0.9871 GB, free: 19.69 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.904e-05/0.2137, allocations: 12.02 kB / 0.9871 GB, free: 19.68 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.464e-05/0.2137, allocations: 70.52 kB / 0.9872 GB, free: 19.6 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006401/0.2144, allocations: 123.3 kB / 0.9873 GB, free: 19.48 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004587/0.2148, allocations: 366.5 kB / 0.9877 GB, free: 19.08 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.836e-05/0.2149, allocations: 20.66 kB / 0.9877 GB, free: 19.06 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.581e-05/0.2149, allocations: 24 kB / 0.9877 GB, free: 19.04 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006321/0.2156, allocations: 0.5678 MB / 0.9882 GB, free: 18.4 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.79e-05/0.2156, allocations: 0 / 0.9882 GB, free: 18.4 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.418e-05/0.2156, allocations: 12 kB / 0.9883 GB, free: 18.39 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.714e-05/0.2157, allocations: 48.53 kB / 0.9883 GB, free: 18.34 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005653/0.2163, allocations: 413.7 kB / 0.9887 GB, free: 17.94 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001931/0.2182, allocations: 3.334 MB / 0.992 GB, free: 14.36 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005581/0.2188, allocations: 342.6 kB / 0.9923 GB, free: 14.01 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.089e-05/0.2188, allocations: 3.938 kB / 0.9923 GB, free: 14.01 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.596e-05/0.2188, allocations: 46.55 kB / 0.9923 GB, free: 13.95 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=26): time 2.164e-06/0.2189, allocations: 0 / 0.9923 GB, free: 13.95 MB / 0.6198 GB Notification: Performance of matching and sorting (n=27): time 0.001751/0.2206, allocations: 1.072 MB / 0.9934 GB, free: 12.82 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.997e-05/0.2207, allocations: 63.58 kB / 0.9934 GB, free: 12.74 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000264/0.2209, allocations: 341.5 kB / 0.9938 GB, free: 12.4 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.084e-05/0.221, allocations: 29.7 kB / 0.9938 GB, free: 12.36 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001252/0.2211, allocations: 239.6 kB / 0.994 GB, free: 12.12 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 5.668e-05/0.2211, allocations: 102.6 kB / 0.9941 GB, free: 12.02 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.543e-05/0.2212, allocations: 4 kB / 0.9941 GB, free: 12.02 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.362e-05/0.2213, allocations: 342.8 kB / 0.9944 GB, free: 11.67 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002323/0.2215, allocations: 160.8 kB / 0.9946 GB, free: 11.51 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000273/0.2218, allocations: 291 kB / 0.9949 GB, free: 11.16 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002695/0.2221, allocations: 199.8 kB / 0.9951 GB, free: 10.97 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.2221, allocations: 0 / 0.9951 GB, free: 10.97 MB / 0.6198 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0008384/0.2229, allocations: 0.5741 MB / 0.9956 GB, free: 10.38 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.545e-05/0.2229, allocations: 8.625 kB / 0.9956 GB, free: 10.37 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.834e-06/0.223, allocations: 8 kB / 0.9956 GB, free: 10.36 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002918/0.2232, allocations: 86.5 kB / 0.9957 GB, free: 10.27 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003315/0.2236, allocations: 95.81 kB / 0.9958 GB, free: 10.18 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.138e-05/0.2236, allocations: 8 kB / 0.9958 GB, free: 10.17 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002575/0.2239, allocations: 27.97 kB / 0.9959 GB, free: 10.14 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.492e-05/0.2239, allocations: 20 kB / 0.9959 GB, free: 10.12 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.0001706/0.2241, allocations: 181.6 kB / 0.996 GB, free: 9.934 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.597e-05/0.2241, allocations: 39.53 kB / 0.9961 GB, free: 9.895 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007945/0.2249, allocations: 468.1 kB / 0.9965 GB, free: 9.422 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.052e-06/0.225, allocations: 0 / 0.9965 GB, free: 9.422 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.176e-05/0.225, allocations: 7.953 kB / 0.9965 GB, free: 9.414 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.74e-06/0.225, allocations: 4 kB / 0.9965 GB, free: 9.41 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001265/0.2263, allocations: 0.9678 MB / 0.9975 GB, free: 8.367 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.097e-06/0.2263, allocations: 4 kB / 0.9975 GB, free: 8.363 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002332/0.2265, allocations: 51.89 kB / 0.9975 GB, free: 8.312 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002083/0.2267, allocations: 82.61 kB / 0.9976 GB, free: 8.223 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.228e-05/0.2268, allocations: 4 kB / 0.9976 GB, free: 8.219 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.376e-06/0.2268, allocations: 7.938 kB / 0.9976 GB, free: 8.211 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.2268, allocations: 7.922 kB / 0.9976 GB, free: 8.203 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006647/0.2275, allocations: 0.5869 MB / 0.9982 GB, free: 7.562 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001373/0.2276, allocations: 140.6 kB / 0.9983 GB, free: 7.406 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.812e-05/0.2277, allocations: 8 kB / 0.9984 GB, free: 7.398 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002138/0.2279, allocations: 23.97 kB / 0.9984 GB, free: 7.375 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.873e-05/0.228, allocations: 19.97 kB / 0.9984 GB, free: 7.355 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.743e-05/0.228, allocations: 11.95 kB / 0.9984 GB, free: 7.344 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001836/0.2282, allocations: 235.2 kB / 0.9986 GB, free: 7.117 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2282, allocations: 0 / 0.9986 GB, free: 7.117 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0004116/0.2286, allocations: 84 kB / 0.9987 GB, free: 7.035 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.0009128/0.2295, allocations: 1.347 MB / 1 GB, free: 5.633 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0007195/0.2302, allocations: 0.6394 MB / 1.001 GB, free: 4.93 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.2303, allocations: 0 / 1.001 GB, free: 4.93 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0003437/0.2306, allocations: 445.6 kB / 1.001 GB, free: 4.43 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005294/0.2311, allocations: 111.5 kB / 1.001 GB, free: 4.324 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003539/0.2347, allocations: 5.363 MB / 1.006 GB, free: 14.8 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003716/0.2351, allocations: 0.8317 MB / 1.007 GB, free: 13.94 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0002957/0.2354, allocations: 83.34 kB / 1.007 GB, free: 13.86 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001708/0.2356, allocations: 131.4 kB / 1.007 GB, free: 13.73 MB / 0.6355 GB Notification: Performance of SimCode: time 4.11e-07/0.2356, allocations: 0 / 1.007 GB, free: 13.73 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02122/0.2568, allocations: 7.817 MB / 1.015 GB, free: 6.152 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002733/0.2571, allocations: 223.9 kB / 1.015 GB, free: 5.918 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.053/2.31, allocations: 0 / 1.015 GB, free: 5.918 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)