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.001502/0.001502, allocations: 109.4 kB / 15.69 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001936/0.001936, allocations: 188.6 kB / 16.62 MB, free: 6.582 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.398/1.398, allocations: 205.1 MB / 222.5 MB, free: 4.559 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.661/1.661, allocations: 292.3 MB / 0.549 GB, free: 12.73 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.00145/0.00145, allocations: 72.84 kB / 0.6718 GB, free: 26.21 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2513/0.2528, allocations: 114.5 MB / 0.7836 GB, free: 13.28 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad): time 0.00521/0.2581, allocations: 3.067 MB / 0.7866 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.00316/0.2613, allocations: 1.942 MB / 0.7885 GB, free: 8.242 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001515/0.2615, allocations: 7.938 kB / 0.7885 GB, free: 8.234 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0009146/0.2624, allocations: 274.9 kB / 0.7888 GB, free: 7.965 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0005029/0.2629, allocations: 203 kB / 0.789 GB, free: 7.766 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007184/0.2637, allocations: 239.2 kB / 0.7892 GB, free: 7.531 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0004622/0.2641, allocations: 322.9 kB / 0.7895 GB, free: 7.215 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003627/0.2645, allocations: 184.7 kB / 0.7897 GB, free: 7.031 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001907/0.2647, allocations: 139.5 kB / 0.7898 GB, free: 6.895 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003208/0.265, allocations: 147.5 kB / 0.79 GB, free: 6.75 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.31e-05/0.2651, allocations: 20 kB / 0.79 GB, free: 6.73 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006357/0.2657, allocations: 395.2 kB / 0.7904 GB, free: 6.344 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 9.743e-05/0.2658, allocations: 79.8 kB / 0.7904 GB, free: 6.266 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001269/0.266, allocations: 127.3 kB / 0.7906 GB, free: 6.141 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0006029/0.2666, allocations: 486.7 kB / 0.791 GB, free: 5.664 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.462e-06/0.2666, allocations: 4 kB / 0.791 GB, free: 5.66 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.044e-06/0.2666, allocations: 0 / 0.791 GB, free: 5.66 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.863e-06/0.2666, allocations: 0 / 0.791 GB, free: 5.66 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.0008894/0.2675, allocations: 0.5574 MB / 0.7916 GB, free: 5.055 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.492e-05/0.2676, allocations: 12.03 kB / 0.7916 GB, free: 5.043 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.034e-05/0.2676, allocations: 58.72 kB / 0.7916 GB, free: 4.977 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007776/0.2684, allocations: 112.5 kB / 0.7918 GB, free: 4.867 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003452/0.2688, allocations: 263.8 kB / 0.792 GB, free: 4.57 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.594e-05/0.2688, allocations: 16.8 kB / 0.792 GB, free: 4.551 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.393e-05/0.2689, allocations: 16.38 kB / 0.792 GB, free: 4.535 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005303/0.2694, allocations: 361.2 kB / 0.7924 GB, free: 4.16 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.213e-05/0.2694, allocations: 3.984 kB / 0.7924 GB, free: 4.156 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.98e-05/0.2694, allocations: 12 kB / 0.7924 GB, free: 4.145 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.053e-05/0.2695, allocations: 24.42 kB / 0.7924 GB, free: 4.121 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004539/0.27, allocations: 301.4 kB / 0.7927 GB, free: 3.828 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002241/0.2722, allocations: 1.726 MB / 0.7944 GB, free: 1.934 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005143/0.2727, allocations: 318.1 kB / 0.7947 GB, free: 1.586 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001555/0.2729, allocations: 105.9 kB / 0.7948 GB, free: 1.477 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001175/0.273, allocations: 97.02 kB / 0.7949 GB, free: 1.363 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.114e-05/0.2731, allocations: 38.56 kB / 0.7949 GB, free: 1.316 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=16): time 1.863e-06/0.2731, allocations: 0 / 0.7949 GB, free: 1.316 MB / 0.6075 GB Notification: Performance of matching and sorting (n=23): time 0.002511/0.2756, allocations: 0.9586 MB / 0.7959 GB, free: 332 kB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.806e-05/0.2757, allocations: 93.08 kB / 0.7959 GB, free: 220 kB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002326/0.2759, allocations: 207.8 kB / 0.7961 GB, free: 0 / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 5.13e-05/0.276, allocations: 29.7 kB / 0.7962 GB, free: 15.96 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001236/0.2761, allocations: 168.1 kB / 0.7963 GB, free: 15.79 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 6.3e-05/0.2762, allocations: 86.83 kB / 0.7964 GB, free: 15.71 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001027/0.2763, allocations: 61.61 kB / 0.7965 GB, free: 15.64 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001595/0.2765, allocations: 330.9 kB / 0.7968 GB, free: 15.31 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001938/0.2767, allocations: 131.9 kB / 0.7969 GB, free: 15.18 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002558/0.2769, allocations: 217.8 kB / 0.7971 GB, free: 14.93 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004744/0.2774, allocations: 360.5 kB / 0.7975 GB, free: 14.55 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/0.2774, allocations: 8 kB / 0.7975 GB, free: 14.54 MB / 0.6231 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0008423/0.2783, allocations: 0.5003 MB / 0.798 GB, free: 14.02 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.742e-05/0.2783, allocations: 4 kB / 0.798 GB, free: 14.02 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.64e-05/0.2783, allocations: 12.31 kB / 0.798 GB, free: 14.01 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005364/0.2789, allocations: 147.3 kB / 0.7981 GB, free: 13.85 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002668/0.2791, allocations: 67.89 kB / 0.7982 GB, free: 13.79 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003183/0.2823, allocations: 4.19 MB / 0.8023 GB, free: 9.266 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002471/0.2826, allocations: 20.02 kB / 0.8023 GB, free: 9.246 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.773e-05/0.2827, allocations: 15.98 kB / 0.8023 GB, free: 9.23 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.0002067/0.2829, allocations: 169.7 kB / 0.8025 GB, free: 9.055 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.226e-05/0.2829, allocations: 15.81 kB / 0.8025 GB, free: 9.039 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009418/0.2839, allocations: 488.2 kB / 0.803 GB, free: 8.551 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.861e-06/0.2839, allocations: 4 kB / 0.803 GB, free: 8.547 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.2839, allocations: 0 / 0.803 GB, free: 8.547 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.639e-06/0.2839, allocations: 0 / 0.803 GB, free: 8.547 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001584/0.2855, allocations: 1.004 MB / 0.8039 GB, free: 7.449 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.377e-06/0.2856, allocations: 4 kB / 0.8039 GB, free: 7.445 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001375/0.2857, allocations: 31.98 kB / 0.804 GB, free: 7.414 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004297/0.2861, allocations: 155.4 kB / 0.8041 GB, free: 7.25 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.331e-05/0.2862, allocations: 8 kB / 0.8041 GB, free: 7.242 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003116/0.2893, allocations: 4.163 MB / 0.8082 GB, free: 2.746 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.52e-06/0.2893, allocations: 7.969 kB / 0.8082 GB, free: 2.738 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008899/0.2902, allocations: 0.6295 MB / 0.8088 GB, free: 2.059 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001514/0.2904, allocations: 128.7 kB / 0.8089 GB, free: 1.914 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.042e-05/0.2904, allocations: 15.98 kB / 0.809 GB, free: 1.898 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002241/0.2907, allocations: 19.92 kB / 0.809 GB, free: 1.879 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.971e-05/0.2907, allocations: 20.02 kB / 0.809 GB, free: 1.859 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.235e-05/0.2907, allocations: 15.98 kB / 0.809 GB, free: 1.844 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0001707/0.2909, allocations: 153.5 kB / 0.8092 GB, free: 1.695 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2909, allocations: 0 / 0.8092 GB, free: 1.695 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0005675/0.2915, allocations: 95.98 kB / 0.8092 GB, free: 1.602 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.001191/0.2927, allocations: 1.201 MB / 0.8104 GB, free: 344 kB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0009815/0.2937, allocations: 0.5751 MB / 0.811 GB, free: 15.73 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 5.501e-06/0.2937, allocations: 8.562 kB / 0.811 GB, free: 15.73 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0005388/0.2943, allocations: 409.1 kB / 0.8114 GB, free: 15.3 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005074/0.2948, allocations: 39.92 kB / 0.8114 GB, free: 15.26 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004475/0.2993, allocations: 3.317 MB / 0.8147 GB, free: 11.72 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004444/0.2997, allocations: 0.7907 MB / 0.8154 GB, free: 10.91 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0001851/0.2999, allocations: 58.25 kB / 0.8155 GB, free: 10.85 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001135/0.3001, allocations: 71.41 kB / 0.8156 GB, free: 10.78 MB / 0.6387 GB Notification: Performance of SimCode: time 1.022e-06/0.3001, allocations: 0 / 0.8156 GB, free: 10.78 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02822/0.3283, allocations: 6.643 MB / 0.822 GB, free: 4.293 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.64/11.97, allocations: 4.594 kB / 0.822 GB, free: 4.289 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 & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_Electrical_AC_OnePhase_Examples_GridDCLoad.fmu > Buildings_8_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe 2>&1)