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.413/1.413, allocations: 252 MB / 267 MB, free: 10.97 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.001059/0.001059, allocations: 178.5 kB / 326.6 MB, free: 2.223 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.877/1.877, allocations: 205.4 MB / 0.5777 GB, free: 20.25 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.0009017/0.0009017, allocations: 98.28 kB / 0.6823 GB, free: 12.86 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003295/0.0003295, allocations: 10.88 kB / 0.7965 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2481/0.2484, allocations: 106.3 MB / 0.9003 GB, free: 63.8 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource): time 0.002616/0.2511, allocations: 2.072 MB / 0.9023 GB, free: 61.72 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001842/0.253, allocations: 1.369 MB / 0.9037 GB, free: 60.34 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001464/0.2532, allocations: 4 kB / 0.9037 GB, free: 60.34 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001711/0.2534, allocations: 27.78 kB / 0.9037 GB, free: 60.31 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.000375/0.2537, allocations: 99.55 kB / 0.9038 GB, free: 60.21 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004637/0.2542, allocations: 137.7 kB / 0.9039 GB, free: 60.08 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0002791/0.2545, allocations: 263.1 kB / 0.9042 GB, free: 59.82 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004266/0.2549, allocations: 222 kB / 0.9044 GB, free: 59.59 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001197/0.2551, allocations: 67.77 kB / 0.9045 GB, free: 59.52 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002102/0.2553, allocations: 103.6 kB / 0.9046 GB, free: 59.42 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.393e-05/0.2553, allocations: 8 kB / 0.9046 GB, free: 59.41 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000235/0.2556, allocations: 99.86 kB / 0.9047 GB, free: 59.31 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 5.419e-05/0.2556, allocations: 59.84 kB / 0.9047 GB, free: 59.25 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.966e-05/0.2557, allocations: 53.58 kB / 0.9048 GB, free: 59.2 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002116/0.2559, allocations: 207.8 kB / 0.905 GB, free: 58.99 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 6.483e-06/0.2559, allocations: 7.938 kB / 0.905 GB, free: 58.98 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.645e-06/0.2559, allocations: 0 / 0.905 GB, free: 58.98 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.611e-06/0.2559, allocations: 0 / 0.905 GB, free: 58.98 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.0006512/0.2566, allocations: 447 kB / 0.9054 GB, free: 58.5 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.969e-05/0.2566, allocations: 8.031 kB / 0.9054 GB, free: 58.49 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.183e-05/0.2567, allocations: 50.55 kB / 0.9055 GB, free: 58.43 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004742/0.2572, allocations: 71.67 kB / 0.9055 GB, free: 58.36 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002092/0.2574, allocations: 218.8 kB / 0.9057 GB, free: 58.11 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.41e-05/0.2574, allocations: 16.28 kB / 0.9057 GB, free: 58.09 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.621e-05/0.2575, allocations: 12 kB / 0.9058 GB, free: 58.08 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003699/0.2578, allocations: 271.7 kB / 0.906 GB, free: 57.78 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.435e-05/0.2579, allocations: 7.938 kB / 0.906 GB, free: 57.77 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.138e-05/0.2579, allocations: 8 kB / 0.906 GB, free: 57.77 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.563e-05/0.2579, allocations: 20.22 kB / 0.9061 GB, free: 57.74 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002925/0.2582, allocations: 212.4 kB / 0.9063 GB, free: 57.54 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00131/0.2596, allocations: 1.576 MB / 0.9078 GB, free: 55.82 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002933/0.2599, allocations: 315.3 kB / 0.9081 GB, free: 55.46 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.567e-05/0.26, allocations: 61.69 kB / 0.9082 GB, free: 55.39 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.076e-05/0.26, allocations: 15.97 kB / 0.9082 GB, free: 55.38 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.534e-05/0.26, allocations: 38.44 kB / 0.9082 GB, free: 55.33 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=9): time 1.162e-06/0.26, allocations: 0 / 0.9082 GB, free: 55.33 MB / 0.6042 GB Notification: Performance of matching and sorting (n=10): time 0.000467/0.2605, allocations: 241.1 kB / 0.9084 GB, free: 55.09 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.733e-05/0.2605, allocations: 85.11 kB / 0.9085 GB, free: 54.99 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001364/0.2607, allocations: 191.5 kB / 0.9087 GB, free: 54.79 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.202e-05/0.2607, allocations: 25.7 kB / 0.9087 GB, free: 54.76 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 5.599e-05/0.2607, allocations: 159.8 kB / 0.9089 GB, free: 54.6 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.101e-05/0.2608, allocations: 39.47 kB / 0.9089 GB, free: 54.56 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.757e-06/0.2608, allocations: 0 / 0.9089 GB, free: 54.56 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.436e-05/0.2608, allocations: 330.8 kB / 0.9092 GB, free: 54.23 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.436e-05/0.2609, allocations: 59.97 kB / 0.9093 GB, free: 54.17 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001151/0.2611, allocations: 159.7 kB / 0.9094 GB, free: 53.98 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001131/0.2612, allocations: 87.97 kB / 0.9095 GB, free: 53.89 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-06/0.2612, allocations: 0 / 0.9095 GB, free: 53.89 MB / 0.6042 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0002935/0.2615, allocations: 265.1 kB / 0.9098 GB, free: 53.62 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 6.99e-05/0.2616, allocations: 167.7 kB / 0.9099 GB, free: 53.42 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.135e-06/0.2616, allocations: 4.078 kB / 0.9099 GB, free: 53.41 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.701e-05/0.2616, allocations: 7.984 kB / 0.9099 GB, free: 53.41 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002084/0.2618, allocations: 51.91 kB / 0.91 GB, free: 53.36 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.028e-05/0.2618, allocations: 7.984 kB / 0.91 GB, free: 53.35 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001402/0.262, allocations: 15.89 kB / 0.91 GB, free: 53.33 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.812e-05/0.262, allocations: 23.94 kB / 0.91 GB, free: 53.31 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 5.58e-06/0.262, allocations: 7.938 kB / 0.91 GB, free: 53.3 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002374/0.2623, allocations: 187.7 kB / 0.9102 GB, free: 53.12 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.015e-06/0.2623, allocations: 4 kB / 0.9102 GB, free: 53.11 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.749e-06/0.2623, allocations: 7.953 kB / 0.9102 GB, free: 53.11 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001436/0.2624, allocations: 48.28 kB / 0.9103 GB, free: 53.06 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.36e-06/0.2624, allocations: 11.94 kB / 0.9103 GB, free: 53.05 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.645e-05/0.2625, allocations: 19.88 kB / 0.9103 GB, free: 53.03 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.159e-05/0.2626, allocations: 11.98 kB / 0.9103 GB, free: 53.02 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 9.465e-05/0.2627, allocations: 209.1 kB / 0.9105 GB, free: 52.8 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.839e-05/0.2627, allocations: 19.75 kB / 0.9105 GB, free: 52.78 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001946/0.2629, allocations: 143 kB / 0.9107 GB, free: 52.63 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.036e-06/0.2629, allocations: 4.078 kB / 0.9107 GB, free: 52.63 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.282e-06/0.2629, allocations: 11.98 kB / 0.9107 GB, free: 52.62 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.2629, allocations: 4 kB / 0.9107 GB, free: 52.61 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006612/0.2636, allocations: 0.7158 MB / 0.9114 GB, free: 51.81 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.885e-06/0.2636, allocations: 4 kB / 0.9114 GB, free: 51.81 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.571e-05/0.2637, allocations: 27.92 kB / 0.9114 GB, free: 51.78 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.467e-06/0.2637, allocations: 4 kB / 0.9114 GB, free: 51.78 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.196e-05/0.2638, allocations: 8 kB / 0.9114 GB, free: 51.77 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.615e-06/0.2638, allocations: 3.984 kB / 0.9114 GB, free: 51.77 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.346e-06/0.2638, allocations: 7.938 kB / 0.9115 GB, free: 51.76 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002065/0.264, allocations: 378.7 kB / 0.9118 GB, free: 51.34 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 5.775e-05/0.264, allocations: 104.9 kB / 0.9119 GB, free: 51.22 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.722e-05/0.2641, allocations: 15.92 kB / 0.9119 GB, free: 51.21 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001511/0.2642, allocations: 4 kB / 0.9119 GB, free: 51.2 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.529e-05/0.2643, allocations: 19.94 kB / 0.912 GB, free: 51.18 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.933e-06/0.2643, allocations: 4 kB / 0.912 GB, free: 51.18 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 8.951e-05/0.2644, allocations: 151.7 kB / 0.9121 GB, free: 51.03 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2644, allocations: 0 / 0.9121 GB, free: 51.03 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.000411/0.2648, allocations: 68 kB / 0.9122 GB, free: 50.96 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.0003813/0.2652, allocations: 0.9026 MB / 0.913 GB, free: 50.01 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0003198/0.2655, allocations: 267.5 kB / 0.9133 GB, free: 49.75 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.554e-06/0.2655, allocations: 1.5 kB / 0.9133 GB, free: 49.75 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 6.387e-05/0.2656, allocations: 56.28 kB / 0.9134 GB, free: 49.69 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004212/0.266, allocations: 36.38 kB / 0.9134 GB, free: 49.66 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001288/0.2673, allocations: 1.139 MB / 0.9145 GB, free: 48.4 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001473/0.2675, allocations: 0.7439 MB / 0.9152 GB, free: 47.63 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0001739/0.2677, allocations: 69.47 kB / 0.9153 GB, free: 47.56 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.142e-05/0.2677, allocations: 47.42 kB / 0.9153 GB, free: 47.52 MB / 0.6042 GB Notification: Performance of SimCode: time 2.41e-07/0.2677, allocations: 0 / 0.9153 GB, free: 47.52 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01437/0.2821, allocations: 3.302 MB / 0.9186 GB, free: 44.41 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000194/0.2824, allocations: 221.1 kB / 0.9188 GB, free: 44.17 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.768/2.051, allocations: 4 kB / 0.9188 GB, free: 44.16 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)