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.475/1.475, allocations: 251.9 MB / 266.9 MB, free: 10.98 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.001624/0.001624, allocations: 181.8 kB / 326.5 MB, free: 2.234 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.884/1.884, allocations: 205.4 MB / 0.5775 GB, free: 20.55 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.001184/0.001184, allocations: 91.98 kB / 0.6821 GB, free: 13.34 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003331/0.0003331, allocations: 10 kB / 0.7963 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2271/0.2274, allocations: 106.3 MB / 0.9002 GB, free: 64.2 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1992/0.4267, allocations: 150.8 MB / 1.047 GB, free: 9.172 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003704/0.4271, allocations: 91.94 kB / 1.048 GB, free: 9.082 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.5174/0.9445, allocations: 11.83 MB / 1.059 GB, free: 150.7 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.224e-06/0.9446, allocations: 0 / 1.059 GB, free: 150.7 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.689e-05/0.9446, allocations: 5.75 kB / 1.059 GB, free: 150.7 MB / 0.698 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.0006368/0.9453, allocations: 475.2 kB / 1.06 GB, free: 150.2 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.905e-05/0.9453, allocations: 13.69 kB / 1.06 GB, free: 150.2 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.083e-05/0.9454, allocations: 47.98 kB / 1.06 GB, free: 150.2 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005709/0.946, allocations: 63.75 kB / 1.06 GB, free: 150.2 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002698/0.9462, allocations: 233.5 kB / 1.06 GB, free: 150 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.696e-05/0.9463, allocations: 10.27 kB / 1.06 GB, free: 150 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.697e-05/0.9463, allocations: 13.03 kB / 1.06 GB, free: 150 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004373/0.9468, allocations: 274.9 kB / 1.06 GB, free: 149.9 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.501e-05/0.9468, allocations: 2.016 kB / 1.06 GB, free: 149.9 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.433e-05/0.9468, allocations: 7.391 kB / 1.06 GB, free: 149.9 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.851e-05/0.9469, allocations: 17.78 kB / 1.06 GB, free: 149.9 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00032/0.9472, allocations: 209.2 kB / 1.06 GB, free: 149.9 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001606/0.9488, allocations: 1.581 MB / 1.062 GB, free: 148.6 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001007/0.9489, allocations: 76.16 kB / 1.062 GB, free: 148.6 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.226e-05/0.9489, allocations: 4 kB / 1.062 GB, free: 148.6 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.701e-05/0.9489, allocations: 33.95 kB / 1.062 GB, free: 148.5 MB / 0.698 GB Notification: Performance of pre-optimization done (n=7): time 1.603e-06/0.949, allocations: 0 / 1.062 GB, free: 148.5 MB / 0.698 GB Notification: Performance of matching and sorting (n=8): time 0.0004986/0.9495, allocations: 217.9 kB / 1.062 GB, free: 148.5 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.173e-05/0.9495, allocations: 80.31 kB / 1.062 GB, free: 148.4 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001941/0.9497, allocations: 203.6 kB / 1.063 GB, free: 148.3 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.136e-05/0.9497, allocations: 29.64 kB / 1.063 GB, free: 148.2 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 6.678e-05/0.9498, allocations: 166.5 kB / 1.063 GB, free: 148.1 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.238e-05/0.9498, allocations: 31.09 kB / 1.063 GB, free: 148.1 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.089e-05/0.9498, allocations: 6.094 kB / 1.063 GB, free: 148.1 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 5.687e-05/0.9499, allocations: 323.7 kB / 1.063 GB, free: 147.8 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001103/0.95, allocations: 76.48 kB / 1.063 GB, free: 147.8 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001438/0.9502, allocations: 159.4 kB / 1.063 GB, free: 147.7 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000141/0.9503, allocations: 102.7 kB / 1.063 GB, free: 147.7 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.9503, allocations: 0 / 1.063 GB, free: 147.7 MB / 0.698 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003816/0.9507, allocations: 267.4 kB / 1.064 GB, free: 147.6 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002315/0.951, allocations: 1.144 MB / 1.065 GB, free: 146.4 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.806e-06/0.951, allocations: 2.906 kB / 1.065 GB, free: 146.4 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.807e-05/0.951, allocations: 5.875 kB / 1.065 GB, free: 146.4 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002424/0.9512, allocations: 49.2 kB / 1.065 GB, free: 146.4 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.232e-05/0.9513, allocations: 10.16 kB / 1.065 GB, free: 146.4 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002212/0.9515, allocations: 30.81 kB / 1.065 GB, free: 146.4 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.045e-05/0.9515, allocations: 12.52 kB / 1.065 GB, free: 146.4 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 8.346e-06/0.9515, allocations: 6.453 kB / 1.065 GB, free: 146.4 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003073/0.9519, allocations: 210 kB / 1.065 GB, free: 146.4 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.868e-06/0.9519, allocations: 3.734 kB / 1.065 GB, free: 146.4 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.49e-06/0.9519, allocations: 9.375 kB / 1.065 GB, free: 146.4 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000201/0.9521, allocations: 48.09 kB / 1.065 GB, free: 146.4 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.903e-06/0.9521, allocations: 8.312 kB / 1.065 GB, free: 146.4 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001462/0.9523, allocations: 20.38 kB / 1.065 GB, free: 146.4 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.535e-05/0.9523, allocations: 8.453 kB / 1.065 GB, free: 146.4 MB / 0.698 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.000126/0.9524, allocations: 224.2 kB / 1.065 GB, free: 146.2 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.096e-05/0.9525, allocations: 13.97 kB / 1.065 GB, free: 146.2 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002024/0.9527, allocations: 117.1 kB / 1.066 GB, free: 146.2 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.514e-06/0.9527, allocations: 7.938 kB / 1.066 GB, free: 146.1 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.9527, allocations: 0 / 1.066 GB, free: 146.1 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.438e-06/0.9527, allocations: 4.562 kB / 1.066 GB, free: 146.1 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006573/0.9534, allocations: 0.6225 MB / 1.066 GB, free: 145.7 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.64e-06/0.9534, allocations: 3.266 kB / 1.066 GB, free: 145.7 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.444e-05/0.9535, allocations: 24.88 kB / 1.066 GB, free: 145.7 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.807e-06/0.9535, allocations: 2.906 kB / 1.066 GB, free: 145.7 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.088e-05/0.9535, allocations: 3.859 kB / 1.066 GB, free: 145.7 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.818e-06/0.9535, allocations: 3.797 kB / 1.066 GB, free: 145.7 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.9535, allocations: 0 / 1.066 GB, free: 145.7 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002297/0.9537, allocations: 418.9 kB / 1.067 GB, free: 145.3 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 8.194e-05/0.9538, allocations: 104.3 kB / 1.067 GB, free: 145.2 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.008e-05/0.9539, allocations: 6.156 kB / 1.067 GB, free: 145.2 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000171/0.9541, allocations: 10.16 kB / 1.067 GB, free: 145.2 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.78e-05/0.9541, allocations: 13.5 kB / 1.067 GB, free: 145.2 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.182e-06/0.9541, allocations: 9.844 kB / 1.067 GB, free: 145.2 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001368/0.9542, allocations: 165.8 kB / 1.067 GB, free: 145.1 MB / 0.698 GB Notification: Performance of sort global known variables: time 1e-07/0.9542, allocations: 0 / 1.067 GB, free: 145.1 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0004983/0.9548, allocations: 87.94 kB / 1.067 GB, free: 145.1 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (8): * Single equations (assignments): 8 * 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.0005249/0.9553, allocations: 1.443 MB / 1.068 GB, free: 143.7 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0004123/0.9557, allocations: 267 kB / 1.069 GB, free: 143.7 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.9557, allocations: 4.125 kB / 1.069 GB, free: 143.7 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 6.064e-05/0.9558, allocations: 43.62 kB / 1.069 GB, free: 143.7 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003054/0.9561, allocations: 37.73 kB / 1.069 GB, free: 143.7 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001891/0.958, allocations: 2.954 MB / 1.072 GB, free: 141.2 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002352/0.9582, allocations: 0.736 MB / 1.072 GB, free: 140.5 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0002158/0.9585, allocations: 69.48 kB / 1.072 GB, free: 140.5 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.441e-05/0.9586, allocations: 47.88 kB / 1.072 GB, free: 140.5 MB / 0.698 GB Notification: Performance of SimCode: time 3.7e-07/0.9586, allocations: 0 / 1.072 GB, free: 140.5 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01603/0.9746, allocations: 3.215 MB / 1.076 GB, free: 140.3 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001523/0.9748, allocations: 206.9 kB / 1.076 GB, free: 140.1 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.669/2.644, allocations: 0 / 1.076 GB, free: 140.1 MB / 0.698 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)