Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.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.Sources.Examples.FixedVoltageSource,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_AC_OnePhase_Sources_Examples_FixedVoltageSource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 1.574/1.574, allocations: 287.4 MB / 302.5 MB, free: 8.262 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.001038/0.001038, allocations: 177.9 kB / 371.1 MB, free: 10.82 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.441/1.441, allocations: 205.4 MB / 0.6298 GB, free: 10.55 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.0007345/0.0007345, allocations: 102.4 kB / 0.7431 GB, free: 6.547 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004066/0.0004067, allocations: 11.42 kB / 0.8662 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2079/0.2084, allocations: 115.3 MB / 0.9787 GB, free: 28.09 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource): time 0.002415/0.2108, allocations: 2.064 MB / 0.9808 GB, free: 26.01 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001722/0.2126, allocations: 1.365 MB / 0.9821 GB, free: 24.63 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.328e-05/0.2127, allocations: 0 / 0.9821 GB, free: 24.63 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001403/0.2129, allocations: 27.78 kB / 0.9821 GB, free: 24.61 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0002748/0.2131, allocations: 95.61 kB / 0.9822 GB, free: 24.51 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003079/0.2135, allocations: 149.2 kB / 0.9824 GB, free: 24.37 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002276/0.2137, allocations: 255.2 kB / 0.9826 GB, free: 24.12 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003683/0.2141, allocations: 234.3 kB / 0.9828 GB, free: 23.87 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001063/0.2142, allocations: 75.7 kB / 0.9829 GB, free: 23.79 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001695/0.2144, allocations: 103.6 kB / 0.983 GB, free: 23.69 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.124e-05/0.2144, allocations: 8 kB / 0.983 GB, free: 23.68 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001641/0.2146, allocations: 103.8 kB / 0.9831 GB, free: 23.58 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 6.678e-05/0.2146, allocations: 55.88 kB / 0.9831 GB, free: 23.53 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.238e-05/0.2147, allocations: 53.58 kB / 0.9832 GB, free: 23.47 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001904/0.2149, allocations: 207.4 kB / 0.9834 GB, free: 23.27 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.2149, allocations: 0 / 0.9834 GB, free: 23.27 MB / 0.6198 GB Notification: Performance of FrontEnd: time 9.92e-07/0.2149, allocations: 0 / 0.9834 GB, free: 23.27 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 9.498e-06/0.2149, allocations: 0 / 0.9834 GB, free: 23.27 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.0004621/0.2154, allocations: 443.3 kB / 0.9838 GB, free: 22.79 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.857e-05/0.2154, allocations: 12.03 kB / 0.9838 GB, free: 22.77 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.355e-05/0.2155, allocations: 46.73 kB / 0.9839 GB, free: 22.72 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004467/0.2159, allocations: 72.58 kB / 0.9839 GB, free: 22.65 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001787/0.2161, allocations: 224 kB / 0.9842 GB, free: 22.39 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.332e-05/0.2161, allocations: 8.656 kB / 0.9842 GB, free: 22.38 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.166e-05/0.2162, allocations: 16.38 kB / 0.9842 GB, free: 22.37 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003206/0.2165, allocations: 279.4 kB / 0.9845 GB, free: 22.06 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.292e-05/0.2165, allocations: 0 / 0.9845 GB, free: 22.06 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.94e-05/0.2165, allocations: 11.94 kB / 0.9845 GB, free: 22.05 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.271e-05/0.2166, allocations: 24.2 kB / 0.9845 GB, free: 22.02 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002658/0.2168, allocations: 204.5 kB / 0.9847 GB, free: 21.82 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001201/0.2181, allocations: 1.587 MB / 0.9862 GB, free: 20.1 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002895/0.2184, allocations: 319.3 kB / 0.9865 GB, free: 19.73 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.42e-05/0.2184, allocations: 65.67 kB / 0.9866 GB, free: 19.66 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.209e-05/0.2185, allocations: 0 / 0.9866 GB, free: 19.66 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.505e-05/0.2185, allocations: 42.5 kB / 0.9866 GB, free: 19.61 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=9): time 9.72e-07/0.2185, allocations: 0 / 0.9866 GB, free: 19.61 MB / 0.6198 GB Notification: Performance of matching and sorting (n=10): time 0.000484/0.219, allocations: 240.6 kB / 0.9869 GB, free: 19.37 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.466e-05/0.219, allocations: 77.27 kB / 0.9869 GB, free: 19.27 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001364/0.2192, allocations: 199.4 kB / 0.9871 GB, free: 19.07 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.1e-05/0.2192, allocations: 33.64 kB / 0.9872 GB, free: 19.03 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.322e-05/0.2192, allocations: 163.5 kB / 0.9873 GB, free: 18.87 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.007e-05/0.2193, allocations: 31.55 kB / 0.9873 GB, free: 18.84 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.869e-06/0.2193, allocations: 8 kB / 0.9874 GB, free: 18.83 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.874e-05/0.2193, allocations: 323 kB / 0.9877 GB, free: 18.5 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.462e-05/0.2194, allocations: 63.97 kB / 0.9877 GB, free: 18.44 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001111/0.2195, allocations: 160.4 kB / 0.9879 GB, free: 18.25 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001966/0.2197, allocations: 223 kB / 0.9881 GB, free: 17.99 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.2198, allocations: 7.938 kB / 0.9881 GB, free: 17.98 MB / 0.6198 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0002915/0.2201, allocations: 265.3 kB / 0.9884 GB, free: 17.71 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 5.485e-05/0.2201, allocations: 175.4 kB / 0.9885 GB, free: 17.5 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.289e-06/0.2201, allocations: 0 / 0.9885 GB, free: 17.5 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.42e-05/0.2201, allocations: 4 kB / 0.9885 GB, free: 17.5 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000202/0.2204, allocations: 55.89 kB / 0.9886 GB, free: 17.44 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.716e-06/0.2204, allocations: 11.94 kB / 0.9886 GB, free: 17.43 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001385/0.2205, allocations: 15.98 kB / 0.9886 GB, free: 17.41 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.464e-05/0.2205, allocations: 8 kB / 0.9886 GB, free: 17.41 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 5.07e-06/0.2205, allocations: 4 kB / 0.9886 GB, free: 17.4 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002225/0.2208, allocations: 195.9 kB / 0.9888 GB, free: 17.21 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.136e-06/0.2208, allocations: 8.031 kB / 0.9888 GB, free: 17.2 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.697e-06/0.2208, allocations: 4 kB / 0.9888 GB, free: 17.2 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001423/0.2209, allocations: 47.91 kB / 0.9889 GB, free: 17.15 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.93e-06/0.221, allocations: 7.938 kB / 0.9889 GB, free: 17.14 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.572e-05/0.2211, allocations: 11.94 kB / 0.9889 GB, free: 17.13 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.071e-05/0.2211, allocations: 8 kB / 0.9889 GB, free: 17.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.241e-05/0.2212, allocations: 233 kB / 0.9891 GB, free: 16.89 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.713e-05/0.2212, allocations: 15.81 kB / 0.9891 GB, free: 16.87 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001883/0.2214, allocations: 139 kB / 0.9893 GB, free: 16.73 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.2214, allocations: 4 kB / 0.9893 GB, free: 16.73 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.2214, allocations: 3.938 kB / 0.9893 GB, free: 16.73 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.2214, allocations: 0 / 0.9893 GB, free: 16.73 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006598/0.2221, allocations: 0.7196 MB / 0.99 GB, free: 15.92 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.796e-06/0.2221, allocations: 4 kB / 0.99 GB, free: 15.92 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.366e-05/0.2222, allocations: 32.05 kB / 0.99 GB, free: 15.89 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.466e-06/0.2222, allocations: 4 kB / 0.99 GB, free: 15.88 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.093e-05/0.2223, allocations: 4 kB / 0.99 GB, free: 15.88 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.066e-06/0.2223, allocations: 4 kB / 0.99 GB, free: 15.88 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.2223, allocations: 4.281 kB / 0.99 GB, free: 15.87 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001957/0.2225, allocations: 382.2 kB / 0.9904 GB, free: 15.45 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 5.759e-05/0.2225, allocations: 112.8 kB / 0.9905 GB, free: 15.32 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.599e-05/0.2226, allocations: 4 kB / 0.9905 GB, free: 15.32 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001783/0.2227, allocations: 7.984 kB / 0.9905 GB, free: 15.31 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.596e-05/0.2228, allocations: 27.86 kB / 0.9905 GB, free: 15.29 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.083e-06/0.2228, allocations: 4 kB / 0.9905 GB, free: 15.28 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 8.584e-05/0.2229, allocations: 152.8 kB / 0.9907 GB, free: 15.13 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2229, allocations: 0 / 0.9907 GB, free: 15.13 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.000412/0.2233, allocations: 68 kB / 0.9907 GB, free: 15.07 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.0003737/0.2237, allocations: 0.9143 MB / 0.9916 GB, free: 14.1 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.000317/0.224, allocations: 260.6 kB / 0.9919 GB, free: 13.84 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.224, allocations: 384 / 0.9919 GB, free: 13.84 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 6.782e-05/0.2241, allocations: 67.83 kB / 0.9919 GB, free: 13.78 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004518/0.2246, allocations: 27.98 kB / 0.992 GB, free: 13.75 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001233/0.2258, allocations: 1.138 MB / 0.9931 GB, free: 12.5 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001535/0.226, allocations: 0.7363 MB / 0.9938 GB, free: 11.73 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001776/0.2262, allocations: 77.44 kB / 0.9939 GB, free: 11.66 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.913e-05/0.2262, allocations: 43.42 kB / 0.9939 GB, free: 11.62 MB / 0.6198 GB Notification: Performance of SimCode: time 2.11e-07/0.2262, allocations: 0 / 0.9939 GB, free: 11.62 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01384/0.2401, allocations: 3.291 MB / 0.9971 GB, free: 8.508 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001954/0.2403, allocations: 205.3 kB / 0.9973 GB, free: 8.27 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.148/2.388, allocations: 0 / 0.9973 GB, free: 8.27 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Electrical_AC_OnePhase_Sources_Examples_FixedVoltageSource_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Electrical_AC_OnePhase_Sources_Examples_FixedVoltageSource.fmu > Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe 2>&1)