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.001172/0.001172, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001178/0.001178, allocations: 191.2 kB / 16.25 MB, free: 6.637 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.23/1.23, allocations: 205.1 MB / 222.1 MB, free: 4.691 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.531/1.531, allocations: 292.3 MB / 0.5486 GB, free: 13.61 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.001311/0.001312, allocations: 67.14 kB / 0.6711 GB, free: 26.21 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1769/0.1782, allocations: 114.5 MB / 0.783 GB, free: 13.8 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads): time 0.004394/0.1826, allocations: 3.31 MB / 0.7862 GB, free: 10.47 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002677/0.1853, allocations: 1.84 MB / 0.788 GB, free: 8.621 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001455/0.1855, allocations: 4 kB / 0.788 GB, free: 8.617 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0007894/0.1863, allocations: 282.3 kB / 0.7883 GB, free: 8.344 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0004051/0.1867, allocations: 191.2 kB / 0.7885 GB, free: 8.156 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005827/0.1873, allocations: 271.4 kB / 0.7887 GB, free: 7.891 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003954/0.1877, allocations: 410.7 kB / 0.7891 GB, free: 7.488 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003518/0.1881, allocations: 236.4 kB / 0.7893 GB, free: 7.258 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001857/0.1883, allocations: 159.5 kB / 0.7895 GB, free: 7.102 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002955/0.1886, allocations: 203.3 kB / 0.7897 GB, free: 6.902 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.658e-05/0.1886, allocations: 24 kB / 0.7897 GB, free: 6.879 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002963/0.1889, allocations: 235.5 kB / 0.7899 GB, free: 6.648 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001036/0.189, allocations: 115.7 kB / 0.79 GB, free: 6.535 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001253/0.1892, allocations: 151.2 kB / 0.7902 GB, free: 6.387 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0004393/0.1896, allocations: 490.5 kB / 0.7907 GB, free: 5.906 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.1896, allocations: 0 / 0.7907 GB, free: 5.906 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.223e-06/0.1896, allocations: 0 / 0.7907 GB, free: 5.906 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.4e-06/0.1896, allocations: 0 / 0.7907 GB, free: 5.906 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.0009356/0.1906, allocations: 0.5887 MB / 0.7912 GB, free: 5.27 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.421e-05/0.1906, allocations: 12.03 kB / 0.7912 GB, free: 5.258 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.432e-05/0.1907, allocations: 66.7 kB / 0.7913 GB, free: 5.184 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006962/0.1914, allocations: 92.47 kB / 0.7914 GB, free: 5.094 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003012/0.1917, allocations: 280.4 kB / 0.7917 GB, free: 4.777 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.838e-05/0.1917, allocations: 24.92 kB / 0.7917 GB, free: 4.754 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001051/0.1918, allocations: 32.5 kB / 0.7917 GB, free: 4.723 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005947/0.1924, allocations: 445.1 kB / 0.7921 GB, free: 4.254 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.411e-05/0.1925, allocations: 3.938 kB / 0.7921 GB, free: 4.25 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.443e-05/0.1925, allocations: 12 kB / 0.7922 GB, free: 4.238 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001367/0.1926, allocations: 36.53 kB / 0.7922 GB, free: 4.203 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005016/0.1931, allocations: 349.9 kB / 0.7925 GB, free: 3.855 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002218/0.1954, allocations: 2.21 MB / 0.7947 GB, free: 1.445 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004095/0.1958, allocations: 266.4 kB / 0.7949 GB, free: 1.176 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001978/0.196, allocations: 160.8 kB / 0.7951 GB, free: 1.016 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.773e-05/0.196, allocations: 7.984 kB / 0.7951 GB, free: 1.008 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.121e-05/0.1961, allocations: 34.56 kB / 0.7951 GB, free: 0.9648 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=22): time 1.212e-06/0.1961, allocations: 0 / 0.7951 GB, free: 0.9648 MB / 0.6075 GB Notification: Performance of matching and sorting (n=23): time 0.001606/0.1977, allocations: 1.052 MB / 0.7962 GB, free: 15.84 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.84e-05/0.1977, allocations: 59.34 kB / 0.7962 GB, free: 15.77 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002196/0.1979, allocations: 252.8 kB / 0.7965 GB, free: 15.51 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 2.827e-05/0.198, allocations: 29.7 kB / 0.7965 GB, free: 15.48 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 9.236e-05/0.1981, allocations: 188 kB / 0.7967 GB, free: 15.29 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 6.069e-05/0.1981, allocations: 82.75 kB / 0.7967 GB, free: 15.21 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001075/0.1983, allocations: 77.59 kB / 0.7968 GB, free: 15.12 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 9.812e-05/0.1984, allocations: 330.8 kB / 0.7971 GB, free: 14.79 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002148/0.1986, allocations: 151.9 kB / 0.7973 GB, free: 14.64 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002579/0.1988, allocations: 249.5 kB / 0.7975 GB, free: 14.37 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004646/0.1993, allocations: 402.8 kB / 0.7979 GB, free: 13.94 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.606e-06/0.1993, allocations: 7.938 kB / 0.7979 GB, free: 13.93 MB / 0.6231 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001018/0.2004, allocations: 0.5819 MB / 0.7985 GB, free: 13.34 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.275e-05/0.2004, allocations: 8 kB / 0.7985 GB, free: 13.34 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.151e-06/0.2004, allocations: 4 kB / 0.7985 GB, free: 13.33 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006423/0.201, allocations: 192.9 kB / 0.7987 GB, free: 13.14 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002596/0.2013, allocations: 63.89 kB / 0.7987 GB, free: 13.08 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002591/0.2039, allocations: 2.492 MB / 0.8012 GB, free: 10.45 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002808/0.2042, allocations: 15.98 kB / 0.8012 GB, free: 10.43 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.922e-05/0.2042, allocations: 16 kB / 0.8012 GB, free: 10.41 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.0001498/0.2044, allocations: 169 kB / 0.8014 GB, free: 10.24 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.276e-05/0.2045, allocations: 23.72 kB / 0.8014 GB, free: 10.22 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005022/0.205, allocations: 363.5 kB / 0.8017 GB, free: 9.863 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.607e-06/0.205, allocations: 4 kB / 0.8017 GB, free: 9.859 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.475e-06/0.205, allocations: 3.984 kB / 0.8017 GB, free: 9.855 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.205, allocations: 0 / 0.8017 GB, free: 9.855 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009388/0.2059, allocations: 0.8044 MB / 0.8025 GB, free: 8.988 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.2059, allocations: 0 / 0.8025 GB, free: 8.988 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003882/0.2063, allocations: 79.88 kB / 0.8026 GB, free: 8.91 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.817e-06/0.2063, allocations: 3.984 kB / 0.8026 GB, free: 8.906 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.399e-05/0.2064, allocations: 12.06 kB / 0.8026 GB, free: 8.895 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.2064, allocations: 0 / 0.8026 GB, free: 8.895 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.2064, allocations: 4 kB / 0.8026 GB, free: 8.891 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000684/0.2071, allocations: 0.6119 MB / 0.8032 GB, free: 8.262 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001104/0.2072, allocations: 128.8 kB / 0.8033 GB, free: 8.117 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.425e-05/0.2073, allocations: 15.88 kB / 0.8033 GB, free: 8.102 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002115/0.2075, allocations: 15.98 kB / 0.8034 GB, free: 8.086 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.699e-05/0.2075, allocations: 15.92 kB / 0.8034 GB, free: 8.07 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.74e-05/0.2075, allocations: 8 kB / 0.8034 GB, free: 8.062 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0001494/0.2077, allocations: 180.5 kB / 0.8036 GB, free: 7.891 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2077, allocations: 0 / 0.8036 GB, free: 7.891 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0003667/0.2081, allocations: 88 kB / 0.8036 GB, free: 7.805 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.0009263/0.209, allocations: 1.155 MB / 0.8048 GB, free: 6.613 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0008314/0.2099, allocations: 0.5718 MB / 0.8053 GB, free: 6.031 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.2099, allocations: 0 / 0.8053 GB, free: 6.031 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0001899/0.2101, allocations: 151.8 kB / 0.8055 GB, free: 5.883 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004163/0.2105, allocations: 56.39 kB / 0.8055 GB, free: 5.828 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004499/0.215, allocations: 3.762 MB / 0.8092 GB, free: 1.898 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003144/0.2153, allocations: 0.7912 MB / 0.81 GB, free: 1.078 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0002107/0.2155, allocations: 74.91 kB / 0.81 GB, free: 1.008 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001351/0.2157, allocations: 87.39 kB / 0.8101 GB, free: 0.9258 MB / 0.6231 GB Notification: Performance of SimCode: time 4.21e-07/0.2157, allocations: 4 kB / 0.8101 GB, free: 0.9219 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4958/0.7115, allocations: 6.607 MB / 0.8166 GB, free: 10.5 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002021/0.7117, allocations: 232.4 kB / 0.8168 GB, free: 10.25 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.855/2.567, allocations: 3.938 kB / 0.8168 GB, free: 10.24 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)