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.001387/0.001386, 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.001463/0.001463, allocations: 187.9 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.479/1.479, allocations: 205.1 MB / 222.5 MB, free: 4.523 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.743/1.743, allocations: 292.3 MB / 0.549 GB, free: 12.71 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.001479/0.001479, allocations: 75.44 kB / 0.6718 GB, free: 26.33 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2489/0.2504, allocations: 114.5 MB / 0.7836 GB, free: 13.24 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad): time 0.0047/0.2551, allocations: 3.07 MB / 0.7866 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002851/0.258, allocations: 1.946 MB / 0.7885 GB, free: 8.191 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001322/0.2582, allocations: 4 kB / 0.7885 GB, free: 8.188 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0008969/0.2591, allocations: 278.9 kB / 0.7888 GB, free: 7.914 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0004503/0.2596, allocations: 191.1 kB / 0.789 GB, free: 7.727 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.000586/0.2602, allocations: 250.4 kB / 0.7892 GB, free: 7.484 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003309/0.2605, allocations: 322.9 kB / 0.7895 GB, free: 7.168 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003185/0.2608, allocations: 188.7 kB / 0.7897 GB, free: 6.98 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001486/0.261, allocations: 135.5 kB / 0.7898 GB, free: 6.848 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002616/0.2613, allocations: 143.5 kB / 0.79 GB, free: 6.707 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.612e-05/0.2613, allocations: 24 kB / 0.79 GB, free: 6.684 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005464/0.2619, allocations: 395.2 kB / 0.7904 GB, free: 6.297 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 8.792e-05/0.262, allocations: 83.78 kB / 0.7904 GB, free: 6.215 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001093/0.2621, allocations: 119.4 kB / 0.7906 GB, free: 6.098 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0005382/0.2626, allocations: 494.6 kB / 0.791 GB, free: 5.613 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.07e-06/0.2626, allocations: 4 kB / 0.791 GB, free: 5.609 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.833e-06/0.2626, allocations: 0 / 0.791 GB, free: 5.609 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.304e-06/0.2627, allocations: 0 / 0.791 GB, free: 5.609 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.0008397/0.2635, allocations: 0.5575 MB / 0.7916 GB, free: 5.004 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.778e-05/0.2635, allocations: 8.031 kB / 0.7916 GB, free: 4.996 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.155e-05/0.2636, allocations: 54.73 kB / 0.7916 GB, free: 4.934 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007661/0.2644, allocations: 104.5 kB / 0.7917 GB, free: 4.832 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003177/0.2647, allocations: 274.8 kB / 0.792 GB, free: 4.527 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.21e-05/0.2647, allocations: 16.81 kB / 0.792 GB, free: 4.508 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.131e-05/0.2648, allocations: 20.31 kB / 0.792 GB, free: 4.488 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005017/0.2653, allocations: 357.3 kB / 0.7924 GB, free: 4.117 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.255e-05/0.2653, allocations: 3.938 kB / 0.7924 GB, free: 4.113 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.873e-05/0.2653, allocations: 11.98 kB / 0.7924 GB, free: 4.102 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-05/0.2654, allocations: 28.41 kB / 0.7924 GB, free: 4.074 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004207/0.2658, allocations: 293.5 kB / 0.7927 GB, free: 3.789 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001939/0.2678, allocations: 1.737 MB / 0.7944 GB, free: 1.883 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004255/0.2682, allocations: 318.2 kB / 0.7947 GB, free: 1.535 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001432/0.2684, allocations: 105.9 kB / 0.7948 GB, free: 1.426 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 9.794e-05/0.2685, allocations: 89.05 kB / 0.7949 GB, free: 1.32 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.842e-05/0.2685, allocations: 50.48 kB / 0.7949 GB, free: 1.262 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=16): time 1.714e-06/0.2685, allocations: 0 / 0.7949 GB, free: 1.262 MB / 0.6075 GB Notification: Performance of matching and sorting (n=23): time 0.00228/0.2708, allocations: 0.9506 MB / 0.7959 GB, free: 284 kB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.62e-05/0.2708, allocations: 93.02 kB / 0.7959 GB, free: 172 kB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00021/0.2711, allocations: 211.9 kB / 0.7962 GB, free: 15.95 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 2.18e-05/0.2711, allocations: 25.7 kB / 0.7962 GB, free: 15.91 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001056/0.2712, allocations: 172.1 kB / 0.7963 GB, free: 15.74 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 5.622e-05/0.2713, allocations: 86.75 kB / 0.7964 GB, free: 15.66 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.447e-05/0.2714, allocations: 61.61 kB / 0.7965 GB, free: 15.59 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.000103/0.2715, allocations: 330.8 kB / 0.7968 GB, free: 15.26 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001754/0.2717, allocations: 123.9 kB / 0.7969 GB, free: 15.14 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002277/0.2719, allocations: 217.8 kB / 0.7971 GB, free: 14.89 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004179/0.2723, allocations: 364.4 kB / 0.7975 GB, free: 14.5 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.2723, allocations: 8 kB / 0.7975 GB, free: 14.5 MB / 0.6231 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0007928/0.2731, allocations: 0.5003 MB / 0.798 GB, free: 13.98 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.56e-05/0.2732, allocations: 4 kB / 0.798 GB, free: 13.97 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.795e-06/0.2732, allocations: 8.312 kB / 0.798 GB, free: 13.96 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004837/0.2737, allocations: 159.2 kB / 0.7981 GB, free: 13.8 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002414/0.2739, allocations: 51.97 kB / 0.7982 GB, free: 13.75 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002796/0.2767, allocations: 4.202 MB / 0.8023 GB, free: 9.215 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001952/0.2769, allocations: 15.98 kB / 0.8023 GB, free: 9.199 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.43e-05/0.277, allocations: 11.98 kB / 0.8023 GB, free: 9.188 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.0001666/0.2771, allocations: 173.7 kB / 0.8025 GB, free: 9.008 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.716e-05/0.2772, allocations: 15.81 kB / 0.8025 GB, free: 8.992 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008104/0.278, allocations: 488.1 kB / 0.803 GB, free: 8.504 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.081e-06/0.2781, allocations: 4.094 kB / 0.803 GB, free: 8.5 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.494e-06/0.2781, allocations: 3.938 kB / 0.803 GB, free: 8.496 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.948e-06/0.2781, allocations: 0 / 0.803 GB, free: 8.496 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001408/0.2795, allocations: 1.001 MB / 0.8039 GB, free: 7.402 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.658e-06/0.2795, allocations: 4 kB / 0.8039 GB, free: 7.398 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001242/0.2796, allocations: 31.92 kB / 0.804 GB, free: 7.367 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003763/0.28, allocations: 147.5 kB / 0.8041 GB, free: 7.211 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.941e-05/0.28, allocations: 8 kB / 0.8041 GB, free: 7.203 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002597/0.2826, allocations: 4.175 MB / 0.8082 GB, free: 2.695 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.345e-06/0.2827, allocations: 4.031 kB / 0.8082 GB, free: 2.691 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007704/0.2834, allocations: 0.6334 MB / 0.8088 GB, free: 2.008 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001218/0.2836, allocations: 124.7 kB / 0.8089 GB, free: 1.867 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.512e-05/0.2836, allocations: 15.98 kB / 0.809 GB, free: 1.852 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002161/0.2838, allocations: 19.98 kB / 0.809 GB, free: 1.832 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.713e-05/0.2839, allocations: 23.91 kB / 0.809 GB, free: 1.809 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.74e-05/0.2839, allocations: 8 kB / 0.809 GB, free: 1.801 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.000135/0.2841, allocations: 153.5 kB / 0.8092 GB, free: 1.652 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.7e-07/0.2841, allocations: 4 kB / 0.8092 GB, free: 1.648 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0004931/0.2846, allocations: 95.98 kB / 0.8092 GB, free: 1.555 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.001043/0.2856, allocations: 1.197 MB / 0.8104 GB, free: 300 kB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0008816/0.2865, allocations: 0.5712 MB / 0.811 GB, free: 15.7 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.447e-06/0.2865, allocations: 0.625 kB / 0.811 GB, free: 15.7 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.000479/0.287, allocations: 417.1 kB / 0.8114 GB, free: 15.26 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005169/0.2875, allocations: 39.98 kB / 0.8114 GB, free: 15.22 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003889/0.2914, allocations: 3.323 MB / 0.8147 GB, free: 11.68 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003418/0.2918, allocations: 0.7868 MB / 0.8154 GB, free: 10.87 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0001771/0.292, allocations: 62.23 kB / 0.8155 GB, free: 10.8 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001048/0.2921, allocations: 75.41 kB / 0.8156 GB, free: 10.73 MB / 0.6387 GB Notification: Performance of SimCode: time 6.21e-07/0.2921, allocations: 7.938 kB / 0.8156 GB, free: 10.73 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02619/0.3183, allocations: 6.63 MB / 0.822 GB, free: 4.246 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.43/11.75, allocations: 15.97 kB / 0.8221 GB, free: 4.234 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)