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.0007504/0.0007504, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.005239/0.005239, allocations: 171.1 kB / 16.26 MB, free: 6.613 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.389/1.389, allocations: 205.4 MB / 222.4 MB, free: 5.562 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.665/1.665, allocations: 292.7 MB / 0.5502 GB, free: 14.45 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.000526/0.0005259, allocations: 16.23 kB / 0.6744 GB, free: 25.65 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2254/0.226, allocations: 116.3 MB / 0.788 GB, free: 11.47 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad): time 0.003389/0.2294, allocations: 2.765 MB / 0.7907 GB, free: 8.688 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002649/0.2321, allocations: 1.919 MB / 0.7926 GB, free: 6.758 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001037/0.2322, allocations: 4 kB / 0.7926 GB, free: 6.754 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001684/0.2324, allocations: 35.7 kB / 0.7926 GB, free: 6.719 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0004654/0.2329, allocations: 179.3 kB / 0.7928 GB, free: 6.543 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004915/0.2334, allocations: 210.9 kB / 0.793 GB, free: 6.34 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0004339/0.2338, allocations: 458.7 kB / 0.7934 GB, free: 5.891 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005949/0.2344, allocations: 321.9 kB / 0.7937 GB, free: 5.555 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001544/0.2346, allocations: 111.5 kB / 0.7938 GB, free: 5.445 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002844/0.2349, allocations: 147.4 kB / 0.794 GB, free: 5.301 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.553e-05/0.2349, allocations: 12 kB / 0.794 GB, free: 5.289 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005746/0.2355, allocations: 467.1 kB / 0.7944 GB, free: 4.832 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 8.157e-05/0.2356, allocations: 75.78 kB / 0.7945 GB, free: 4.758 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001172/0.2357, allocations: 137.1 kB / 0.7946 GB, free: 4.617 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0005185/0.2362, allocations: 490.5 kB / 0.7951 GB, free: 4.137 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.2362, allocations: 0 / 0.7951 GB, free: 4.137 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.452e-06/0.2363, allocations: 0 / 0.7951 GB, free: 4.137 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.711e-06/0.2363, allocations: 0 / 0.7951 GB, free: 4.137 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.0007194/0.237, allocations: 0.5147 MB / 0.7956 GB, free: 3.57 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.137e-05/0.237, allocations: 12.03 kB / 0.7956 GB, free: 3.559 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.002e-05/0.2371, allocations: 54.73 kB / 0.7957 GB, free: 3.496 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007663/0.2379, allocations: 120.5 kB / 0.7958 GB, free: 3.379 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002991/0.2382, allocations: 259.8 kB / 0.796 GB, free: 3.086 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.74e-05/0.2382, allocations: 16.81 kB / 0.796 GB, free: 3.07 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.26e-05/0.2383, allocations: 20.36 kB / 0.7961 GB, free: 3.051 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000504/0.2388, allocations: 364.8 kB / 0.7964 GB, free: 2.672 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.017e-05/0.2388, allocations: 0 / 0.7964 GB, free: 2.672 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.614e-05/0.2388, allocations: 4 kB / 0.7964 GB, free: 2.668 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.511e-05/0.2389, allocations: 28.42 kB / 0.7964 GB, free: 2.641 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000426/0.2393, allocations: 293.5 kB / 0.7967 GB, free: 2.352 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001906/0.2412, allocations: 1.737 MB / 0.7984 GB, free: 460 kB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004356/0.2417, allocations: 330 kB / 0.7987 GB, free: 92 kB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001583/0.2419, allocations: 106 kB / 0.7988 GB, free: 15.98 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001072/0.242, allocations: 93.03 kB / 0.7989 GB, free: 15.87 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.757e-05/0.242, allocations: 42.56 kB / 0.799 GB, free: 15.82 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=16): time 1.162e-06/0.242, allocations: 0 / 0.799 GB, free: 15.82 MB / 0.6231 GB Notification: Performance of matching and sorting (n=23): time 0.002318/0.2443, allocations: 0.9738 MB / 0.7999 GB, free: 14.81 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.039e-05/0.2444, allocations: 85.05 kB / 0.8 GB, free: 14.71 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001939/0.2446, allocations: 207.8 kB / 0.8002 GB, free: 14.5 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 2.327e-05/0.2446, allocations: 29.7 kB / 0.8002 GB, free: 14.46 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 9.382e-05/0.2447, allocations: 168.1 kB / 0.8004 GB, free: 14.29 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 5.79e-05/0.2448, allocations: 86.83 kB / 0.8005 GB, free: 14.2 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.882e-05/0.2448, allocations: 33.73 kB / 0.8005 GB, free: 14.16 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001017/0.245, allocations: 330.8 kB / 0.8008 GB, free: 13.83 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001785/0.2451, allocations: 127.9 kB / 0.8009 GB, free: 13.71 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002215/0.2454, allocations: 209.8 kB / 0.8011 GB, free: 13.47 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004163/0.2458, allocations: 372.4 kB / 0.8015 GB, free: 13.07 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.422e-06/0.2458, allocations: 0 / 0.8015 GB, free: 13.07 MB / 0.6231 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0007984/0.2466, allocations: 0.5083 MB / 0.802 GB, free: 12.55 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.962e-05/0.2466, allocations: 8 kB / 0.802 GB, free: 12.54 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.125e-06/0.2466, allocations: 4 kB / 0.802 GB, free: 12.54 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000484/0.2471, allocations: 151.4 kB / 0.8021 GB, free: 12.38 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002379/0.2474, allocations: 63.89 kB / 0.8022 GB, free: 12.31 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002705/0.2501, allocations: 3.965 MB / 0.8061 GB, free: 8.031 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001722/0.2503, allocations: 24 kB / 0.8061 GB, free: 8.008 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.377e-05/0.2503, allocations: 8 kB / 0.8061 GB, free: 8 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.0001601/0.2505, allocations: 165.9 kB / 0.8063 GB, free: 7.828 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.317e-05/0.2506, allocations: 23.72 kB / 0.8063 GB, free: 7.805 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007935/0.2513, allocations: 484.3 kB / 0.8068 GB, free: 7.32 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.926e-06/0.2514, allocations: 0 / 0.8068 GB, free: 7.32 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.2514, allocations: 4 kB / 0.8068 GB, free: 7.316 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/0.2514, allocations: 3.938 kB / 0.8068 GB, free: 7.312 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00139/0.2528, allocations: 1.007 MB / 0.8077 GB, free: 6.215 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.849e-06/0.2528, allocations: 4 kB / 0.8077 GB, free: 6.211 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001195/0.2529, allocations: 32.17 kB / 0.8078 GB, free: 6.18 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003902/0.2533, allocations: 147.3 kB / 0.8079 GB, free: 6.023 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.988e-05/0.2533, allocations: 8 kB / 0.8079 GB, free: 6.016 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002492/0.2558, allocations: 3.957 MB / 0.8118 GB, free: 1.738 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.547e-06/0.2559, allocations: 3.984 kB / 0.8118 GB, free: 1.734 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007209/0.2566, allocations: 0.6309 MB / 0.8124 GB, free: 1.051 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001155/0.2567, allocations: 132.7 kB / 0.8125 GB, free: 0.9023 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.176e-05/0.2568, allocations: 8 kB / 0.8125 GB, free: 0.8945 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002119/0.257, allocations: 23.98 kB / 0.8126 GB, free: 0.8711 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.77e-05/0.257, allocations: 23.97 kB / 0.8126 GB, free: 0.8477 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.893e-05/0.257, allocations: 8 kB / 0.8126 GB, free: 0.8398 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0001348/0.2572, allocations: 165.4 kB / 0.8128 GB, free: 0.6797 MB / 0.6231 GB Notification: Performance of sort global known variables: time 4.01e-07/0.2572, allocations: 0 / 0.8128 GB, free: 0.6797 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0004796/0.2577, allocations: 84 kB / 0.8128 GB, free: 0.5977 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.001057/0.2587, allocations: 1.197 MB / 0.814 GB, free: 15.34 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0008463/0.2596, allocations: 0.5713 MB / 0.8146 GB, free: 14.74 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 4.709e-06/0.2596, allocations: 4.625 kB / 0.8146 GB, free: 14.73 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0004776/0.2601, allocations: 401.2 kB / 0.8149 GB, free: 14.32 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005259/0.2606, allocations: 39.97 kB / 0.815 GB, free: 14.28 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0037/0.2644, allocations: 3.437 MB / 0.8183 GB, free: 10.62 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003186/0.2647, allocations: 0.7867 MB / 0.8191 GB, free: 9.801 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.000165/0.2649, allocations: 54.25 kB / 0.8192 GB, free: 9.746 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.997e-05/0.265, allocations: 71.41 kB / 0.8192 GB, free: 9.68 MB / 0.6387 GB Notification: Performance of SimCode: time 3.11e-07/0.265, allocations: 4 kB / 0.8192 GB, free: 9.676 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0169/0.2819, allocations: 6.22 MB / 0.8253 GB, free: 3.645 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001724/0.2821, allocations: 238.2 kB / 0.8255 GB, free: 3.391 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.754/2.036, allocations: 0 / 0.8255 GB, free: 3.391 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)