Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.DC.Loads.Examples.VariableLoad.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.Loads.Examples.VariableLoad,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_DC_Loads_Examples_VariableLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.DC.Loads.Examples.VariableLoad,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_DC_Loads_Examples_VariableLoad",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.254/1.254, allocations: 251.5 MB / 266.7 MB, free: 11.06 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.0008215/0.0008215, allocations: 170.3 kB / 325.8 MB, free: 2.691 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.388/1.388, 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.0007049/0.000705, allocations: 89.17 kB / 0.6797 GB, free: 14.69 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002861/0.0002862, allocations: 11.16 kB / 0.7932 GB, free: 136.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1575/0.1578, allocations: 105.4 MB / 0.8962 GB, free: 68.05 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Loads.Examples.VariableLoad): time 0.00299/0.1608, allocations: 3.561 MB / 0.8997 GB, free: 64.47 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001905/0.1628, allocations: 1.765 MB / 0.9014 GB, free: 62.69 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001269/0.1629, allocations: 7.938 kB / 0.9014 GB, free: 62.68 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0009049/0.1638, allocations: 428.5 kB / 0.9018 GB, free: 62.27 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.000321/0.1642, allocations: 231 kB / 0.902 GB, free: 62.04 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003972/0.1646, allocations: 234.1 kB / 0.9023 GB, free: 61.81 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0003822/0.165, allocations: 0.7051 MB / 0.9029 GB, free: 61.11 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002861/0.1653, allocations: 233 kB / 0.9032 GB, free: 60.88 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000117/0.1654, allocations: 163.3 kB / 0.9033 GB, free: 60.71 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002286/0.1656, allocations: 223.2 kB / 0.9035 GB, free: 60.5 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 3.562e-05/0.1657, allocations: 16 kB / 0.9036 GB, free: 60.48 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002381/0.1659, allocations: 223.5 kB / 0.9038 GB, free: 60.26 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 7.584e-05/0.166, allocations: 115.7 kB / 0.9039 GB, free: 60.15 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 9.96e-05/0.1661, allocations: 163.1 kB / 0.904 GB, free: 59.99 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0003169/0.1664, allocations: 486.3 kB / 0.9045 GB, free: 59.51 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.795e-06/0.1664, allocations: 7.938 kB / 0.9045 GB, free: 59.5 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.253e-06/0.1664, allocations: 3.938 kB / 0.9045 GB, free: 59.5 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.179e-06/0.1664, allocations: 0 / 0.9045 GB, free: 59.5 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: 82 * Number of variables: 82 Notification: Performance of Generate backend data structure: time 0.0007446/0.1672, allocations: 0.5927 MB / 0.9051 GB, free: 58.86 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.892e-05/0.1672, allocations: 8.031 kB / 0.9051 GB, free: 58.85 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.886e-05/0.1673, allocations: 70.72 kB / 0.9052 GB, free: 58.77 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004504/0.1678, allocations: 92.39 kB / 0.9053 GB, free: 58.68 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002581/0.168, allocations: 287.3 kB / 0.9055 GB, free: 58.36 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.742e-05/0.1681, allocations: 25.02 kB / 0.9055 GB, free: 58.34 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.373e-05/0.1681, allocations: 32.38 kB / 0.9056 GB, free: 58.3 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006027/0.1687, allocations: 497.8 kB / 0.9061 GB, free: 57.79 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.247e-05/0.1687, allocations: 3.938 kB / 0.9061 GB, free: 57.79 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.779e-05/0.1688, allocations: 19.98 kB / 0.9061 GB, free: 57.77 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.166e-05/0.1688, allocations: 40.62 kB / 0.9061 GB, free: 57.73 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000602/0.1694, allocations: 386.2 kB / 0.9065 GB, free: 57.35 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001377/0.1708, allocations: 2.056 MB / 0.9085 GB, free: 55.09 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004443/0.1713, allocations: 222.8 kB / 0.9087 GB, free: 54.87 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003017/0.1716, allocations: 168.8 kB / 0.9089 GB, free: 54.7 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.335e-05/0.1716, allocations: 7.984 kB / 0.9089 GB, free: 54.69 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.248e-05/0.1716, allocations: 30.56 kB / 0.9089 GB, free: 54.65 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=18): time 1.833e-06/0.1716, allocations: 0 / 0.9089 GB, free: 54.65 MB / 0.6042 GB Notification: Performance of matching and sorting (n=18): time 0.0008685/0.1725, allocations: 463 kB / 0.9093 GB, free: 54.17 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.769e-05/0.1725, allocations: 51.41 kB / 0.9094 GB, free: 54.11 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001607/0.1727, allocations: 262.7 kB / 0.9096 GB, free: 53.84 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.375e-05/0.1727, allocations: 25.7 kB / 0.9097 GB, free: 53.81 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 7.045e-05/0.1728, allocations: 215.6 kB / 0.9099 GB, free: 53.59 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.806e-05/0.1728, allocations: 59.11 kB / 0.9099 GB, free: 53.54 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.091e-05/0.1729, allocations: 29.7 kB / 0.91 GB, free: 53.5 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.412e-05/0.1729, allocations: 338.8 kB / 0.9103 GB, free: 53.16 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002262/0.1731, allocations: 104.5 kB / 0.9104 GB, free: 53.06 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002241/0.1734, allocations: 214.2 kB / 0.9106 GB, free: 52.8 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004195/0.1738, allocations: 329.5 kB / 0.9109 GB, free: 52.43 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.474e-06/0.1738, allocations: 0 / 0.9109 GB, free: 52.43 MB / 0.6042 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005907/0.1744, allocations: 385.9 kB / 0.9113 GB, free: 52.04 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 5.275e-05/0.1745, allocations: 196.2 kB / 0.9115 GB, free: 51.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.413e-05/0.1745, allocations: 4 kB / 0.9115 GB, free: 51.8 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001639/0.1747, allocations: 36.78 kB / 0.9115 GB, free: 51.76 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002298/0.1749, allocations: 71.89 kB / 0.9116 GB, free: 51.69 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007378/0.1756, allocations: 1.331 MB / 0.9129 GB, free: 50.23 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002146/0.1759, allocations: 47.67 kB / 0.9129 GB, free: 50.18 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.702e-05/0.1759, allocations: 12 kB / 0.9129 GB, free: 50.17 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 4.779e-06/0.1759, allocations: 4 kB / 0.9129 GB, free: 50.16 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004793/0.1764, allocations: 307.7 kB / 0.9132 GB, free: 49.86 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.336e-06/0.1764, allocations: 4 kB / 0.9132 GB, free: 49.86 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.709e-06/0.1764, allocations: 7.938 kB / 0.9132 GB, free: 49.85 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002275/0.1766, allocations: 84.02 kB / 0.9133 GB, free: 49.77 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.907e-06/0.1767, allocations: 4 kB / 0.9133 GB, free: 49.77 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001767/0.1768, allocations: 39.81 kB / 0.9134 GB, free: 49.73 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.417e-05/0.1769, allocations: 16 kB / 0.9134 GB, free: 49.71 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (32): * Single equations (assignments): 31 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001178/0.177, allocations: 252.1 kB / 0.9136 GB, free: 49.46 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.037e-05/0.177, allocations: 31.62 kB / 0.9136 GB, free: 49.43 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.193e-05/0.1771, allocations: 38.11 kB / 0.9137 GB, free: 49.39 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.1771, allocations: 0 / 0.9137 GB, free: 49.39 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.516e-06/0.1771, allocations: 4 kB / 0.9137 GB, free: 49.38 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.1771, allocations: 0 / 0.9137 GB, free: 49.38 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008407/0.178, allocations: 0.7743 MB / 0.9144 GB, free: 48.53 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.178, allocations: 4.062 kB / 0.9144 GB, free: 48.53 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001658/0.1781, allocations: 43.91 kB / 0.9145 GB, free: 48.48 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.027e-05/0.1782, allocations: 24.84 kB / 0.9145 GB, free: 48.46 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.257e-05/0.1783, allocations: 7.984 kB / 0.9145 GB, free: 48.45 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005495/0.1788, allocations: 1.315 MB / 0.9158 GB, free: 47 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.764e-06/0.1788, allocations: 7.938 kB / 0.9158 GB, free: 46.99 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000477/0.1793, allocations: 388.3 kB / 0.9162 GB, free: 46.59 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 6.606e-05/0.1794, allocations: 124.6 kB / 0.9163 GB, free: 46.45 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.473e-05/0.1794, allocations: 7.938 kB / 0.9163 GB, free: 46.44 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000167/0.1796, allocations: 23.98 kB / 0.9163 GB, free: 46.41 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.845e-05/0.1796, allocations: 19.97 kB / 0.9163 GB, free: 46.39 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.03e-05/0.1797, allocations: 4 kB / 0.9163 GB, free: 46.39 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001058/0.1798, allocations: 178 kB / 0.9165 GB, free: 46.22 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.8e-07/0.1798, allocations: 0 / 0.9165 GB, free: 46.22 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0004437/0.1802, allocations: 143.6 kB / 0.9167 GB, free: 46.08 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006124/0.1808, allocations: 0.9317 MB / 0.9176 GB, free: 45.11 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.000801/0.1816, allocations: 0.5027 MB / 0.9181 GB, free: 44.59 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/0.1817, allocations: 1.062 kB / 0.9181 GB, free: 44.59 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0002586/0.1819, allocations: 235.6 kB / 0.9183 GB, free: 44.35 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004217/0.1824, allocations: 60.52 kB / 0.9183 GB, free: 44.29 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002637/0.185, allocations: 3.058 MB / 0.9213 GB, free: 41.04 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000189/0.1852, allocations: 0.7957 MB / 0.9221 GB, free: 40.22 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0001941/0.1854, allocations: 78.19 kB / 0.9222 GB, free: 40.14 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.866e-05/0.1855, allocations: 91.41 kB / 0.9223 GB, free: 40.05 MB / 0.6042 GB Notification: Performance of SimCode: time 2.8e-07/0.1855, allocations: 0 / 0.9223 GB, free: 40.05 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2428/0.4283, allocations: 5.728 MB / 0.9279 GB, free: 34.54 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001467/0.4285, allocations: 247.2 kB / 0.9281 GB, free: 34.27 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.933/2.362, allocations: 0 / 0.9281 GB, free: 34.27 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Electrical.DC.Loads.Examples.VariableLoad.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.DC.Loads.Examples.VariableLoad.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.DC.Loads.Examples.VariableLoad.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.DC.Loads.Examples.VariableLoad.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Electrical_DC_Loads_Examples_VariableLoad_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Electrical_DC_Loads_Examples_VariableLoad.fmu > Buildings_maint.7.0.x_Buildings.Electrical.DC.Loads.Examples.VariableLoad.pipe 2>&1)