Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.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.Sources.Examples.FixedVoltageSource,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_AC_OnePhase_Sources_Examples_FixedVoltageSource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_AC_OnePhase_Sources_Examples_FixedVoltageSource",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.674/1.674, allocations: 288.2 MB / 303.2 MB, free: 8.152 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.001154/0.001154, allocations: 173 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.473/1.473, allocations: 205.4 MB / 0.6305 GB, free: 10 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.0008002/0.0008001, allocations: 93.27 kB / 0.7439 GB, free: 5.938 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003794/0.0003795, allocations: 12.66 kB / 0.8669 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1986/0.199, allocations: 115.3 MB / 0.9795 GB, free: 27.6 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource): time 0.00214/0.2011, allocations: 2.037 MB / 0.9815 GB, free: 25.55 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001539/0.2027, allocations: 1.346 MB / 0.9828 GB, free: 24.19 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.152e-05/0.2028, allocations: 0 / 0.9828 GB, free: 24.19 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001071/0.2029, allocations: 23.84 kB / 0.9828 GB, free: 24.17 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0002423/0.2032, allocations: 83.67 kB / 0.9829 GB, free: 24.09 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003056/0.2035, allocations: 146.1 kB / 0.983 GB, free: 23.95 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001518/0.2036, allocations: 131.7 kB / 0.9832 GB, free: 23.82 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003443/0.204, allocations: 222.3 kB / 0.9834 GB, free: 23.58 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 9.069e-05/0.2041, allocations: 63.77 kB / 0.9834 GB, free: 23.52 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001496/0.2042, allocations: 63.75 kB / 0.9835 GB, free: 23.45 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.625e-05/0.2043, allocations: 4 kB / 0.9835 GB, free: 23.45 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001526/0.2044, allocations: 111.8 kB / 0.9836 GB, free: 23.34 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 4.814e-05/0.2045, allocations: 55.88 kB / 0.9837 GB, free: 23.29 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.089e-05/0.2045, allocations: 45.64 kB / 0.9837 GB, free: 23.23 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.000193/0.2047, allocations: 211.4 kB / 0.9839 GB, free: 23.03 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 1.763e-06/0.2047, allocations: 4 kB / 0.9839 GB, free: 23.02 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.423e-06/0.2047, allocations: 0 / 0.9839 GB, free: 23.02 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.589e-06/0.2047, allocations: 0 / 0.9839 GB, free: 23.02 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: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0005117/0.2053, allocations: 439.1 kB / 0.9843 GB, free: 22.55 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.747e-05/0.2053, allocations: 11.97 kB / 0.9843 GB, free: 22.54 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.419e-05/0.2054, allocations: 58.55 kB / 0.9844 GB, free: 22.47 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004805/0.2058, allocations: 71.59 kB / 0.9845 GB, free: 22.4 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002121/0.2061, allocations: 218.8 kB / 0.9847 GB, free: 22.14 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.134e-05/0.2061, allocations: 16.22 kB / 0.9847 GB, free: 22.13 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.382e-05/0.2061, allocations: 15.98 kB / 0.9847 GB, free: 22.11 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003491/0.2065, allocations: 279.7 kB / 0.985 GB, free: 21.8 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.37e-05/0.2065, allocations: 0 / 0.985 GB, free: 21.8 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.287e-05/0.2065, allocations: 8 kB / 0.985 GB, free: 21.8 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.928e-05/0.2066, allocations: 20.16 kB / 0.985 GB, free: 21.77 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002515/0.2068, allocations: 208.5 kB / 0.9852 GB, free: 21.57 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001241/0.2081, allocations: 1.576 MB / 0.9867 GB, free: 19.86 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002801/0.2084, allocations: 327.3 kB / 0.987 GB, free: 19.48 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.454e-05/0.2084, allocations: 0 / 0.987 GB, free: 19.48 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.291e-05/0.2084, allocations: 38.52 kB / 0.9871 GB, free: 19.44 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=9): time 1.343e-06/0.2084, allocations: 0 / 0.9871 GB, free: 19.44 MB / 0.6198 GB Notification: Performance of matching and sorting (n=10): time 0.0004249/0.2089, allocations: 244.7 kB / 0.9873 GB, free: 19.19 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.289e-05/0.2089, allocations: 77.11 kB / 0.9874 GB, free: 19.1 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001293/0.209, allocations: 203.5 kB / 0.9876 GB, free: 18.89 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.007e-05/0.209, allocations: 29.7 kB / 0.9876 GB, free: 18.86 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.293e-05/0.2091, allocations: 155.7 kB / 0.9878 GB, free: 18.7 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.061e-05/0.2091, allocations: 35.48 kB / 0.9878 GB, free: 18.66 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.017e-05/0.2091, allocations: 4 kB / 0.9878 GB, free: 18.66 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.474e-05/0.2092, allocations: 322.8 kB / 0.9881 GB, free: 18.34 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.55e-05/0.2093, allocations: 63.97 kB / 0.9882 GB, free: 18.27 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001141/0.2094, allocations: 160.5 kB / 0.9883 GB, free: 18.08 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000112/0.2095, allocations: 87.97 kB / 0.9884 GB, free: 17.99 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-06/0.2095, allocations: 0 / 0.9884 GB, free: 17.99 MB / 0.6198 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0002958/0.2098, allocations: 265.4 kB / 0.9887 GB, free: 17.73 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001843/0.21, allocations: 1.13 MB / 0.9898 GB, free: 16.51 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.843e-06/0.21, allocations: 4 kB / 0.9898 GB, free: 16.5 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.362e-05/0.2101, allocations: 4 kB / 0.9898 GB, free: 16.5 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00022/0.2103, allocations: 59.91 kB / 0.9898 GB, free: 16.44 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.413e-06/0.2103, allocations: 4.469 kB / 0.9898 GB, free: 16.44 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001352/0.2105, allocations: 11.98 kB / 0.9898 GB, free: 16.43 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.691e-05/0.2105, allocations: 15.98 kB / 0.9899 GB, free: 16.41 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 6.994e-06/0.2105, allocations: 7.938 kB / 0.9899 GB, free: 16.4 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002141/0.2107, allocations: 188 kB / 0.99 GB, free: 16.22 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.856e-06/0.2107, allocations: 8.031 kB / 0.99 GB, free: 16.21 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.088e-06/0.2107, allocations: 4 kB / 0.99 GB, free: 16.21 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001424/0.2109, allocations: 55.86 kB / 0.9901 GB, free: 16.15 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.127e-06/0.2109, allocations: 11.92 kB / 0.9901 GB, free: 16.14 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.759e-05/0.211, allocations: 15.89 kB / 0.9901 GB, free: 16.12 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.046e-05/0.211, allocations: 8 kB / 0.9901 GB, free: 16.12 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (25): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.054e-05/0.2111, allocations: 221 kB / 0.9903 GB, free: 15.89 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.627e-05/0.2112, allocations: 11.91 kB / 0.9904 GB, free: 15.88 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002048/0.2114, allocations: 158.9 kB / 0.9905 GB, free: 15.72 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.517e-06/0.2114, allocations: 7.938 kB / 0.9905 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.2114, allocations: 0 / 0.9905 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.646e-06/0.2114, allocations: 0 / 0.9905 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006992/0.2121, allocations: 0.7158 MB / 0.9912 GB, free: 14.91 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/0.2121, allocations: 4 kB / 0.9912 GB, free: 14.91 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.383e-05/0.2122, allocations: 27.91 kB / 0.9912 GB, free: 14.88 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.608e-06/0.2122, allocations: 4 kB / 0.9913 GB, free: 14.88 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.251e-05/0.2122, allocations: 11.94 kB / 0.9913 GB, free: 14.87 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.725e-06/0.2123, allocations: 4 kB / 0.9913 GB, free: 14.86 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.484e-06/0.2123, allocations: 8.344 kB / 0.9913 GB, free: 14.86 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002407/0.2125, allocations: 491.6 kB / 0.9917 GB, free: 14.27 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 6.87e-05/0.2126, allocations: 104.9 kB / 0.9918 GB, free: 14.15 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.976e-05/0.2126, allocations: 12.08 kB / 0.9919 GB, free: 14.14 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001559/0.2128, allocations: 11.98 kB / 0.9919 GB, free: 14.12 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.635e-05/0.2128, allocations: 19.92 kB / 0.9919 GB, free: 14.11 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.626e-06/0.2128, allocations: 8 kB / 0.9919 GB, free: 14.1 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 8.924e-05/0.2129, allocations: 144.9 kB / 0.992 GB, free: 13.96 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2129, allocations: 0 / 0.992 GB, free: 13.96 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0004458/0.2134, allocations: 68 kB / 0.9921 GB, free: 13.89 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * 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 (11): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005073/0.2139, allocations: 1.728 MB / 0.9938 GB, free: 12.07 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003317/0.2142, allocations: 256.9 kB / 0.994 GB, free: 11.82 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.075e-06/0.2142, allocations: 0 / 0.994 GB, free: 11.82 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 6.696e-05/0.2143, allocations: 68.27 kB / 0.9941 GB, free: 11.75 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003097/0.2146, allocations: 25.86 kB / 0.9941 GB, free: 11.73 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001533/0.2162, allocations: 2.955 MB / 0.997 GB, free: 8.645 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001791/0.2164, allocations: 0.7363 MB / 0.9977 GB, free: 7.879 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001799/0.2166, allocations: 69.47 kB / 0.9978 GB, free: 7.812 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.078e-05/0.2166, allocations: 51.41 kB / 0.9978 GB, free: 7.762 MB / 0.6198 GB Notification: Performance of SimCode: time 2.1e-07/0.2167, allocations: 4 kB / 0.9978 GB, free: 7.758 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01761/0.2343, allocations: 3.289 MB / 1.001 GB, free: 4.656 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002074/0.2345, allocations: 208.2 kB / 1.001 GB, free: 4.418 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.619/1.853, allocations: 6.656 kB / 1.001 GB, free: 4.414 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Electrical_AC_OnePhase_Sources_Examples_FixedVoltageSource_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Electrical_AC_OnePhase_Sources_Examples_FixedVoltageSource.fmu > Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe 2>&1)