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 2.679/2.679, allocations: 287.3 MB / 302.3 MB, free: 8.383 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.001582/0.001582, allocations: 191.7 kB / 370.8 MB, free: 10.87 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.195/2.195, allocations: 205.4 MB / 0.6295 GB, free: 10.62 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.001097/0.001097, allocations: 94.86 kB / 0.7428 GB, free: 6.641 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004985/0.0004981, allocations: 15.83 kB / 0.8657 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2171/0.2177, allocations: 115.3 MB / 0.9783 GB, free: 28.32 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9933/1.211, allocations: 156.9 MB / 1.132 GB, free: 15.3 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003335/1.211, allocations: 96.83 kB / 1.132 GB, free: 15.3 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.04382/1.255, allocations: 11.82 MB / 1.143 GB, free: 26.86 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.504e-06/1.255, allocations: 0 / 1.143 GB, free: 26.86 MB / 0.698 GB Notification: Performance of Transformations before backend: time 2.833e-05/1.255, allocations: 3.5 kB / 1.143 GB, free: 26.86 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.0008232/1.256, allocations: 478.9 kB / 1.144 GB, free: 26.42 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.941e-05/1.256, allocations: 19.5 kB / 1.144 GB, free: 26.41 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.701e-05/1.256, allocations: 48.33 kB / 1.144 GB, free: 26.37 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008569/1.257, allocations: 66.22 kB / 1.144 GB, free: 26.34 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003755/1.258, allocations: 232.5 kB / 1.144 GB, free: 26.11 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.654e-05/1.258, allocations: 15.16 kB / 1.144 GB, free: 26.11 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.993e-05/1.258, allocations: 11.5 kB / 1.144 GB, free: 26.11 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005514/1.258, allocations: 279.7 kB / 1.144 GB, free: 25.94 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.711e-05/1.258, allocations: 3.938 kB / 1.144 GB, free: 25.94 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.265e-05/1.258, allocations: 7.781 kB / 1.144 GB, free: 25.94 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.529e-05/1.258, allocations: 15.75 kB / 1.144 GB, free: 25.93 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004545/1.259, allocations: 207.9 kB / 1.145 GB, free: 25.89 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002375/1.261, allocations: 1.584 MB / 1.146 GB, free: 24.52 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001353/1.261, allocations: 70.5 kB / 1.146 GB, free: 24.46 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.949e-05/1.262, allocations: 7.828 kB / 1.146 GB, free: 24.46 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.502e-05/1.262, allocations: 33.62 kB / 1.146 GB, free: 24.42 MB / 0.698 GB Notification: Performance of pre-optimization done (n=7): time 2.354e-06/1.262, allocations: 0 / 1.146 GB, free: 24.42 MB / 0.698 GB Notification: Performance of matching and sorting (n=8): time 0.0006841/1.262, allocations: 221.3 kB / 1.146 GB, free: 24.31 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.173e-05/1.262, allocations: 81.11 kB / 1.146 GB, free: 24.21 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002757/1.263, allocations: 201.3 kB / 1.147 GB, free: 24.1 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.283e-05/1.263, allocations: 29.58 kB / 1.147 GB, free: 24.07 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 9.522e-05/1.263, allocations: 165.8 kB / 1.147 GB, free: 23.92 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.243e-05/1.263, allocations: 34.34 kB / 1.147 GB, free: 23.9 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.974e-05/1.263, allocations: 3.125 kB / 1.147 GB, free: 23.9 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001442/1.263, allocations: 325.7 kB / 1.147 GB, free: 23.58 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001767/1.263, allocations: 78.61 kB / 1.147 GB, free: 23.57 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002164/1.263, allocations: 154.4 kB / 1.147 GB, free: 23.45 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002531/1.264, allocations: 104.5 kB / 1.148 GB, free: 23.43 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.559e-06/1.264, allocations: 0 / 1.148 GB, free: 23.43 MB / 0.698 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0006368/1.264, allocations: 278.1 kB / 1.148 GB, free: 23.34 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004835/1.265, allocations: 1.139 MB / 1.149 GB, free: 22.14 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.186e-05/1.265, allocations: 3.938 kB / 1.149 GB, free: 22.14 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.192e-05/1.265, allocations: 3.844 kB / 1.149 GB, free: 22.14 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004876/1.265, allocations: 57.7 kB / 1.149 GB, free: 22.12 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.273e-05/1.265, allocations: 7.75 kB / 1.149 GB, free: 22.12 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003845/1.266, allocations: 22.38 kB / 1.149 GB, free: 22.11 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.781e-05/1.266, allocations: 14.62 kB / 1.149 GB, free: 22.11 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.12e-05/1.266, allocations: 3.812 kB / 1.149 GB, free: 22.11 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000479/1.266, allocations: 210.3 kB / 1.149 GB, free: 22.07 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.174e-06/1.266, allocations: 3.812 kB / 1.149 GB, free: 22.07 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.304e-06/1.266, allocations: 7.75 kB / 1.149 GB, free: 22.06 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000314/1.267, allocations: 48.91 kB / 1.149 GB, free: 22.05 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.558e-06/1.267, allocations: 11.77 kB / 1.149 GB, free: 22.05 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000278/1.267, allocations: 19.47 kB / 1.149 GB, free: 22.04 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.216e-05/1.267, allocations: 7.625 kB / 1.149 GB, free: 22.04 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.000243/1.267, allocations: 228 kB / 1.15 GB, free: 21.84 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.619e-05/1.267, allocations: 15.5 kB / 1.15 GB, free: 21.83 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002798/1.268, allocations: 111.2 kB / 1.15 GB, free: 21.77 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.809e-06/1.268, allocations: 0 / 1.15 GB, free: 21.77 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.531e-06/1.268, allocations: 3.938 kB / 1.15 GB, free: 21.77 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.4e-06/1.268, allocations: 7.766 kB / 1.15 GB, free: 21.77 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001055/1.269, allocations: 0.6135 MB / 1.15 GB, free: 21.27 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.65e-06/1.269, allocations: 7.828 kB / 1.15 GB, free: 21.26 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001406/1.269, allocations: 23.27 kB / 1.15 GB, free: 21.25 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.823e-06/1.269, allocations: 0 / 1.15 GB, free: 21.25 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.528e-05/1.269, allocations: 7.828 kB / 1.15 GB, free: 21.25 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.48e-06/1.269, allocations: 4.094 kB / 1.15 GB, free: 21.25 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.928e-06/1.269, allocations: 4 kB / 1.15 GB, free: 21.25 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004043/1.269, allocations: 419.2 kB / 1.151 GB, free: 20.84 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001339/1.27, allocations: 107.1 kB / 1.151 GB, free: 20.74 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.255e-05/1.27, allocations: 7.812 kB / 1.151 GB, free: 20.73 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002651/1.27, allocations: 7.547 kB / 1.151 GB, free: 20.73 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.624e-05/1.27, allocations: 14.92 kB / 1.151 GB, free: 20.72 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.949e-06/1.27, allocations: 3.719 kB / 1.151 GB, free: 20.72 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0002407/1.27, allocations: 171.7 kB / 1.151 GB, free: 20.62 MB / 0.698 GB Notification: Performance of sort global known variables: time 5.11e-07/1.27, allocations: 0 / 1.151 GB, free: 20.62 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.000818/1.271, allocations: 87.69 kB / 1.151 GB, free: 20.62 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.001117/1.272, allocations: 1.436 MB / 1.152 GB, free: 19.21 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0007118/1.273, allocations: 274.7 kB / 1.153 GB, free: 19.16 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.939e-06/1.273, allocations: 0 / 1.153 GB, free: 19.16 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 9.672e-05/1.273, allocations: 44.38 kB / 1.153 GB, free: 19.14 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000484/1.274, allocations: 31.88 kB / 1.153 GB, free: 19.14 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00307/1.277, allocations: 2.944 MB / 1.156 GB, free: 16.57 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005124/1.277, allocations: 0.7407 MB / 1.156 GB, free: 15.85 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0004134/1.278, allocations: 76.25 kB / 1.156 GB, free: 15.81 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001169/1.278, allocations: 42.89 kB / 1.157 GB, free: 15.8 MB / 0.698 GB Notification: Performance of SimCode: time 1.002e-06/1.278, allocations: 0 / 1.157 GB, free: 15.8 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02562/1.304, allocations: 3.206 MB / 1.16 GB, free: 14.35 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002592/1.304, allocations: 201.8 kB / 1.16 GB, free: 14.11 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.488/3.792, allocations: 3.844 kB / 1.16 GB, free: 14.11 MB / 0.698 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)