Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.DC.Sources.Examples.VoltageSource.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.DC.Sources.Examples.VoltageSource,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_DC_Sources_Examples_VoltageSource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.DC.Sources.Examples.VoltageSource,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_DC_Sources_Examples_VoltageSource",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.284/1.284, allocations: 251.5 MB / 266.7 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.0008478/0.0008478, allocations: 183.3 kB / 325.8 MB, free: 2.656 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.31/1.31, allocations: 205 MB / 0.576 GB, free: 20.91 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.0006506/0.0006505, allocations: 86.7 kB / 0.6797 GB, free: 14.7 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002611/0.0002611, allocations: 12.17 kB / 0.7932 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1413/0.1415, allocations: 105.4 MB / 0.8962 GB, free: 68.05 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Sources.Examples.VoltageSource): time 0.002764/0.1443, allocations: 2.923 MB / 0.8991 GB, free: 65.11 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001468/0.1458, allocations: 1.376 MB / 0.9004 GB, free: 63.73 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.958e-05/0.1459, allocations: 7.938 kB / 0.9004 GB, free: 63.72 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0007481/0.1467, allocations: 318.9 kB / 0.9007 GB, free: 63.41 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0002148/0.1469, allocations: 143.4 kB / 0.9008 GB, free: 63.27 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002263/0.1471, allocations: 131.7 kB / 0.901 GB, free: 63.14 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0002581/0.1474, allocations: 458.7 kB / 0.9014 GB, free: 62.69 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002237/0.1476, allocations: 159.8 kB / 0.9016 GB, free: 62.53 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001193/0.1478, allocations: 131.5 kB / 0.9017 GB, free: 62.4 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001899/0.148, allocations: 139.4 kB / 0.9018 GB, free: 62.26 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.407e-05/0.148, allocations: 8 kB / 0.9018 GB, free: 62.25 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002207/0.1482, allocations: 207.6 kB / 0.902 GB, free: 62.05 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 5.723e-05/0.1483, allocations: 71.8 kB / 0.9021 GB, free: 61.98 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 7.257e-05/0.1484, allocations: 107.4 kB / 0.9022 GB, free: 61.88 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002641/0.1486, allocations: 350.8 kB / 0.9025 GB, free: 61.53 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.1487, allocations: 4 kB / 0.9025 GB, free: 61.53 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.282e-06/0.1487, allocations: 0 / 0.9025 GB, free: 61.53 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.04e-06/0.1487, allocations: 0 / 0.9025 GB, free: 61.53 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: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.0005589/0.1492, allocations: 0.5013 MB / 0.903 GB, free: 60.98 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.209e-05/0.1493, allocations: 8.031 kB / 0.903 GB, free: 60.97 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.732e-05/0.1493, allocations: 58.73 kB / 0.9031 GB, free: 60.91 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004741/0.1498, allocations: 84.58 kB / 0.9032 GB, free: 60.82 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002046/0.15, allocations: 258.6 kB / 0.9034 GB, free: 60.54 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.276e-05/0.15, allocations: 16.8 kB / 0.9034 GB, free: 60.52 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.393e-05/0.1501, allocations: 20.38 kB / 0.9035 GB, free: 60.5 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003755/0.1505, allocations: 316.4 kB / 0.9038 GB, free: 60.17 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.02e-05/0.1505, allocations: 0 / 0.9038 GB, free: 60.17 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.158e-05/0.1505, allocations: 12 kB / 0.9038 GB, free: 60.16 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.706e-05/0.1505, allocations: 16.42 kB / 0.9038 GB, free: 60.14 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002844/0.1508, allocations: 213.6 kB / 0.904 GB, free: 59.93 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001064/0.1519, allocations: 1.505 MB / 0.9055 GB, free: 58.26 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000342/0.1523, allocations: 215.6 kB / 0.9057 GB, free: 58.02 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.731e-05/0.1523, allocations: 40.84 kB / 0.9057 GB, free: 57.98 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.495e-05/0.1524, allocations: 4 kB / 0.9057 GB, free: 57.98 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.629e-05/0.1524, allocations: 34.62 kB / 0.9057 GB, free: 57.93 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=8): time 1.242e-06/0.1524, allocations: 0 / 0.9057 GB, free: 57.93 MB / 0.6042 GB Notification: Performance of matching and sorting (n=8): time 0.0004549/0.1529, allocations: 271.3 kB / 0.906 GB, free: 57.64 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.015e-05/0.1529, allocations: 51.41 kB / 0.906 GB, free: 57.58 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001397/0.153, allocations: 212.4 kB / 0.9062 GB, free: 57.36 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.25e-05/0.1531, allocations: 29.7 kB / 0.9063 GB, free: 57.33 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 6.344e-05/0.1531, allocations: 179.6 kB / 0.9064 GB, free: 57.15 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.535e-05/0.1531, allocations: 19.72 kB / 0.9065 GB, free: 57.13 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.622e-05/0.1532, allocations: 25.64 kB / 0.9065 GB, free: 57.1 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.767e-05/0.1532, allocations: 326.8 kB / 0.9068 GB, free: 56.77 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.242e-05/0.1533, allocations: 47.97 kB / 0.9068 GB, free: 56.72 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.569e-05/0.1534, allocations: 112.5 kB / 0.907 GB, free: 56.58 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001746/0.1536, allocations: 176.4 kB / 0.9071 GB, free: 56.38 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.1536, allocations: 0 / 0.9071 GB, free: 56.38 MB / 0.6042 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002907/0.1539, allocations: 214 kB / 0.9073 GB, free: 56.16 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.423e-05/0.1539, allocations: 8 kB / 0.9073 GB, free: 56.15 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.64e-06/0.1539, allocations: 288 / 0.9073 GB, free: 56.15 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001384/0.1541, allocations: 40.77 kB / 0.9074 GB, free: 56.11 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001155/0.1542, allocations: 35.92 kB / 0.9074 GB, free: 56.07 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006549/0.1549, allocations: 1.327 MB / 0.9087 GB, free: 54.61 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001185/0.155, allocations: 15.84 kB / 0.9087 GB, free: 54.6 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.09e-05/0.155, allocations: 11.94 kB / 0.9087 GB, free: 54.59 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 8.435e-05/0.1551, allocations: 141.8 kB / 0.9089 GB, free: 54.44 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.366e-05/0.1551, allocations: 27.84 kB / 0.9089 GB, free: 54.41 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.373e-05/0.1552, allocations: 25.39 kB / 0.9089 GB, free: 54.39 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.754e-06/0.1552, allocations: 0 / 0.9089 GB, free: 54.39 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.563e-06/0.1552, allocations: 3.938 kB / 0.9089 GB, free: 54.39 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.945e-06/0.1552, allocations: 3.984 kB / 0.9089 GB, free: 54.38 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004338/0.1556, allocations: 495.1 kB / 0.9094 GB, free: 53.84 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.1556, allocations: 4 kB / 0.9094 GB, free: 53.84 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.732e-05/0.1557, allocations: 11.94 kB / 0.9094 GB, free: 53.82 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.716e-05/0.1558, allocations: 28.83 kB / 0.9094 GB, free: 53.79 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.556e-06/0.1558, allocations: 0 / 0.9094 GB, free: 53.79 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005926/0.1564, allocations: 1.319 MB / 0.9107 GB, free: 52.34 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.1564, allocations: 7.875 kB / 0.9107 GB, free: 52.33 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002216/0.1566, allocations: 240.8 kB / 0.911 GB, free: 52.08 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 5.174e-05/0.1567, allocations: 104.8 kB / 0.9111 GB, free: 51.96 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.912e-05/0.1567, allocations: 0 / 0.9111 GB, free: 51.96 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001132/0.1568, allocations: 8 kB / 0.9111 GB, free: 51.95 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.921e-05/0.1569, allocations: 7.984 kB / 0.9111 GB, free: 51.94 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.322e-06/0.1569, allocations: 0 / 0.9111 GB, free: 51.94 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 8.511e-05/0.157, allocations: 145.5 kB / 0.9112 GB, free: 51.8 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.11e-07/0.157, allocations: 4 kB / 0.9112 GB, free: 51.8 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002834/0.1573, allocations: 55.84 kB / 0.9113 GB, free: 51.74 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (7): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003832/0.1577, allocations: 0.7834 MB / 0.912 GB, free: 50.93 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0003203/0.158, allocations: 226.5 kB / 0.9123 GB, free: 50.69 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.158, allocations: 0 / 0.9123 GB, free: 50.69 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001484/0.1582, allocations: 175.2 kB / 0.9124 GB, free: 50.51 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003248/0.1585, allocations: 35.34 kB / 0.9125 GB, free: 50.48 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001736/0.1603, allocations: 2.225 MB / 0.9146 GB, free: 48.11 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001563/0.1604, allocations: 0.7631 MB / 0.9154 GB, free: 47.32 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 9.226e-05/0.1605, allocations: 25.52 kB / 0.9154 GB, free: 47.29 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.303e-05/0.1606, allocations: 59.42 kB / 0.9155 GB, free: 47.23 MB / 0.6042 GB Notification: Performance of SimCode: time 2.41e-07/0.1606, allocations: 0 / 0.9155 GB, free: 47.23 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2789/0.4395, allocations: 3.666 MB / 0.919 GB, free: 43.76 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001561/0.4397, allocations: 248.1 kB / 0.9193 GB, free: 43.5 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.755/2.194, allocations: 0 / 0.9193 GB, free: 43.5 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.DC.Sources.Examples.VoltageSource.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Electrical_DC_Sources_Examples_VoltageSource_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Electrical_DC_Sources_Examples_VoltageSource.fmu > Buildings_maint.7.0.x_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe 2>&1)