Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.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.Examples.GridDCLoad,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_OnePhase_Examples_GridDCLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_OnePhase_Examples_GridDCLoad",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.001117/0.001117, allocations: 111.3 kB / 15.23 MB, free: 0.6562 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.001231/0.001231, allocations: 193.9 kB / 16.14 MB, free: 6.711 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.255/1.255, allocations: 205.1 MB / 222 MB, free: 4.758 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.602/1.602, allocations: 292.3 MB / 0.5484 GB, free: 13.68 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.001298/0.001298, allocations: 70.88 kB / 0.6709 GB, free: 26.26 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2/0.2014, allocations: 114.6 MB / 0.7828 GB, free: 13.93 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad): time 0.004144/0.2055, allocations: 3.112 MB / 0.7858 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002644/0.2082, allocations: 1.965 MB / 0.7878 GB, free: 8.824 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.84e-05/0.2083, allocations: 4 kB / 0.7878 GB, free: 8.82 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0007435/0.2091, allocations: 263.1 kB / 0.788 GB, free: 8.562 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.000368/0.2095, allocations: 179.2 kB / 0.7882 GB, free: 8.387 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004629/0.2099, allocations: 211.5 kB / 0.7884 GB, free: 8.18 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003799/0.2103, allocations: 450.6 kB / 0.7888 GB, free: 7.738 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003122/0.2106, allocations: 169 kB / 0.789 GB, free: 7.57 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001524/0.2108, allocations: 115.6 kB / 0.7891 GB, free: 7.457 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002317/0.211, allocations: 147.5 kB / 0.7892 GB, free: 7.312 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.078e-05/0.2111, allocations: 12 kB / 0.7892 GB, free: 7.301 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006122/0.2117, allocations: 479 kB / 0.7897 GB, free: 6.832 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 9.492e-05/0.2118, allocations: 83.73 kB / 0.7898 GB, free: 6.75 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001153/0.2119, allocations: 111.5 kB / 0.7899 GB, free: 6.641 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0005356/0.2125, allocations: 490.6 kB / 0.7903 GB, free: 6.16 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/0.2125, allocations: 0 / 0.7903 GB, free: 6.16 MB / 0.6075 GB Notification: Performance of FrontEnd: time 9.22e-07/0.2125, allocations: 3.938 kB / 0.7903 GB, free: 6.156 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.45e-06/0.2125, allocations: 4 kB / 0.7904 GB, free: 6.152 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: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.0008359/0.2133, allocations: 0.5575 MB / 0.7909 GB, free: 5.543 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.743e-05/0.2134, allocations: 8.031 kB / 0.7909 GB, free: 5.535 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.153e-05/0.2135, allocations: 54.73 kB / 0.791 GB, free: 5.473 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008047/0.2143, allocations: 120.5 kB / 0.7911 GB, free: 5.355 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003073/0.2146, allocations: 258.8 kB / 0.7913 GB, free: 5.066 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.761e-05/0.2146, allocations: 12.81 kB / 0.7913 GB, free: 5.055 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.501e-05/0.2147, allocations: 24.36 kB / 0.7914 GB, free: 5.031 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005429/0.2152, allocations: 360.8 kB / 0.7917 GB, free: 4.656 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.814e-05/0.2152, allocations: 0 / 0.7917 GB, free: 4.656 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.21e-05/0.2153, allocations: 8 kB / 0.7917 GB, free: 4.648 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.095e-05/0.2153, allocations: 24.42 kB / 0.7917 GB, free: 4.625 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004593/0.2158, allocations: 301.5 kB / 0.792 GB, free: 4.328 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001962/0.2178, allocations: 1.737 MB / 0.7937 GB, free: 2.426 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004617/0.2182, allocations: 327.9 kB / 0.794 GB, free: 2.074 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000155/0.2184, allocations: 113.9 kB / 0.7941 GB, free: 1.957 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001046/0.2185, allocations: 93.05 kB / 0.7942 GB, free: 1.848 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.182e-05/0.2185, allocations: 38.56 kB / 0.7943 GB, free: 1.801 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=16): time 1.473e-06/0.2185, allocations: 0 / 0.7943 GB, free: 1.801 MB / 0.6075 GB Notification: Performance of matching and sorting (n=23): time 0.002356/0.2209, allocations: 0.9571 MB / 0.7952 GB, free: 0.8047 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.927e-05/0.221, allocations: 88.98 kB / 0.7953 GB, free: 0.6992 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001853/0.2212, allocations: 207.8 kB / 0.7955 GB, free: 500 kB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.561e-05/0.2212, allocations: 33.7 kB / 0.7955 GB, free: 460 kB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 9.018e-05/0.2213, allocations: 168.1 kB / 0.7957 GB, free: 284 kB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 5.476e-05/0.2213, allocations: 78.84 kB / 0.7957 GB, free: 204 kB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.324e-05/0.2214, allocations: 69.59 kB / 0.7958 GB, free: 128 kB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001152/0.2216, allocations: 330.8 kB / 0.7961 GB, free: 15.79 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001841/0.2218, allocations: 131.9 kB / 0.7963 GB, free: 15.66 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002267/0.222, allocations: 205.9 kB / 0.7964 GB, free: 15.43 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004325/0.2224, allocations: 376.4 kB / 0.7968 GB, free: 15.03 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.2224, allocations: 0 / 0.7968 GB, free: 15.03 MB / 0.6231 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0008191/0.2233, allocations: 0.5006 MB / 0.7973 GB, free: 14.51 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.99e-05/0.2233, allocations: 12 kB / 0.7973 GB, free: 14.5 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.03e-06/0.2233, allocations: 0 / 0.7973 GB, free: 14.5 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004855/0.2238, allocations: 151.3 kB / 0.7975 GB, free: 14.34 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000237/0.224, allocations: 59.91 kB / 0.7975 GB, free: 14.28 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002608/0.2267, allocations: 3.969 MB / 0.8014 GB, free: 9.996 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001895/0.2269, allocations: 23.92 kB / 0.8014 GB, free: 9.973 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.332e-05/0.2269, allocations: 15.94 kB / 0.8014 GB, free: 9.957 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): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001502/0.2271, allocations: 172.6 kB / 0.8016 GB, free: 9.781 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.712e-05/0.2271, allocations: 15.81 kB / 0.8016 GB, free: 9.766 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008218/0.228, allocations: 476.2 kB / 0.8021 GB, free: 9.289 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.408e-06/0.228, allocations: 4 kB / 0.8021 GB, free: 9.285 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.725e-06/0.228, allocations: 0 / 0.8021 GB, free: 9.285 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/0.228, allocations: 3.938 kB / 0.8021 GB, free: 9.281 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001398/0.2294, allocations: 1.008 MB / 0.803 GB, free: 8.18 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.62e-06/0.2294, allocations: 4 kB / 0.8031 GB, free: 8.176 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001288/0.2295, allocations: 31.92 kB / 0.8031 GB, free: 8.145 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004167/0.23, allocations: 151.5 kB / 0.8032 GB, free: 7.984 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.812e-05/0.23, allocations: 7.938 kB / 0.8032 GB, free: 7.977 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0025/0.2325, allocations: 3.953 MB / 0.8071 GB, free: 3.703 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.839e-06/0.2325, allocations: 4.031 kB / 0.8071 GB, free: 3.699 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007486/0.2333, allocations: 0.6333 MB / 0.8077 GB, free: 3.016 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001167/0.2334, allocations: 124.8 kB / 0.8078 GB, free: 2.875 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.62e-05/0.2335, allocations: 11.98 kB / 0.8078 GB, free: 2.863 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002212/0.2337, allocations: 19.98 kB / 0.8079 GB, free: 2.844 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.967e-05/0.2337, allocations: 23.97 kB / 0.8079 GB, free: 2.82 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.905e-05/0.2338, allocations: 8 kB / 0.8079 GB, free: 2.812 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.000136/0.2339, allocations: 161.4 kB / 0.8081 GB, free: 2.656 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.61e-07/0.2339, allocations: 0 / 0.8081 GB, free: 2.656 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.000477/0.2344, allocations: 91.98 kB / 0.8081 GB, free: 2.566 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (21): * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001045/0.2354, allocations: 1.189 MB / 0.8093 GB, free: 1.312 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0008364/0.2363, allocations: 0.5791 MB / 0.8099 GB, free: 0.707 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.2363, allocations: 0 / 0.8099 GB, free: 0.707 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0004722/0.2368, allocations: 402.2 kB / 0.8103 GB, free: 296 kB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004898/0.2373, allocations: 47.86 kB / 0.8103 GB, free: 248 kB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003826/0.2411, allocations: 3.423 MB / 0.8136 GB, free: 12.6 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003302/0.2415, allocations: 0.7867 MB / 0.8144 GB, free: 11.78 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0001731/0.2416, allocations: 54.25 kB / 0.8145 GB, free: 11.73 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001018/0.2418, allocations: 71.41 kB / 0.8145 GB, free: 11.66 MB / 0.6387 GB Notification: Performance of SimCode: time 3.91e-07/0.2418, allocations: 0 / 0.8145 GB, free: 11.66 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01717/0.2589, allocations: 6.354 MB / 0.8207 GB, free: 5.465 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001722/0.2591, allocations: 231.9 kB / 0.821 GB, free: 5.215 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.738/1.997, allocations: 3.938 kB / 0.821 GB, free: 5.211 MB / 0.6387 GB (rm -f Buildings_8_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Electrical_AC_OnePhase_Examples_GridDCLoad_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Electrical_AC_OnePhase_Examples_GridDCLoad.fmu > Buildings_8_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe 2>&1)