Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.DC.Sources.Examples.VoltageSource.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.DC.Sources.Examples.VoltageSource,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_DC_Sources_Examples_VoltageSource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.DC.Sources.Examples.VoltageSource,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_DC_Sources_Examples_VoltageSource",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.579/1.579, allocations: 288.4 MB / 303.6 MB, free: 8.176 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.0009903/0.0009904, allocations: 184.4 kB / 372.3 MB, free: 10.12 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.262/1.262, allocations: 205.4 MB / 0.631 GB, free: 9.891 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.000652/0.0006521, allocations: 98.23 kB / 0.7444 GB, free: 5.797 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005597/0.0005598, allocations: 12.47 kB / 0.8676 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1816/0.1822, allocations: 115.3 MB / 0.9802 GB, free: 27.26 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Sources.Examples.VoltageSource): time 0.002697/0.185, allocations: 2.775 MB / 0.9829 GB, free: 24.46 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001495/0.1865, allocations: 1.283 MB / 0.9841 GB, free: 23.17 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001071/0.1866, allocations: 4 kB / 0.9842 GB, free: 23.17 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001561/0.1868, allocations: 39.64 kB / 0.9842 GB, free: 23.13 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0003107/0.1871, allocations: 139.3 kB / 0.9843 GB, free: 22.99 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002867/0.1874, allocations: 127.7 kB / 0.9844 GB, free: 22.87 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002746/0.1877, allocations: 378.7 kB / 0.9848 GB, free: 22.5 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002621/0.1879, allocations: 244.9 kB / 0.985 GB, free: 22.24 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001372/0.1881, allocations: 107.6 kB / 0.9851 GB, free: 22.13 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002123/0.1883, allocations: 143.5 kB / 0.9853 GB, free: 21.99 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.399e-05/0.1883, allocations: 8 kB / 0.9853 GB, free: 21.98 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002255/0.1886, allocations: 199.6 kB / 0.9855 GB, free: 21.79 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 5.886e-05/0.1886, allocations: 67.8 kB / 0.9855 GB, free: 21.72 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 8.227e-05/0.1887, allocations: 133.2 kB / 0.9857 GB, free: 21.59 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002222/0.189, allocations: 263.6 kB / 0.9859 GB, free: 21.33 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.189, allocations: 4 kB / 0.9859 GB, free: 21.32 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.234e-06/0.189, allocations: 0 / 0.9859 GB, free: 21.32 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.688e-06/0.189, allocations: 7.938 kB / 0.9859 GB, free: 21.32 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: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.0006513/0.1897, allocations: 0.503 MB / 0.9864 GB, free: 20.77 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.616e-05/0.1897, allocations: 8.031 kB / 0.9864 GB, free: 20.76 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.711e-05/0.1898, allocations: 58.72 kB / 0.9865 GB, free: 20.69 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004993/0.1903, allocations: 84.5 kB / 0.9866 GB, free: 20.61 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002208/0.1905, allocations: 248.8 kB / 0.9868 GB, free: 20.33 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.477e-05/0.1905, allocations: 16.81 kB / 0.9868 GB, free: 20.31 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.616e-05/0.1905, allocations: 16.38 kB / 0.9868 GB, free: 20.3 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004032/0.191, allocations: 312.4 kB / 0.9871 GB, free: 19.96 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.073e-05/0.191, allocations: 0 / 0.9871 GB, free: 19.96 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.282e-05/0.191, allocations: 15.98 kB / 0.9871 GB, free: 19.95 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.717e-05/0.191, allocations: 16.42 kB / 0.9872 GB, free: 19.93 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002991/0.1913, allocations: 217.5 kB / 0.9874 GB, free: 19.72 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001116/0.1925, allocations: 1.501 MB / 0.9888 GB, free: 18.06 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003598/0.1928, allocations: 203.7 kB / 0.989 GB, free: 17.83 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.054e-05/0.1929, allocations: 44.84 kB / 0.9891 GB, free: 17.79 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.428e-05/0.193, allocations: 4 kB / 0.9891 GB, free: 17.78 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.502e-05/0.193, allocations: 34.56 kB / 0.9891 GB, free: 17.74 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=8): time 1.323e-06/0.193, allocations: 0 / 0.9891 GB, free: 17.74 MB / 0.6198 GB Notification: Performance of matching and sorting (n=8): time 0.0004756/0.1935, allocations: 271.7 kB / 0.9894 GB, free: 17.45 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.096e-05/0.1935, allocations: 59.41 kB / 0.9894 GB, free: 17.38 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001419/0.1936, allocations: 212.2 kB / 0.9896 GB, free: 17.16 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.312e-05/0.1937, allocations: 29.7 kB / 0.9897 GB, free: 17.12 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.167e-05/0.1937, allocations: 167.7 kB / 0.9898 GB, free: 16.95 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.792e-05/0.1938, allocations: 27.56 kB / 0.9898 GB, free: 16.93 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.834e-06/0.1938, allocations: 4 kB / 0.9898 GB, free: 16.92 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.088e-05/0.1938, allocations: 326.8 kB / 0.9902 GB, free: 16.59 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001075/0.1939, allocations: 51.92 kB / 0.9902 GB, free: 16.54 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001007/0.194, allocations: 121.5 kB / 0.9903 GB, free: 16.39 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001875/0.1942, allocations: 172.4 kB / 0.9905 GB, free: 16.2 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.776e-06/0.1943, allocations: 4 kB / 0.9905 GB, free: 16.19 MB / 0.6198 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.000287/0.1945, allocations: 214.2 kB / 0.9907 GB, free: 15.97 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.5e-05/0.1946, allocations: 4 kB / 0.9907 GB, free: 15.97 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.1946, allocations: 4.062 kB / 0.9907 GB, free: 15.96 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000156/0.1947, allocations: 32.78 kB / 0.9907 GB, free: 15.93 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001185/0.1949, allocations: 35.92 kB / 0.9908 GB, free: 15.89 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006938/0.1956, allocations: 1.323 MB / 0.9921 GB, free: 14.44 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001232/0.1957, allocations: 27.69 kB / 0.9921 GB, free: 14.41 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.147e-05/0.1957, allocations: 8 kB / 0.9921 GB, free: 14.41 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (18): * Single equations (assignments): 17 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.87e-05/0.1958, allocations: 153.9 kB / 0.9922 GB, free: 14.25 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.366e-05/0.1959, allocations: 19.75 kB / 0.9923 GB, free: 14.23 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.666e-05/0.1959, allocations: 21.39 kB / 0.9923 GB, free: 14.2 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.382e-06/0.1959, allocations: 0 / 0.9923 GB, free: 14.2 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.625e-06/0.1959, allocations: 0 / 0.9923 GB, free: 14.2 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.1959, allocations: 4 kB / 0.9923 GB, free: 14.2 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00045/0.1964, allocations: 491.2 kB / 0.9928 GB, free: 13.66 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.1964, allocations: 3.984 kB / 0.9928 GB, free: 13.65 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.824e-05/0.1965, allocations: 8 kB / 0.9928 GB, free: 13.64 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.648e-05/0.1965, allocations: 24.84 kB / 0.9928 GB, free: 13.62 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.335e-06/0.1965, allocations: 0 / 0.9928 GB, free: 13.62 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006008/0.1972, allocations: 1.327 MB / 0.9941 GB, free: 12.16 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.1972, allocations: 4 kB / 0.9941 GB, free: 12.16 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000222/0.1974, allocations: 248.3 kB / 0.9943 GB, free: 11.89 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 5.047e-05/0.1975, allocations: 104.8 kB / 0.9944 GB, free: 11.77 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.813e-05/0.1975, allocations: 3.984 kB / 0.9944 GB, free: 11.77 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001134/0.1976, allocations: 8 kB / 0.9944 GB, free: 11.76 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.887e-05/0.1976, allocations: 12.08 kB / 0.9944 GB, free: 11.75 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.743e-06/0.1977, allocations: 7.938 kB / 0.9945 GB, free: 11.74 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 8.519e-05/0.1977, allocations: 144.2 kB / 0.9946 GB, free: 11.6 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1978, allocations: 0 / 0.9946 GB, free: 11.6 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002969/0.1981, allocations: 55.84 kB / 0.9946 GB, free: 11.55 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (7): * Single equations (assignments): 6 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003915/0.1985, allocations: 0.7716 MB / 0.9954 GB, free: 10.75 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003715/0.1988, allocations: 235 kB / 0.9956 GB, free: 10.5 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.1988, allocations: 64 / 0.9956 GB, free: 10.5 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001625/0.199, allocations: 166.7 kB / 0.9958 GB, free: 10.33 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000354/0.1994, allocations: 30.22 kB / 0.9958 GB, free: 10.3 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001287/0.2007, allocations: 1.156 MB / 0.9969 GB, free: 9.07 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001755/0.2009, allocations: 0.7515 MB / 0.9977 GB, free: 8.293 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 9.598e-05/0.201, allocations: 29.53 kB / 0.9977 GB, free: 8.266 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.202e-05/0.201, allocations: 59.41 kB / 0.9978 GB, free: 8.211 MB / 0.6198 GB Notification: Performance of SimCode: time 4.21e-07/0.2011, allocations: 0 / 0.9978 GB, free: 8.211 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5178/0.7189, allocations: 3.633 MB / 1.001 GB, free: 4.766 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001984/0.7191, allocations: 225.9 kB / 1.002 GB, free: 4.523 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.159/2.878, allocations: 0 / 1.002 GB, free: 4.523 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.DC.Sources.Examples.VoltageSource.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Electrical_DC_Sources_Examples_VoltageSource_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Electrical_DC_Sources_Examples_VoltageSource.fmu > Buildings_maint.8.0.x_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe 2>&1)