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.793/1.793, allocations: 288.2 MB / 303.2 MB, free: 8.207 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.001075/0.001075, allocations: 187.5 kB / 371.8 MB, free: 10.27 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.635/1.635, allocations: 205.4 MB / 0.6305 GB, free: 9.875 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.001017/0.001017, allocations: 90.92 kB / 0.7439 GB, free: 5.805 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004035/0.0004035, allocations: 10.25 kB / 0.8669 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2716/0.272, allocations: 115.3 MB / 0.9795 GB, free: 27.58 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Sources.Examples.VoltageSource): time 0.003182/0.2753, allocations: 2.709 MB / 0.9821 GB, free: 24.86 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001594/0.2769, allocations: 1.256 MB / 0.9833 GB, free: 23.59 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001341/0.277, allocations: 7.938 kB / 0.9833 GB, free: 23.58 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001723/0.2772, allocations: 35.77 kB / 0.9834 GB, free: 23.55 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.000327/0.2776, allocations: 115.6 kB / 0.9835 GB, free: 23.43 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002904/0.2779, allocations: 107.7 kB / 0.9836 GB, free: 23.33 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002261/0.2781, allocations: 187.6 kB / 0.9838 GB, free: 23.14 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002674/0.2784, allocations: 219.3 kB / 0.984 GB, free: 22.91 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001324/0.2785, allocations: 99.67 kB / 0.9841 GB, free: 22.82 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002032/0.2787, allocations: 99.59 kB / 0.9842 GB, free: 22.72 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.38e-05/0.2788, allocations: 8 kB / 0.9842 GB, free: 22.71 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001521/0.2789, allocations: 75.89 kB / 0.9843 GB, free: 22.64 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 6.353e-05/0.279, allocations: 71.75 kB / 0.9843 GB, free: 22.57 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.698e-05/0.2791, allocations: 69.58 kB / 0.9844 GB, free: 22.49 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002379/0.2793, allocations: 263.6 kB / 0.9846 GB, free: 22.23 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.2793, allocations: 0 / 0.9846 GB, free: 22.23 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.244e-06/0.2793, allocations: 4 kB / 0.9846 GB, free: 22.23 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.662e-06/0.2793, allocations: 0 / 0.9846 GB, free: 22.23 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.0007927/0.2801, allocations: 0.4996 MB / 0.9851 GB, free: 21.68 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.445e-05/0.2802, allocations: 20.02 kB / 0.9852 GB, free: 21.66 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.623e-05/0.2803, allocations: 58.53 kB / 0.9852 GB, free: 21.6 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006024/0.2809, allocations: 91.59 kB / 0.9853 GB, free: 21.51 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002819/0.2812, allocations: 244 kB / 0.9855 GB, free: 21.23 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.27e-05/0.2812, allocations: 12.44 kB / 0.9855 GB, free: 21.22 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.12e-05/0.2812, allocations: 16 kB / 0.9856 GB, free: 21.2 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004946/0.2817, allocations: 324.3 kB / 0.9859 GB, free: 20.86 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.459e-05/0.2818, allocations: 0 / 0.9859 GB, free: 20.86 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.68e-05/0.2818, allocations: 4 kB / 0.9859 GB, free: 20.86 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.63e-05/0.2818, allocations: 20.38 kB / 0.9859 GB, free: 20.84 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003265/0.2822, allocations: 225.5 kB / 0.9861 GB, free: 20.61 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001285/0.2835, allocations: 1.498 MB / 0.9876 GB, free: 18.95 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003738/0.2839, allocations: 207.6 kB / 0.9878 GB, free: 18.72 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.475e-05/0.2839, allocations: 4 kB / 0.9878 GB, free: 18.72 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.884e-05/0.2839, allocations: 30.56 kB / 0.9878 GB, free: 18.68 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=8): time 1.403e-06/0.2839, allocations: 0 / 0.9878 GB, free: 18.68 MB / 0.6198 GB Notification: Performance of matching and sorting (n=8): time 0.0005187/0.2844, allocations: 271.4 kB / 0.9881 GB, free: 18.39 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.714e-05/0.2845, allocations: 59.39 kB / 0.9881 GB, free: 18.32 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001553/0.2846, allocations: 208.3 kB / 0.9883 GB, free: 18.1 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.277e-05/0.2847, allocations: 25.7 kB / 0.9883 GB, free: 18.07 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 7.483e-05/0.2847, allocations: 171.9 kB / 0.9885 GB, free: 17.9 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.355e-05/0.2848, allocations: 35.53 kB / 0.9885 GB, free: 17.86 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.216e-06/0.2848, allocations: 4 kB / 0.9885 GB, free: 17.86 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.085e-05/0.2849, allocations: 322.8 kB / 0.9888 GB, free: 17.54 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.609e-05/0.285, allocations: 51.97 kB / 0.9889 GB, free: 17.48 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001225/0.2851, allocations: 109.2 kB / 0.989 GB, free: 17.35 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001524/0.2852, allocations: 63.92 kB / 0.9891 GB, free: 17.29 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.2853, allocations: 0 / 0.9891 GB, free: 17.29 MB / 0.6198 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003222/0.2856, allocations: 222 kB / 0.9893 GB, free: 17.06 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.808e-05/0.2856, allocations: 8 kB / 0.9893 GB, free: 17.05 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.934e-06/0.2856, allocations: 4 kB / 0.9893 GB, free: 17.05 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001744/0.2858, allocations: 28.83 kB / 0.9893 GB, free: 17.02 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001214/0.2859, allocations: 31.92 kB / 0.9893 GB, free: 16.98 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008166/0.2868, allocations: 1.331 MB / 0.9906 GB, free: 15.52 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001292/0.2869, allocations: 35.92 kB / 0.9907 GB, free: 15.49 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.262e-05/0.2869, allocations: 8 kB / 0.9907 GB, free: 15.48 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 0.0001179/0.2871, allocations: 151.2 kB / 0.9908 GB, free: 15.32 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.421e-05/0.2871, allocations: 15.81 kB / 0.9908 GB, free: 15.31 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.41e-05/0.2871, allocations: 21.39 kB / 0.9909 GB, free: 15.29 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.724e-06/0.2871, allocations: 0 / 0.9909 GB, free: 15.29 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.517e-06/0.2872, allocations: 0 / 0.9909 GB, free: 15.29 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.379e-06/0.2872, allocations: 0 / 0.9909 GB, free: 15.29 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005067/0.2877, allocations: 499.1 kB / 0.9913 GB, free: 14.74 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.734e-06/0.2877, allocations: 0 / 0.9913 GB, free: 14.74 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.82e-05/0.2877, allocations: 11.98 kB / 0.9913 GB, free: 14.73 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.032e-05/0.2878, allocations: 24.84 kB / 0.9914 GB, free: 14.7 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.979e-06/0.2878, allocations: 4 kB / 0.9914 GB, free: 14.7 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006344/0.2885, allocations: 1.327 MB / 0.9927 GB, free: 13.23 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/0.2885, allocations: 12 kB / 0.9927 GB, free: 13.22 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000245/0.2888, allocations: 236.2 kB / 0.9929 GB, free: 12.97 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 6.296e-05/0.2888, allocations: 100.8 kB / 0.993 GB, free: 12.86 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.99e-05/0.2889, allocations: 4 kB / 0.993 GB, free: 12.85 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000117/0.289, allocations: 19.94 kB / 0.993 GB, free: 12.83 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.34e-05/0.289, allocations: 7.969 kB / 0.993 GB, free: 12.82 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.532e-06/0.289, allocations: 4 kB / 0.993 GB, free: 12.82 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001076/0.2892, allocations: 144.2 kB / 0.9932 GB, free: 12.68 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2892, allocations: 0 / 0.9932 GB, free: 12.68 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003206/0.2895, allocations: 55.84 kB / 0.9932 GB, free: 12.62 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.0004589/0.29, allocations: 0.7716 MB / 0.994 GB, free: 11.82 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003919/0.2904, allocations: 242.7 kB / 0.9942 GB, free: 11.57 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.2904, allocations: 0 / 0.9942 GB, free: 11.57 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.000175/0.2906, allocations: 159 kB / 0.9944 GB, free: 11.41 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003183/0.2909, allocations: 40.89 kB / 0.9944 GB, free: 11.37 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001734/0.2926, allocations: 2.495 MB / 0.9968 GB, free: 8.793 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002075/0.2928, allocations: 0.7671 MB / 0.9976 GB, free: 7.996 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001089/0.293, allocations: 25.53 kB / 0.9976 GB, free: 7.969 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.481e-05/0.293, allocations: 55.42 kB / 0.9977 GB, free: 7.914 MB / 0.6198 GB Notification: Performance of SimCode: time 3.5e-07/0.2931, allocations: 0 / 0.9977 GB, free: 7.914 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01558/0.3086, allocations: 3.624 MB / 1.001 GB, free: 4.48 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001687/0.3088, allocations: 218 kB / 1.001 GB, free: 4.242 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.668/1.977, allocations: 0 / 1.001 GB, free: 4.242 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)