Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium",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.001101/0.001102, allocations: 108 kB / 15.61 MB, free: 152 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.001117/0.001117, allocations: 195 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.272/1.272, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002049/0.002049, allocations: 278.8 kB / 290.7 MB, free: 2.004 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.927/0.927, allocations: 169.3 MB / 0.4982 GB, free: 13.98 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001706/0.001706, allocations: 102.8 kB / 0.5954 GB, free: 27.92 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1397/0.1414, allocations: 86.97 MB / 0.6803 GB, free: 0.6055 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium): time 0.0156/0.157, allocations: 14.76 MB / 0.6947 GB, free: 1.797 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.01397/0.171, allocations: 10.35 MB / 0.7048 GB, free: 7.414 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001005/0.172, allocations: 59.62 kB / 0.7049 GB, free: 7.355 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.003801/0.1759, allocations: 1.686 MB / 0.7065 GB, free: 5.668 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.004/0.1799, allocations: 1.815 MB / 0.7083 GB, free: 3.852 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001571/0.1815, allocations: 0.7629 MB / 0.709 GB, free: 3.09 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.002924/0.1844, allocations: 2.746 MB / 0.7117 GB, free: 344 kB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001627/0.1861, allocations: 1.419 MB / 0.7131 GB, free: 14.88 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001884/0.188, allocations: 1.488 MB / 0.7146 GB, free: 13.39 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001476/0.1894, allocations: 1.171 MB / 0.7157 GB, free: 12.21 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0002341/0.1897, allocations: 160 kB / 0.7159 GB, free: 12.06 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001365/0.1911, allocations: 0.7877 MB / 0.7166 GB, free: 11.27 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.000533/0.1916, allocations: 0.6037 MB / 0.7172 GB, free: 10.66 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0008769/0.1925, allocations: 0.9523 MB / 0.7181 GB, free: 9.707 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.002529/0.195, allocations: 2.737 MB / 0.7208 GB, free: 6.961 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.195, allocations: 4 kB / 0.7208 GB, free: 6.957 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.312e-06/0.195, allocations: 0 / 0.7208 GB, free: 6.957 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 2.182e-05/0.1951, allocations: 0 / 0.7208 GB, free: 6.957 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 327 * Number of variables: 327 Notification: Performance of Generate backend data structure: time 0.003471/0.1985, allocations: 2.168 MB / 0.7229 GB, free: 4.734 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.197e-05/0.1986, allocations: 12.03 kB / 0.723 GB, free: 4.723 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002263/0.1988, allocations: 198.3 kB / 0.7231 GB, free: 4.52 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01182/0.2107, allocations: 2.101 MB / 0.7252 GB, free: 2.414 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002449/0.2131, allocations: 1.221 MB / 0.7264 GB, free: 1.137 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.407e-05/0.2132, allocations: 86.67 kB / 0.7265 GB, free: 1.051 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002389/0.2135, allocations: 123.9 kB / 0.7266 GB, free: 0.9297 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005646/0.2191, allocations: 2.675 MB / 0.7292 GB, free: 14.11 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.716e-05/0.2192, allocations: 11.84 kB / 0.7292 GB, free: 14.09 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001678/0.2194, allocations: 51.98 kB / 0.7293 GB, free: 14.04 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006727/0.22, allocations: 194.1 kB / 0.7294 GB, free: 13.85 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007714/0.2278, allocations: 2.787 MB / 0.7322 GB, free: 11.05 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01523/0.243, allocations: 10.51 MB / 0.7424 GB, free: 15.96 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00659/0.2496, allocations: 2.34 MB / 0.7447 GB, free: 13.6 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003078/0.2527, allocations: 1.28 MB / 0.746 GB, free: 12.32 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 6.105e-05/0.2528, allocations: 9 kB / 0.746 GB, free: 12.31 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.228e-05/0.2529, allocations: 43.56 kB / 0.746 GB, free: 12.26 MB / 0.545 GB Notification: Performance of pre-optimization done (n=89): time 2.235e-06/0.2529, allocations: 0 / 0.746 GB, free: 12.26 MB / 0.545 GB Notification: Performance of matching and sorting (n=153): time 0.06081/0.3137, allocations: 16.48 MB / 0.7621 GB, free: 11.62 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.538e-05/0.3138, allocations: 72.7 kB / 0.7622 GB, free: 11.54 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001578/0.3154, allocations: 1.176 MB / 0.7633 GB, free: 10.35 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.000184/0.3156, allocations: 57.7 kB / 0.7634 GB, free: 10.29 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005035/0.3161, allocations: 0.7437 MB / 0.7641 GB, free: 9.535 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.000498/0.3166, allocations: 0.5158 MB / 0.7646 GB, free: 9.012 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005666/0.3171, allocations: 283.5 kB / 0.7649 GB, free: 8.73 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 9.602e-05/0.3172, allocations: 305.1 kB / 0.7652 GB, free: 8.43 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003644/0.3209, allocations: 1.518 MB / 0.7667 GB, free: 6.91 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003736/0.3247, allocations: 1.78 MB / 0.7684 GB, free: 5.035 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007279/0.3319, allocations: 3.369 MB / 0.7717 GB, free: 1.57 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.169e-06/0.332, allocations: 0 / 0.7717 GB, free: 1.57 MB / 0.5606 GB Notification: Performance of matching and sorting (n=190) (initialization): time 0.2674/0.5994, allocations: 5.277 MB / 0.7768 GB, free: 90.2 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.843e-05/0.5995, allocations: 8.156 kB / 0.7768 GB, free: 90.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.509e-05/0.5995, allocations: 6.875 kB / 0.7768 GB, free: 90.2 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006841/0.6063, allocations: 1.892 MB / 0.7787 GB, free: 89.77 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002034/0.6084, allocations: 414.9 kB / 0.7791 GB, free: 89.75 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02583/0.6342, allocations: 24.14 MB / 0.8027 GB, free: 73.05 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002618/0.6369, allocations: 305.2 kB / 0.803 GB, free: 73.03 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002904/0.6372, allocations: 68.92 kB / 0.803 GB, free: 73.02 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (82): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,8,100.0%), (2,8,100.0%), (3,17,100.0%), (3,17,100.0%), (2,16,100.0%), (2,16,100.0%), (2,8,100.0%), (2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0009501/0.6382, allocations: 471.2 kB / 0.8035 GB, free: 72.73 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004433/0.6386, allocations: 178.6 kB / 0.8036 GB, free: 72.64 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01354/0.6522, allocations: 5.318 MB / 0.8088 GB, free: 70.65 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-05/0.6522, allocations: 15.25 kB / 0.8088 GB, free: 70.65 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.829e-05/0.6523, allocations: 18.19 kB / 0.8089 GB, free: 70.65 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.522e-05/0.6523, allocations: 9.375 kB / 0.8089 GB, free: 70.64 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01571/0.668, allocations: 7.42 MB / 0.8161 GB, free: 66.18 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.284e-05/0.6681, allocations: 2.844 kB / 0.8161 GB, free: 66.18 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001664/0.6697, allocations: 358.7 kB / 0.8165 GB, free: 66.03 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005536/0.6753, allocations: 1.723 MB / 0.8181 GB, free: 65.14 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000155/0.6755, allocations: 39.81 kB / 0.8182 GB, free: 65.12 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02208/0.6976, allocations: 23.31 MB / 0.841 GB, free: 44.6 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.368e-06/0.6976, allocations: 8.062 kB / 0.841 GB, free: 44.59 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01122/0.7088, allocations: 4.888 MB / 0.8457 GB, free: 39.62 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008916/0.7097, allocations: 499.7 kB / 0.8462 GB, free: 39.11 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003831/0.7102, allocations: 30.25 kB / 0.8462 GB, free: 39.09 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002216/0.7124, allocations: 315.5 kB / 0.8465 GB, free: 38.78 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004823/0.7129, allocations: 149 kB / 0.8467 GB, free: 38.63 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001404/0.713, allocations: 59.91 kB / 0.8467 GB, free: 38.57 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0009943/0.714, allocations: 0.7899 MB / 0.8475 GB, free: 37.78 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.5e-07/0.714, allocations: 0 / 0.8475 GB, free: 37.78 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.002112/0.7161, allocations: 0.6543 MB / 0.8481 GB, free: 37.13 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (46): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,17,100.0%), (2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,17,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01118/0.7273, allocations: 5.482 MB / 0.8535 GB, free: 31.56 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01103/0.7384, allocations: 5.428 MB / 0.8588 GB, free: 26.04 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.02e-05/0.7385, allocations: 4.125 kB / 0.8588 GB, free: 26.04 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.006528/0.745, allocations: 3.361 MB / 0.8621 GB, free: 22.59 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003133/0.7482, allocations: 0.5661 MB / 0.8626 GB, free: 22.07 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04321/0.7914, allocations: 22.98 MB / 0.8851 GB, free: 14.25 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001883/0.7933, allocations: 1.571 MB / 0.8866 GB, free: 12.64 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001939/0.7953, allocations: 387 kB / 0.887 GB, free: 12.27 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001036/0.7963, allocations: 0.6515 MB / 0.8876 GB, free: 11.62 MB / 0.5762 GB Notification: Performance of SimCode: time 8.42e-07/0.7964, allocations: 0 / 0.8876 GB, free: 11.62 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1096/0.906, allocations: 58.37 MB / 0.9446 GB, free: 2.004 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.99/10.9, allocations: 15.31 kB / 0.9446 GB, free: 1.992 MB / 0.6231 GB (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium.fmu > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe 2>&1)