Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_OnePhase_Loads_Examples_DynamicLoads",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_OnePhase_Loads_Examples_DynamicLoads",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00114/0.00114, allocations: 111.3 kB / 15.23 MB, free: 0.6602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001172/0.001172, allocations: 196.1 kB / 16.14 MB, free: 6.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.17/1.17, allocations: 205.1 MB / 222 MB, free: 4.727 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.539/1.539, allocations: 292.3 MB / 0.5484 GB, free: 13.65 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001499/0.001499, allocations: 68.91 kB / 0.6709 GB, free: 26.3 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1653/0.1668, allocations: 114.5 MB / 0.7828 GB, free: 13.89 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads): time 0.003856/0.1707, allocations: 3.301 MB / 0.786 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002289/0.173, allocations: 1.867 MB / 0.7879 GB, free: 8.688 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.415e-05/0.1731, allocations: 11.88 kB / 0.7879 GB, free: 8.676 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0006882/0.1738, allocations: 266.2 kB / 0.7881 GB, free: 8.418 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0003116/0.1741, allocations: 211.2 kB / 0.7883 GB, free: 8.211 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004583/0.1746, allocations: 267.4 kB / 0.7886 GB, free: 7.949 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0004184/0.175, allocations: 0.561 MB / 0.7891 GB, free: 7.387 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003165/0.1754, allocations: 201 kB / 0.7893 GB, free: 7.191 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001519/0.1755, allocations: 147.5 kB / 0.7895 GB, free: 7.047 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002714/0.1758, allocations: 203.3 kB / 0.7896 GB, free: 6.848 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.437e-05/0.1758, allocations: 16 kB / 0.7897 GB, free: 6.832 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003514/0.1762, allocations: 279.4 kB / 0.7899 GB, free: 6.559 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001012/0.1763, allocations: 107.7 kB / 0.79 GB, free: 6.453 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001227/0.1764, allocations: 143.2 kB / 0.7902 GB, free: 6.312 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0004109/0.1769, allocations: 478.5 kB / 0.7906 GB, free: 5.844 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.1769, allocations: 3.938 kB / 0.7906 GB, free: 5.84 MB / 0.6075 GB Notification: Performance of FrontEnd: time 7.31e-07/0.1769, allocations: 0 / 0.7906 GB, free: 5.84 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.937e-06/0.1769, allocations: 4 kB / 0.7906 GB, free: 5.836 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 68 * Number of variables: 68 Notification: Performance of Generate backend data structure: time 0.0008656/0.1778, allocations: 0.5926 MB / 0.7912 GB, free: 5.195 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.084e-05/0.1778, allocations: 8.031 kB / 0.7912 GB, free: 5.188 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.016e-05/0.1779, allocations: 62.72 kB / 0.7913 GB, free: 5.117 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006529/0.1785, allocations: 96.45 kB / 0.7914 GB, free: 5.023 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002773/0.1788, allocations: 272.4 kB / 0.7916 GB, free: 4.715 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.621e-05/0.1788, allocations: 20.92 kB / 0.7917 GB, free: 4.695 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.459e-05/0.1789, allocations: 36.3 kB / 0.7917 GB, free: 4.66 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005496/0.1795, allocations: 445.1 kB / 0.7921 GB, free: 4.191 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.149e-05/0.1795, allocations: 4 kB / 0.7921 GB, free: 4.188 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.047e-05/0.1795, allocations: 8 kB / 0.7921 GB, free: 4.18 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001285/0.1797, allocations: 40.53 kB / 0.7922 GB, free: 4.141 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004698/0.1802, allocations: 349.9 kB / 0.7925 GB, free: 3.793 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001994/0.1822, allocations: 2.21 MB / 0.7947 GB, free: 1.383 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003674/0.1825, allocations: 266.4 kB / 0.7949 GB, free: 1.113 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001897/0.1827, allocations: 164.8 kB / 0.7951 GB, free: 0.9492 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.71e-05/0.1828, allocations: 0 / 0.7951 GB, free: 0.9492 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.926e-05/0.1828, allocations: 38.92 kB / 0.7951 GB, free: 0.9023 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=22): time 1.012e-06/0.1828, allocations: 0 / 0.7951 GB, free: 0.9023 MB / 0.6075 GB Notification: Performance of matching and sorting (n=23): time 0.001527/0.1843, allocations: 1.059 MB / 0.7961 GB, free: 15.77 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.718e-05/0.1844, allocations: 55.41 kB / 0.7962 GB, free: 15.71 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002042/0.1846, allocations: 252.8 kB / 0.7964 GB, free: 15.45 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 2.509e-05/0.1846, allocations: 33.7 kB / 0.7965 GB, free: 15.41 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 8.434e-05/0.1847, allocations: 180 kB / 0.7966 GB, free: 15.23 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 5.696e-05/0.1847, allocations: 86.75 kB / 0.7967 GB, free: 15.14 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001069/0.1849, allocations: 81.59 kB / 0.7968 GB, free: 15.05 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 8.766e-05/0.185, allocations: 334.8 kB / 0.7971 GB, free: 14.72 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002054/0.1852, allocations: 147.9 kB / 0.7973 GB, free: 14.57 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002452/0.1854, allocations: 241.5 kB / 0.7975 GB, free: 14.3 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00045/0.1859, allocations: 410.8 kB / 0.7979 GB, free: 13.87 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.1859, allocations: 0 / 0.7979 GB, free: 13.87 MB / 0.6231 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0009685/0.1869, allocations: 0.5859 MB / 0.7984 GB, free: 13.28 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.255e-05/0.1869, allocations: 8 kB / 0.7985 GB, free: 13.27 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.538e-06/0.1869, allocations: 0 / 0.7985 GB, free: 13.27 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006114/0.1875, allocations: 188.8 kB / 0.7986 GB, free: 13.08 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002482/0.1878, allocations: 59.91 kB / 0.7987 GB, free: 13.02 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002309/0.1901, allocations: 2.303 MB / 0.8009 GB, free: 10.59 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002609/0.1904, allocations: 27.98 kB / 0.801 GB, free: 10.56 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.823e-05/0.1904, allocations: 11.98 kB / 0.801 GB, free: 10.55 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * 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 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): 1 system {(2,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001332/0.1905, allocations: 165.8 kB / 0.8011 GB, free: 10.38 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.277e-05/0.1906, allocations: 27.66 kB / 0.8012 GB, free: 10.35 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004718/0.1911, allocations: 347.5 kB / 0.8015 GB, free: 10.01 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.306e-06/0.1911, allocations: 4 kB / 0.8015 GB, free: 10.01 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.062e-06/0.1911, allocations: 0 / 0.8015 GB, free: 10.01 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/0.1911, allocations: 4 kB / 0.8015 GB, free: 10 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008743/0.192, allocations: 0.8115 MB / 0.8023 GB, free: 9.133 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.192, allocations: 4 kB / 0.8023 GB, free: 9.129 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00037/0.1924, allocations: 72.05 kB / 0.8024 GB, free: 9.059 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.252e-06/0.1924, allocations: 11.92 kB / 0.8024 GB, free: 9.047 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.981e-05/0.1924, allocations: 7.938 kB / 0.8024 GB, free: 9.039 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.046e-06/0.1924, allocations: 7.984 kB / 0.8024 GB, free: 9.031 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.1924, allocations: 4.062 kB / 0.8024 GB, free: 9.027 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006408/0.1931, allocations: 0.6047 MB / 0.803 GB, free: 8.402 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001042/0.1932, allocations: 124.8 kB / 0.8031 GB, free: 8.262 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.496e-05/0.1932, allocations: 15.92 kB / 0.8031 GB, free: 8.246 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001913/0.1934, allocations: 11.98 kB / 0.8031 GB, free: 8.234 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.851e-05/0.1935, allocations: 19.92 kB / 0.8032 GB, free: 8.215 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.645e-05/0.1935, allocations: 12 kB / 0.8032 GB, free: 8.203 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.000138/0.1936, allocations: 176.4 kB / 0.8033 GB, free: 8.035 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1936, allocations: 4 kB / 0.8033 GB, free: 8.031 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0003464/0.194, allocations: 88 kB / 0.8034 GB, free: 7.945 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (dynRC.q[1],dynRC.q[2],dynRL.psi[1],dynRL.psi[2]) * 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 (24): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008702/0.1949, allocations: 1.151 MB / 0.8045 GB, free: 6.758 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0007236/0.1956, allocations: 0.5378 MB / 0.8051 GB, free: 6.207 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.1956, allocations: 4.062 kB / 0.8051 GB, free: 6.203 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0001817/0.1958, allocations: 151.8 kB / 0.8052 GB, free: 6.055 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003907/0.1962, allocations: 44.41 kB / 0.8053 GB, free: 6.012 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004196/0.2004, allocations: 3.757 MB / 0.8089 GB, free: 2.09 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002787/0.2007, allocations: 0.7989 MB / 0.8097 GB, free: 1.262 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001894/0.2009, allocations: 82.89 kB / 0.8098 GB, free: 1.184 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001236/0.201, allocations: 79.41 kB / 0.8099 GB, free: 1.105 MB / 0.6231 GB Notification: Performance of SimCode: time 2.5e-07/0.201, allocations: 4 kB / 0.8099 GB, free: 1.102 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.065/2.266, allocations: 6.413 MB / 0.8161 GB, free: 10.85 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001967/2.266, allocations: 230.8 kB / 0.8164 GB, free: 10.59 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.818/4.084, allocations: 0.5 kB / 0.8164 GB, free: 10.59 MB / 0.6387 GB (rm -f Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Electrical_AC_OnePhase_Loads_Examples_DynamicLoads_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Electrical_AC_OnePhase_Loads_Examples_DynamicLoads.fmu > Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe 2>&1)