Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.553/1.553, allocations: 252 MB / 267.3 MB, free: 10.86 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001339/0.001339, allocations: 172.2 kB / 327 MB, free: 2.109 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.999/1.999, allocations: 205.4 MB / 0.578 GB, free: 20.12 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007717/0.0007714, allocations: 86.38 kB / 0.6826 GB, free: 12.76 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003601/0.0003602, allocations: 8.625 kB / 0.7971 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2282/0.2286, allocations: 106.3 MB / 0.9009 GB, free: 63.39 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource): time 0.002594/0.2313, allocations: 2.142 MB / 0.903 GB, free: 61.23 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001776/0.2331, allocations: 1.45 MB / 0.9044 GB, free: 59.77 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.992e-05/0.2332, allocations: 0 / 0.9044 GB, free: 59.77 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001474/0.2333, allocations: 27.78 kB / 0.9045 GB, free: 59.75 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0003073/0.2336, allocations: 119.6 kB / 0.9046 GB, free: 59.63 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003577/0.234, allocations: 167.6 kB / 0.9047 GB, free: 59.46 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0002566/0.2343, allocations: 331.1 kB / 0.905 GB, free: 59.14 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004026/0.2347, allocations: 230.1 kB / 0.9053 GB, free: 58.9 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001105/0.2348, allocations: 71.7 kB / 0.9053 GB, free: 58.83 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001995/0.235, allocations: 95.64 kB / 0.9054 GB, free: 58.73 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.107e-05/0.2351, allocations: 8 kB / 0.9054 GB, free: 58.73 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002736/0.2353, allocations: 215.6 kB / 0.9056 GB, free: 58.52 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 6.623e-05/0.2354, allocations: 63.8 kB / 0.9057 GB, free: 58.45 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 7.405e-05/0.2355, allocations: 93.31 kB / 0.9058 GB, free: 58.36 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002969/0.2358, allocations: 287.3 kB / 0.9061 GB, free: 58.07 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.107e-06/0.2358, allocations: 0 / 0.9061 GB, free: 58.07 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.213e-06/0.2358, allocations: 0 / 0.9061 GB, free: 58.07 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.638e-06/0.2358, allocations: 0 / 0.9061 GB, free: 58.07 MB / 0.6042 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.0005088/0.2363, allocations: 447.1 kB / 0.9065 GB, free: 57.59 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.68e-05/0.2364, allocations: 16.03 kB / 0.9065 GB, free: 57.57 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.634e-05/0.2364, allocations: 50.73 kB / 0.9066 GB, free: 57.52 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004727/0.2369, allocations: 56.69 kB / 0.9066 GB, free: 57.46 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001941/0.2371, allocations: 228 kB / 0.9068 GB, free: 57.2 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.453e-05/0.2371, allocations: 12.64 kB / 0.9068 GB, free: 57.19 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.615e-05/0.2372, allocations: 20.28 kB / 0.9069 GB, free: 57.17 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003437/0.2375, allocations: 275.5 kB / 0.9071 GB, free: 56.86 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.229e-05/0.2376, allocations: 4 kB / 0.9071 GB, free: 56.86 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.072e-05/0.2376, allocations: 7.984 kB / 0.9071 GB, free: 56.85 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.053e-05/0.2376, allocations: 16.22 kB / 0.9071 GB, free: 56.83 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002605/0.2379, allocations: 212.5 kB / 0.9073 GB, free: 56.62 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001272/0.2392, allocations: 1.58 MB / 0.9089 GB, free: 54.91 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003024/0.2395, allocations: 323.2 kB / 0.9092 GB, free: 54.54 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.711e-05/0.2396, allocations: 65.69 kB / 0.9093 GB, free: 54.47 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.537e-05/0.2396, allocations: 4.141 kB / 0.9093 GB, free: 54.46 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.866e-05/0.2396, allocations: 34.55 kB / 0.9093 GB, free: 54.42 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=9): time 1.222e-06/0.2396, allocations: 3.938 kB / 0.9093 GB, free: 54.42 MB / 0.6042 GB Notification: Performance of matching and sorting (n=10): time 0.000464/0.2401, allocations: 244.7 kB / 0.9095 GB, free: 54.17 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.563e-05/0.2402, allocations: 85.09 kB / 0.9096 GB, free: 54.07 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001408/0.2403, allocations: 199.4 kB / 0.9098 GB, free: 53.87 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.242e-05/0.2403, allocations: 25.7 kB / 0.9098 GB, free: 53.84 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 5.682e-05/0.2404, allocations: 151.6 kB / 0.91 GB, free: 53.68 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.363e-05/0.2404, allocations: 43.53 kB / 0.91 GB, free: 53.64 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.103e-05/0.2404, allocations: 4 kB / 0.91 GB, free: 53.64 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.732e-05/0.2405, allocations: 322.8 kB / 0.9103 GB, free: 53.31 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.431e-05/0.2406, allocations: 67.95 kB / 0.9104 GB, free: 53.25 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001082/0.2407, allocations: 151.8 kB / 0.9105 GB, free: 53.06 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002086/0.2409, allocations: 230.9 kB / 0.9108 GB, free: 52.79 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.2409, allocations: 7.938 kB / 0.9108 GB, free: 52.79 MB / 0.6042 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003063/0.2412, allocations: 265.3 kB / 0.911 GB, free: 52.52 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 6.063e-05/0.2413, allocations: 171.3 kB / 0.9112 GB, free: 52.31 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.682e-06/0.2413, allocations: 4 kB / 0.9112 GB, free: 52.3 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.412e-05/0.2413, allocations: 4 kB / 0.9112 GB, free: 52.3 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002102/0.2415, allocations: 51.91 kB / 0.9112 GB, free: 52.25 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.827e-06/0.2416, allocations: 7.984 kB / 0.9112 GB, free: 52.24 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001437/0.2417, allocations: 19.92 kB / 0.9113 GB, free: 52.22 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.803e-05/0.2417, allocations: 16 kB / 0.9113 GB, free: 52.21 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 4.819e-06/0.2417, allocations: 0 / 0.9113 GB, free: 52.21 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002266/0.242, allocations: 200 kB / 0.9115 GB, free: 52.01 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.344e-06/0.242, allocations: 0 / 0.9115 GB, free: 52.01 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.526e-06/0.242, allocations: 4.375 kB / 0.9115 GB, free: 52.01 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001453/0.2421, allocations: 55.92 kB / 0.9115 GB, free: 51.95 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.338e-06/0.2422, allocations: 7.984 kB / 0.9115 GB, free: 51.95 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.993e-05/0.2423, allocations: 15.84 kB / 0.9116 GB, free: 51.93 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.153e-05/0.2423, allocations: 8 kB / 0.9116 GB, free: 51.92 MB / 0.6042 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.258e-05/0.2424, allocations: 217.7 kB / 0.9118 GB, free: 51.7 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.665e-05/0.2424, allocations: 11.89 kB / 0.9118 GB, free: 51.69 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002011/0.2426, allocations: 150.9 kB / 0.9119 GB, free: 51.53 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.778e-06/0.2427, allocations: 11.98 kB / 0.9119 GB, free: 51.52 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.2427, allocations: 3.938 kB / 0.9119 GB, free: 51.52 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.2427, allocations: 0 / 0.9119 GB, free: 51.52 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007015/0.2434, allocations: 0.7274 MB / 0.9126 GB, free: 50.7 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-06/0.2434, allocations: 4 kB / 0.9127 GB, free: 50.7 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.617e-05/0.2435, allocations: 23.92 kB / 0.9127 GB, free: 50.68 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.807e-06/0.2435, allocations: 4 kB / 0.9127 GB, free: 50.67 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.225e-05/0.2435, allocations: 8 kB / 0.9127 GB, free: 50.66 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.627e-06/0.2435, allocations: 4 kB / 0.9127 GB, free: 50.66 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.2435, allocations: 4 kB / 0.9127 GB, free: 50.66 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002059/0.2437, allocations: 390.6 kB / 0.9131 GB, free: 50.23 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 6.207e-05/0.2438, allocations: 104.9 kB / 0.9132 GB, free: 50.11 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.833e-05/0.2439, allocations: 12 kB / 0.9132 GB, free: 50.1 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001752/0.244, allocations: 11.98 kB / 0.9132 GB, free: 50.09 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.793e-05/0.2441, allocations: 15.86 kB / 0.9132 GB, free: 50.07 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.458e-06/0.2441, allocations: 16 kB / 0.9132 GB, free: 50.05 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 8.889e-05/0.2442, allocations: 143.7 kB / 0.9134 GB, free: 49.91 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2442, allocations: 4 kB / 0.9134 GB, free: 49.91 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0004906/0.2447, allocations: 60 kB / 0.9134 GB, free: 49.85 MB / 0.6042 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003939/0.2451, allocations: 0.9221 MB / 0.9143 GB, free: 48.88 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0003215/0.2454, allocations: 260.9 kB / 0.9146 GB, free: 48.62 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.2454, allocations: 0 / 0.9146 GB, free: 48.62 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 6.797e-05/0.2455, allocations: 68.39 kB / 0.9146 GB, free: 48.55 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004674/0.246, allocations: 29.25 kB / 0.9147 GB, free: 48.53 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001817/0.2478, allocations: 2.389 MB / 0.917 GB, free: 45.93 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001572/0.248, allocations: 0.7402 MB / 0.9177 GB, free: 45.16 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0001768/0.2482, allocations: 69.47 kB / 0.9178 GB, free: 45.09 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.663e-05/0.2482, allocations: 50.28 kB / 0.9178 GB, free: 45.05 MB / 0.6042 GB Notification: Performance of SimCode: time 2.2e-07/0.2482, allocations: 0 / 0.9178 GB, free: 45.05 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0125/0.2607, allocations: 3.27 MB / 0.921 GB, free: 41.96 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001808/0.261, allocations: 237.9 kB / 0.9213 GB, free: 41.7 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.804/2.065, allocations: 0 / 0.9213 GB, free: 41.7 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Electrical_AC_OnePhase_Sources_Examples_FixedVoltageSource_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Electrical_AC_OnePhase_Sources_Examples_FixedVoltageSource.fmu > Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe 2>&1)