Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.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.VariableImpedance,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_AC_OnePhase_Loads_Examples_VariableImpedance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 1.521/1.521, allocations: 287.4 MB / 302.5 MB, free: 8.355 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.0009532/0.0009532, allocations: 184.8 kB / 371.1 MB, free: 10.83 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.408/1.408, allocations: 205.4 MB / 0.6298 GB, free: 10.54 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.0007177/0.0007178, allocations: 86.38 kB / 0.7431 GB, free: 6.539 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003696/0.0003697, allocations: 10.84 kB / 0.8662 GB, free: 140.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2124/0.2127, allocations: 115.3 MB / 0.9787 GB, free: 28.09 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance): time 0.003145/0.2159, allocations: 3.266 MB / 0.9819 GB, free: 24.8 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002255/0.2182, allocations: 1.721 MB / 0.9836 GB, free: 23.07 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001746/0.2184, allocations: 11.94 kB / 0.9836 GB, free: 23.06 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0002045/0.2186, allocations: 59.44 kB / 0.9837 GB, free: 23 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0005313/0.2192, allocations: 226.8 kB / 0.9839 GB, free: 22.78 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004102/0.2196, allocations: 184.4 kB / 0.9841 GB, free: 22.6 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0004753/0.2201, allocations: 0.6399 MB / 0.9847 GB, free: 21.96 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005527/0.2206, allocations: 383.8 kB / 0.9851 GB, free: 21.56 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002444/0.2209, allocations: 199.1 kB / 0.9853 GB, free: 21.37 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002569/0.2212, allocations: 211.1 kB / 0.9855 GB, free: 21.16 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.81e-05/0.2212, allocations: 16 kB / 0.9855 GB, free: 21.14 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002427/0.2214, allocations: 131.8 kB / 0.9856 GB, free: 21.02 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 9.07e-05/0.2215, allocations: 107.6 kB / 0.9857 GB, free: 20.91 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 5.857e-05/0.2216, allocations: 97.52 kB / 0.9858 GB, free: 20.81 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.00033/0.222, allocations: 435.1 kB / 0.9862 GB, free: 20.38 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/0.222, allocations: 0 / 0.9862 GB, free: 20.38 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.903e-06/0.222, allocations: 0 / 0.9862 GB, free: 20.38 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.891e-06/0.222, allocations: 0 / 0.9862 GB, free: 20.38 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.0008527/0.2228, allocations: 0.6779 MB / 0.9869 GB, free: 19.66 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.44e-05/0.2229, allocations: 8.031 kB / 0.9869 GB, free: 19.65 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.292e-05/0.223, allocations: 66.72 kB / 0.9869 GB, free: 19.57 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007553/0.2237, allocations: 136.2 kB / 0.9871 GB, free: 19.44 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003649/0.2241, allocations: 375.6 kB / 0.9874 GB, free: 19.04 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.515e-05/0.2241, allocations: 24.97 kB / 0.9875 GB, free: 19.01 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.829e-05/0.2242, allocations: 32.36 kB / 0.9875 GB, free: 18.98 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006162/0.2248, allocations: 0.5509 MB / 0.988 GB, free: 18.36 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.608e-05/0.2248, allocations: 4 kB / 0.988 GB, free: 18.36 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.089e-05/0.2249, allocations: 19.98 kB / 0.988 GB, free: 18.34 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.836e-05/0.2249, allocations: 40.55 kB / 0.9881 GB, free: 18.3 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005737/0.2255, allocations: 413.7 kB / 0.9885 GB, free: 17.89 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002031/0.2275, allocations: 3.341 MB / 0.9917 GB, free: 14.3 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005382/0.2281, allocations: 338.4 kB / 0.9921 GB, free: 13.96 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002554/0.2284, allocations: 190.1 kB / 0.9922 GB, free: 13.78 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.084e-05/0.2284, allocations: 0 / 0.9922 GB, free: 13.78 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.751e-05/0.2284, allocations: 42.56 kB / 0.9923 GB, free: 13.73 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=26): time 1.032e-06/0.2284, allocations: 0 / 0.9923 GB, free: 13.73 MB / 0.6198 GB Notification: Performance of matching and sorting (n=27): time 0.001682/0.2301, allocations: 1.079 MB / 0.9933 GB, free: 12.58 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.753e-05/0.2301, allocations: 51.64 kB / 0.9934 GB, free: 12.52 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002345/0.2304, allocations: 341.6 kB / 0.9937 GB, free: 12.18 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.76e-05/0.2304, allocations: 29.64 kB / 0.9937 GB, free: 12.14 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001024/0.2305, allocations: 243.5 kB / 0.994 GB, free: 11.89 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.536e-05/0.2306, allocations: 102.6 kB / 0.9941 GB, free: 11.79 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.399e-05/0.2306, allocations: 8 kB / 0.9941 GB, free: 11.79 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.865e-05/0.2307, allocations: 346.8 kB / 0.9944 GB, free: 11.44 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002277/0.2309, allocations: 152.8 kB / 0.9946 GB, free: 11.29 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002718/0.2312, allocations: 294.5 kB / 0.9948 GB, free: 10.93 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005192/0.2317, allocations: 498.7 kB / 0.9953 GB, free: 10.38 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.2317, allocations: 4 kB / 0.9953 GB, free: 10.38 MB / 0.6198 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0007728/0.2325, allocations: 0.5617 MB / 0.9959 GB, free: 9.801 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.771e-05/0.2325, allocations: 11.94 kB / 0.9959 GB, free: 9.789 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.195e-06/0.2326, allocations: 4.562 kB / 0.9959 GB, free: 9.785 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002699/0.2328, allocations: 86.52 kB / 0.996 GB, free: 9.691 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003359/0.2332, allocations: 91.88 kB / 0.996 GB, free: 9.602 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.283e-05/0.2332, allocations: 15.86 kB / 0.9961 GB, free: 9.586 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002332/0.2334, allocations: 27.89 kB / 0.9961 GB, free: 9.559 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.476e-05/0.2335, allocations: 23.98 kB / 0.9961 GB, free: 9.535 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.0001414/0.2336, allocations: 189.6 kB / 0.9963 GB, free: 9.34 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.074e-05/0.2337, allocations: 35.62 kB / 0.9963 GB, free: 9.305 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007232/0.2344, allocations: 471.9 kB / 0.9968 GB, free: 8.828 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.408e-06/0.2344, allocations: 7.938 kB / 0.9968 GB, free: 8.82 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.963e-06/0.2344, allocations: 3.984 kB / 0.9968 GB, free: 8.816 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.576e-06/0.2344, allocations: 0 / 0.9968 GB, free: 8.816 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001114/0.2356, allocations: 0.9677 MB / 0.9977 GB, free: 7.773 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.375e-06/0.2356, allocations: 0 / 0.9977 GB, free: 7.773 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002149/0.2358, allocations: 51.91 kB / 0.9978 GB, free: 7.723 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001969/0.236, allocations: 82.59 kB / 0.9979 GB, free: 7.633 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.739e-05/0.236, allocations: 8 kB / 0.9979 GB, free: 7.625 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-06/0.236, allocations: 0 / 0.9979 GB, free: 7.625 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.236, allocations: 4 kB / 0.9979 GB, free: 7.621 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006355/0.2367, allocations: 0.555 MB / 0.9984 GB, free: 7.031 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001087/0.2368, allocations: 136.6 kB / 0.9985 GB, free: 6.879 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.687e-05/0.2369, allocations: 4 kB / 0.9986 GB, free: 6.875 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002237/0.2371, allocations: 35.84 kB / 0.9986 GB, free: 6.84 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.325e-05/0.2372, allocations: 23.97 kB / 0.9986 GB, free: 6.816 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.554e-05/0.2372, allocations: 11.98 kB / 0.9986 GB, free: 6.805 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001607/0.2373, allocations: 227.2 kB / 0.9988 GB, free: 6.582 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2374, allocations: 4 kB / 0.9988 GB, free: 6.578 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003462/0.2377, allocations: 88 kB / 0.9989 GB, free: 6.492 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.0008481/0.2386, allocations: 1.096 MB / 1 GB, free: 5.352 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0006656/0.2392, allocations: 0.6384 MB / 1.001 GB, free: 4.648 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.2392, allocations: 0 / 1.001 GB, free: 4.648 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.000316/0.2396, allocations: 447.7 kB / 1.001 GB, free: 4.148 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000625/0.2402, allocations: 114.7 kB / 1.001 GB, free: 4.039 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002643/0.2429, allocations: 2.353 MB / 1.003 GB, free: 1.559 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002723/0.2431, allocations: 0.8311 MB / 1.004 GB, free: 0.7031 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0002527/0.2434, allocations: 83.33 kB / 1.004 GB, free: 0.6211 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001557/0.2436, allocations: 131.4 kB / 1.004 GB, free: 0.4922 MB / 0.6198 GB Notification: Performance of SimCode: time 5.61e-07/0.2436, allocations: 0 / 1.004 GB, free: 0.4922 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4597/0.7033, allocations: 7.818 MB / 1.012 GB, free: 8.934 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002834/0.7036, allocations: 225.2 kB / 1.012 GB, free: 8.695 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.137/2.841, allocations: 0 / 1.012 GB, free: 8.695 MB / 0.6355 GB (rm -f Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Electrical_AC_OnePhase_Loads_Examples_VariableImpedance_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Electrical_AC_OnePhase_Loads_Examples_VariableImpedance.fmu > Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe 2>&1)