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.47/1.47, allocations: 251.9 MB / 266.9 MB, free: 11.08 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.001265/0.001265, allocations: 182.4 kB / 326.5 MB, free: 2.277 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.039/2.039, allocations: 205.4 MB / 0.5775 GB, free: 20.61 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.0009304/0.0009304, allocations: 82.44 kB / 0.6821 GB, free: 13.39 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003248/0.0003248, allocations: 9.688 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2488/0.2491, allocations: 106.3 MB / 0.9002 GB, free: 64.42 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource): time 0.002308/0.2515, allocations: 2.065 MB / 0.9022 GB, free: 62.34 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001663/0.2532, allocations: 1.334 MB / 0.9035 GB, free: 61 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001081/0.2533, allocations: 4 kB / 0.9035 GB, free: 61 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001482/0.2534, allocations: 19.84 kB / 0.9035 GB, free: 60.98 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.000303/0.2538, allocations: 91.72 kB / 0.9036 GB, free: 60.89 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.000326/0.2541, allocations: 143.5 kB / 0.9037 GB, free: 60.75 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001795/0.2543, allocations: 119.8 kB / 0.9038 GB, free: 60.63 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003908/0.2547, allocations: 226 kB / 0.9041 GB, free: 60.39 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001046/0.2548, allocations: 63.75 kB / 0.9041 GB, free: 60.33 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001868/0.255, allocations: 67.75 kB / 0.9042 GB, free: 60.26 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.115e-05/0.255, allocations: 8 kB / 0.9042 GB, free: 60.25 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001672/0.2552, allocations: 99.84 kB / 0.9043 GB, free: 60.16 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 5.453e-05/0.2553, allocations: 55.77 kB / 0.9043 GB, free: 60.1 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 4.061e-05/0.2553, allocations: 53.64 kB / 0.9044 GB, free: 60.04 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002238/0.2555, allocations: 199.8 kB / 0.9046 GB, free: 59.85 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.237e-06/0.2556, allocations: 4 kB / 0.9046 GB, free: 59.84 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.534e-06/0.2556, allocations: 3.938 kB / 0.9046 GB, free: 59.84 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.402e-06/0.2556, allocations: 0 / 0.9046 GB, free: 59.84 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.0006391/0.2562, allocations: 448.9 kB / 0.905 GB, free: 59.36 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.087e-05/0.2563, allocations: 8.031 kB / 0.905 GB, free: 59.35 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.952e-05/0.2563, allocations: 54.48 kB / 0.9051 GB, free: 59.29 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005063/0.2568, allocations: 71.69 kB / 0.9051 GB, free: 59.21 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002361/0.2571, allocations: 222.7 kB / 0.9054 GB, free: 58.96 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.319e-05/0.2571, allocations: 12.28 kB / 0.9054 GB, free: 58.95 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.135e-05/0.2571, allocations: 12 kB / 0.9054 GB, free: 58.93 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003764/0.2575, allocations: 279.7 kB / 0.9056 GB, free: 58.62 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.46e-05/0.2576, allocations: 4 kB / 0.9056 GB, free: 58.62 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.127e-05/0.2576, allocations: 8 kB / 0.9057 GB, free: 58.61 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.413e-05/0.2576, allocations: 20.22 kB / 0.9057 GB, free: 58.59 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002721/0.2579, allocations: 216.4 kB / 0.9059 GB, free: 58.38 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001309/0.2592, allocations: 1.58 MB / 0.9074 GB, free: 56.66 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000296/0.2595, allocations: 315.2 kB / 0.9077 GB, free: 56.3 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.493e-05/0.2596, allocations: 8 kB / 0.9077 GB, free: 56.29 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.439e-05/0.2596, allocations: 34.56 kB / 0.9078 GB, free: 56.25 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=9): time 1.273e-06/0.2596, allocations: 0 / 0.9078 GB, free: 56.25 MB / 0.6042 GB Notification: Performance of matching and sorting (n=10): time 0.0004785/0.2601, allocations: 236.5 kB / 0.908 GB, free: 56.01 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.645e-05/0.2601, allocations: 85.09 kB / 0.9081 GB, free: 55.91 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001437/0.2603, allocations: 195.4 kB / 0.9083 GB, free: 55.71 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.122e-05/0.2603, allocations: 29.7 kB / 0.9083 GB, free: 55.68 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 6.22e-05/0.2603, allocations: 155.8 kB / 0.9084 GB, free: 55.52 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.261e-05/0.2604, allocations: 39.64 kB / 0.9085 GB, free: 55.48 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.808e-06/0.2604, allocations: 8 kB / 0.9085 GB, free: 55.47 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.535e-05/0.2605, allocations: 322.8 kB / 0.9088 GB, free: 55.15 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.334e-05/0.2605, allocations: 67.95 kB / 0.9089 GB, free: 55.08 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001093/0.2607, allocations: 151.8 kB / 0.909 GB, free: 54.89 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001122/0.2608, allocations: 91.91 kB / 0.9091 GB, free: 54.8 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.2608, allocations: 4 kB / 0.9091 GB, free: 54.8 MB / 0.6042 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0002934/0.2611, allocations: 253.1 kB / 0.9093 GB, free: 54.55 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002067/0.2613, allocations: 1.134 MB / 0.9104 GB, free: 53.32 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.855e-06/0.2613, allocations: 7.938 kB / 0.9104 GB, free: 53.32 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.526e-05/0.2613, allocations: 4 kB / 0.9104 GB, free: 53.31 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002043/0.2615, allocations: 47.97 kB / 0.9105 GB, free: 53.27 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.917e-06/0.2616, allocations: 7.938 kB / 0.9105 GB, free: 53.26 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001369/0.2617, allocations: 23.83 kB / 0.9105 GB, free: 53.23 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.561e-05/0.2617, allocations: 16 kB / 0.9105 GB, free: 53.22 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 6.692e-06/0.2617, allocations: 4 kB / 0.9105 GB, free: 53.21 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002267/0.262, allocations: 195.5 kB / 0.9107 GB, free: 53.02 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.976e-06/0.262, allocations: 4 kB / 0.9107 GB, free: 53.02 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.859e-06/0.262, allocations: 7.953 kB / 0.9107 GB, free: 53.01 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000142/0.2621, allocations: 48.28 kB / 0.9108 GB, free: 52.96 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.777e-06/0.2622, allocations: 8 kB / 0.9108 GB, free: 52.96 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.692e-05/0.2623, allocations: 19.92 kB / 0.9108 GB, free: 52.94 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.169e-05/0.2623, allocations: 8.125 kB / 0.9108 GB, free: 52.93 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001036/0.2624, allocations: 217 kB / 0.911 GB, free: 52.71 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.494e-05/0.2624, allocations: 15.81 kB / 0.911 GB, free: 52.69 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002027/0.2626, allocations: 151 kB / 0.9112 GB, free: 52.54 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.777e-06/0.2627, allocations: 4 kB / 0.9112 GB, free: 52.53 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.2627, allocations: 0 / 0.9112 GB, free: 52.53 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.077e-06/0.2627, allocations: 4 kB / 0.9112 GB, free: 52.53 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007054/0.2634, allocations: 0.7196 MB / 0.9119 GB, free: 51.72 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.2634, allocations: 4 kB / 0.9119 GB, free: 51.72 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.497e-05/0.2635, allocations: 27.98 kB / 0.9119 GB, free: 51.69 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.498e-06/0.2635, allocations: 4 kB / 0.9119 GB, free: 51.69 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.243e-05/0.2635, allocations: 4 kB / 0.9119 GB, free: 51.68 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.507e-06/0.2635, allocations: 7.922 kB / 0.9119 GB, free: 51.68 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.2636, allocations: 4 kB / 0.9119 GB, free: 51.67 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000249/0.2638, allocations: 495.6 kB / 0.9124 GB, free: 51.08 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 7.07e-05/0.2639, allocations: 112.8 kB / 0.9125 GB, free: 50.95 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.786e-05/0.2639, allocations: 4 kB / 0.9125 GB, free: 50.95 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001563/0.2641, allocations: 7.984 kB / 0.9125 GB, free: 50.94 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.461e-05/0.2641, allocations: 12 kB / 0.9125 GB, free: 50.93 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.694e-06/0.2641, allocations: 7.938 kB / 0.9126 GB, free: 50.92 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 9.007e-05/0.2642, allocations: 151.7 kB / 0.9127 GB, free: 50.77 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2642, allocations: 4 kB / 0.9127 GB, free: 50.77 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0004458/0.2647, allocations: 72 kB / 0.9128 GB, free: 50.7 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 (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.0005537/0.2653, allocations: 1.709 MB / 0.9144 GB, free: 48.9 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.000316/0.2656, allocations: 260.2 kB / 0.9147 GB, free: 48.64 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.436e-06/0.2656, allocations: 4 kB / 0.9147 GB, free: 48.64 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 6.559e-05/0.2657, allocations: 61.34 kB / 0.9148 GB, free: 48.58 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003148/0.266, allocations: 40.94 kB / 0.9148 GB, free: 48.54 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0016/0.2676, allocations: 2.953 MB / 0.9177 GB, free: 45.46 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001946/0.2678, allocations: 0.744 MB / 0.9184 GB, free: 44.69 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0002326/0.268, allocations: 73.5 kB / 0.9185 GB, free: 44.61 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.52e-05/0.2681, allocations: 43.42 kB / 0.9185 GB, free: 44.57 MB / 0.6042 GB Notification: Performance of SimCode: time 2.2e-07/0.2681, allocations: 0 / 0.9185 GB, free: 44.57 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01348/0.2816, allocations: 3.287 MB / 0.9217 GB, free: 41.47 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000198/0.2819, allocations: 209 kB / 0.9219 GB, free: 41.23 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.59/1.871, allocations: 8 kB / 0.9219 GB, free: 41.23 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)