Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.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.TestImpedance,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_OnePhase_Loads_Examples_TestImpedance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_OnePhase_Loads_Examples_TestImpedance",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.001282/0.001282, allocations: 105.4 kB / 15.7 MB, free: 24 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.001053/0.001053, allocations: 196 kB / 16.64 MB, free: 6.453 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.304/1.304, allocations: 205.1 MB / 222.5 MB, free: 4.586 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.72/1.72, 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.001392/0.001392, allocations: 72.55 kB / 0.6718 GB, free: 26.14 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2214/0.2228, allocations: 114.5 MB / 0.7836 GB, free: 13.25 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance): time 0.006713/0.2295, allocations: 4.866 MB / 0.7884 GB, free: 8.359 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.003808/0.2334, allocations: 2.488 MB / 0.7908 GB, free: 5.859 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002491/0.2336, allocations: 27.81 kB / 0.7909 GB, free: 5.832 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001134/0.2348, allocations: 398 kB / 0.7912 GB, free: 5.441 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0009065/0.2357, allocations: 445.6 kB / 0.7917 GB, free: 5.004 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006973/0.2364, allocations: 370.5 kB / 0.792 GB, free: 4.645 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0008428/0.2373, allocations: 0.9173 MB / 0.7929 GB, free: 3.727 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000518/0.2378, allocations: 362.7 kB / 0.7932 GB, free: 3.367 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003792/0.2382, allocations: 342.6 kB / 0.7936 GB, free: 3.031 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004034/0.2386, allocations: 350.4 kB / 0.7939 GB, free: 2.688 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 5.717e-05/0.2386, allocations: 40 kB / 0.7939 GB, free: 2.648 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005847/0.2392, allocations: 391.1 kB / 0.7943 GB, free: 2.266 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001734/0.2394, allocations: 183.4 kB / 0.7945 GB, free: 2.086 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.000273/0.2397, allocations: 322.2 kB / 0.7948 GB, free: 1.77 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0008612/0.2406, allocations: 0.8799 MB / 0.7957 GB, free: 0.8867 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 8.466e-06/0.2406, allocations: 0 / 0.7957 GB, free: 0.8867 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.435e-06/0.2406, allocations: 3.938 kB / 0.7957 GB, free: 0.8828 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.544e-05/0.2406, allocations: 0 / 0.7957 GB, free: 0.8828 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: 129 * Number of variables: 129 Notification: Performance of Generate backend data structure: time 0.001339/0.242, allocations: 0.9424 MB / 0.7966 GB, free: 15.89 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.175e-05/0.242, allocations: 8.031 kB / 0.7966 GB, free: 15.88 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.884e-05/0.2421, allocations: 94.7 kB / 0.7967 GB, free: 15.78 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001194/0.2433, allocations: 195.9 kB / 0.7969 GB, free: 15.59 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00071/0.244, allocations: 0.5372 MB / 0.7974 GB, free: 15.01 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.589e-05/0.2441, allocations: 33.36 kB / 0.7974 GB, free: 14.98 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.146e-05/0.2442, allocations: 48.38 kB / 0.7975 GB, free: 14.93 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001156/0.2453, allocations: 0.8483 MB / 0.7983 GB, free: 13.95 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.283e-05/0.2454, allocations: 7.938 kB / 0.7983 GB, free: 13.95 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.741e-05/0.2454, allocations: 23.98 kB / 0.7983 GB, free: 13.92 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.687e-05/0.2455, allocations: 68.95 kB / 0.7984 GB, free: 13.86 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000768/0.2463, allocations: 0.5616 MB / 0.7989 GB, free: 13.29 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004829/0.2511, allocations: 5.646 MB / 0.8045 GB, free: 7.246 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007036/0.2518, allocations: 461.1 kB / 0.8049 GB, free: 6.789 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002996/0.2521, allocations: 220.7 kB / 0.8051 GB, free: 6.57 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 2.749e-05/0.2522, allocations: 4 kB / 0.8051 GB, free: 6.566 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.399e-05/0.2522, allocations: 46.5 kB / 0.8052 GB, free: 6.512 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=32): time 1.653e-06/0.2522, allocations: 0 / 0.8052 GB, free: 6.512 MB / 0.6231 GB Notification: Performance of matching and sorting (n=33): time 0.002617/0.2549, allocations: 1.501 MB / 0.8066 GB, free: 4.898 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.727e-05/0.2549, allocations: 59.34 kB / 0.8067 GB, free: 4.828 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004588/0.2554, allocations: 495 kB / 0.8072 GB, free: 4.332 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 2.702e-05/0.2554, allocations: 29.7 kB / 0.8072 GB, free: 4.297 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002187/0.2556, allocations: 358.8 kB / 0.8075 GB, free: 3.941 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 8.277e-05/0.2557, allocations: 122.3 kB / 0.8076 GB, free: 3.82 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001448/0.2559, allocations: 118.2 kB / 0.8078 GB, free: 3.695 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001448/0.256, allocations: 362.8 kB / 0.8081 GB, free: 3.332 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003581/0.2564, allocations: 193.2 kB / 0.8083 GB, free: 3.145 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005029/0.2569, allocations: 447 kB / 0.8087 GB, free: 2.59 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007407/0.2577, allocations: 0.6847 MB / 0.8094 GB, free: 1.789 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.248e-06/0.2577, allocations: 8 kB / 0.8094 GB, free: 1.781 MB / 0.6231 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001154/0.2588, allocations: 0.8059 MB / 0.8102 GB, free: 0.9531 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.005e-05/0.2589, allocations: 11.94 kB / 0.8102 GB, free: 0.9414 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.206e-05/0.2589, allocations: 12.12 kB / 0.8102 GB, free: 0.9297 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004779/0.2594, allocations: 156.1 kB / 0.8103 GB, free: 0.7617 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004281/0.2598, allocations: 123.7 kB / 0.8105 GB, free: 0.6406 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003356/0.2632, allocations: 4.34 MB / 0.8147 GB, free: 11.88 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003486/0.2635, allocations: 35.97 kB / 0.8147 GB, free: 11.85 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.507e-05/0.2636, allocations: 24 kB / 0.8148 GB, free: 11.82 MB / 0.6387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * 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 (66): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002419/0.2638, allocations: 221.5 kB / 0.815 GB, free: 11.6 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.942e-05/0.2639, allocations: 63.31 kB / 0.815 GB, free: 11.54 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009597/0.2649, allocations: 0.5967 MB / 0.8156 GB, free: 10.92 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.001e-06/0.2649, allocations: 8 kB / 0.8156 GB, free: 10.91 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.451e-06/0.2649, allocations: 7.938 kB / 0.8156 GB, free: 10.91 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.933e-06/0.2649, allocations: 3.984 kB / 0.8156 GB, free: 10.9 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002035/0.267, allocations: 1.255 MB / 0.8169 GB, free: 9.555 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.416e-06/0.267, allocations: 0 / 0.8169 GB, free: 9.555 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002577/0.2672, allocations: 59.89 kB / 0.8169 GB, free: 9.496 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003842/0.2676, allocations: 144.3 kB / 0.8171 GB, free: 9.34 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.934e-05/0.2677, allocations: 11.94 kB / 0.8171 GB, free: 9.328 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003778/0.2715, allocations: 4.336 MB / 0.8213 GB, free: 4.566 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.2715, allocations: 4.156 kB / 0.8213 GB, free: 4.562 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001185/0.2727, allocations: 0.712 MB / 0.822 GB, free: 3.797 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001928/0.2729, allocations: 160.4 kB / 0.8222 GB, free: 3.621 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.172e-05/0.2729, allocations: 11.98 kB / 0.8222 GB, free: 3.609 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002589/0.2732, allocations: 23.97 kB / 0.8222 GB, free: 3.586 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.288e-05/0.2733, allocations: 39.84 kB / 0.8222 GB, free: 3.547 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.205e-05/0.2733, allocations: 8 kB / 0.8222 GB, free: 3.539 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0003562/0.2737, allocations: 334.8 kB / 0.8226 GB, free: 3.215 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2737, allocations: 0 / 0.8226 GB, free: 3.215 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0007742/0.2745, allocations: 140 kB / 0.8227 GB, free: 3.078 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (29): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001461/0.2759, allocations: 1.273 MB / 0.8239 GB, free: 1.738 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001379/0.2773, allocations: 1.036 MB / 0.8249 GB, free: 0.6211 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 4.448e-06/0.2773, allocations: 0 / 0.8249 GB, free: 0.6211 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0007959/0.2782, allocations: 0.735 MB / 0.8257 GB, free: 15.8 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001062/0.2792, allocations: 207.1 kB / 0.8259 GB, free: 15.61 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00643/0.2857, allocations: 5.083 MB / 0.8308 GB, free: 10.15 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005564/0.2862, allocations: 0.9057 MB / 0.8317 GB, free: 9.215 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0003217/0.2866, allocations: 125.3 kB / 0.8318 GB, free: 9.09 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002308/0.2868, allocations: 191.4 kB / 0.832 GB, free: 8.902 MB / 0.6544 GB Notification: Performance of SimCode: time 9.32e-07/0.2868, allocations: 7.938 kB / 0.832 GB, free: 8.895 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03598/0.3228, allocations: 12.56 MB / 0.8443 GB, free: 12.58 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.23/10.55, allocations: 11.72 kB / 0.8443 GB, free: 12.57 MB / 0.67 GB (rm -f Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.sim & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_Electrical_AC_OnePhase_Loads_Examples_TestImpedance.fmu > Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe 2>&1)