Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00178/0.00178, allocations: 99.64 kB / 18.94 MB, free: 2.551 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002376/0.002376, allocations: 216.3 kB / 22.24 MB, free: 4.852 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.477/1.477, allocations: 230.6 MB / 256 MB, free: 8.016 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002745/0.002745, allocations: 287.1 kB / 312.7 MB, free: 2.664 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.222/1.222, allocations: 180.6 MB / 0.5369 GB, free: 14.48 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00317/0.00317, allocations: 111.7 kB / 0.7395 GB, free: 28.14 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1505/0.1537, allocations: 95.38 MB / 0.8326 GB, free: 8.348 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine): time 0.01819/0.1719, allocations: 13.28 MB / 0.8456 GB, free: 11.01 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01594/0.1878, allocations: 9.144 MB / 0.8545 GB, free: 1.84 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001547/0.1893, allocations: 83.31 kB / 0.8546 GB, free: 1.758 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.004702/0.194, allocations: 1.658 MB / 0.8562 GB, free: 100 kB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.004585/0.1986, allocations: 1.594 MB / 0.8578 GB, free: 14.5 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.002039/0.2007, allocations: 0.7511 MB / 0.8585 GB, free: 13.75 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.003516/0.2042, allocations: 2.536 MB / 0.861 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001774/0.206, allocations: 1.176 MB / 0.8622 GB, free: 9.988 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001729/0.2077, allocations: 1.129 MB / 0.8633 GB, free: 8.855 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001773/0.2095, allocations: 1.101 MB / 0.8643 GB, free: 7.75 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0003242/0.2098, allocations: 168 kB / 0.8645 GB, free: 7.586 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001517/0.2113, allocations: 0.733 MB / 0.8652 GB, free: 6.852 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0006811/0.212, allocations: 0.6231 MB / 0.8658 GB, free: 6.227 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.001015/0.213, allocations: 0.7737 MB / 0.8666 GB, free: 5.449 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.003458/0.2164, allocations: 2.779 MB / 0.8693 GB, free: 2.66 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.2165, allocations: 0 / 0.8693 GB, free: 2.66 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.523e-06/0.2165, allocations: 0 / 0.8693 GB, free: 2.66 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.115e-05/0.2165, allocations: 0 / 0.8693 GB, free: 2.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: 327 * Number of variables: 327 Notification: Performance of Generate backend data structure: time 0.004291/0.2208, allocations: 2.124 MB / 0.8714 GB, free: 0.4961 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.521e-05/0.2208, allocations: 9.344 kB / 0.8714 GB, free: 500 kB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002508/0.2211, allocations: 194.4 kB / 0.8716 GB, free: 296 kB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01152/0.2326, allocations: 2.094 MB / 0.8736 GB, free: 14.19 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003364/0.236, allocations: 1.216 MB / 0.8748 GB, free: 12.93 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.673e-05/0.2361, allocations: 90.73 kB / 0.8749 GB, free: 12.84 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003248/0.2364, allocations: 119.9 kB / 0.875 GB, free: 12.72 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006401/0.2428, allocations: 3.085 MB / 0.878 GB, free: 9.387 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.53e-05/0.2428, allocations: 7.938 kB / 0.878 GB, free: 9.379 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001711/0.243, allocations: 55.98 kB / 0.8781 GB, free: 9.324 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006679/0.2437, allocations: 178.1 kB / 0.8782 GB, free: 9.148 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007939/0.2516, allocations: 2.795 MB / 0.881 GB, free: 6.344 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01511/0.2667, allocations: 8.356 MB / 0.8891 GB, free: 13.81 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006989/0.2737, allocations: 2.213 MB / 0.8913 GB, free: 11.59 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003258/0.277, allocations: 1.21 MB / 0.8925 GB, free: 10.37 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 8.752e-05/0.277, allocations: 9 kB / 0.8925 GB, free: 10.36 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.698e-05/0.2771, allocations: 43.56 kB / 0.8925 GB, free: 10.31 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=89): time 3.176e-06/0.2771, allocations: 0 / 0.8925 GB, free: 10.31 MB / 0.6387 GB Notification: Performance of matching and sorting (n=131): time 0.04803/0.3251, allocations: 12.66 MB / 0.9049 GB, free: 13.6 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.371e-05/0.3252, allocations: 72.66 kB / 0.905 GB, free: 13.52 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001773/0.327, allocations: 1.125 MB / 0.9061 GB, free: 12.38 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0002743/0.3272, allocations: 53.7 kB / 0.9061 GB, free: 12.32 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006568/0.3279, allocations: 0.7365 MB / 0.9068 GB, free: 11.58 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006423/0.3285, allocations: 471.9 kB / 0.9073 GB, free: 11.11 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005627/0.3291, allocations: 267.5 kB / 0.9075 GB, free: 10.85 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001827/0.3293, allocations: 357.9 kB / 0.9079 GB, free: 10.49 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003493/0.3328, allocations: 1.339 MB / 0.9092 GB, free: 9.152 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003734/0.3365, allocations: 1.604 MB / 0.9107 GB, free: 7.449 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007398/0.3439, allocations: 2.991 MB / 0.9137 GB, free: 4.363 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.175e-05/0.3439, allocations: 4 kB / 0.9137 GB, free: 4.359 MB / 0.6544 GB Notification: Performance of matching and sorting (n=168) (initialization): time 0.01246/0.3564, allocations: 4.408 MB / 0.918 GB, free: 15.9 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.826e-05/0.3564, allocations: 8 kB / 0.918 GB, free: 15.89 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.543e-05/0.3564, allocations: 4 kB / 0.918 GB, free: 15.89 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005462/0.3619, allocations: 1.427 MB / 0.9194 GB, free: 14.42 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002136/0.364, allocations: 439.2 kB / 0.9198 GB, free: 13.99 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02958/0.3936, allocations: 25.11 MB / 0.9443 GB, free: 3.395 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002734/0.3963, allocations: 303.5 kB / 0.9446 GB, free: 3.098 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002851/0.3966, allocations: 71.94 kB / 0.9447 GB, free: 3.027 MB / 0.6856 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 (99): * Single equations (assignments): 86 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 13 systems {(2,4,100.0%), (1,1,100.0%), (2,4,100.0%), (3,9,100.0%), (1,1,100.0%), (1,1,100.0%), (3,9,100.0%), (3,9,100.0%), (1,1,100.0%), (3,9,100.0%), (1,1,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0009637/0.3976, allocations: 433.5 kB / 0.9451 GB, free: 2.594 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00044/0.398, allocations: 171 kB / 0.9453 GB, free: 2.426 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01219/0.4102, allocations: 4.406 MB / 0.9496 GB, free: 13.96 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-05/0.4102, allocations: 20 kB / 0.9496 GB, free: 13.95 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.427e-05/0.4103, allocations: 12 kB / 0.9496 GB, free: 13.93 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.306e-05/0.4103, allocations: 7.969 kB / 0.9496 GB, free: 13.93 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01659/0.4269, allocations: 6.3 MB / 0.9557 GB, free: 7.484 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.448e-05/0.4269, allocations: 4 kB / 0.9557 GB, free: 7.48 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001911/0.4288, allocations: 383.3 kB / 0.9561 GB, free: 7.105 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005044/0.4338, allocations: 1.307 MB / 0.9574 GB, free: 5.758 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002836/0.4341, allocations: 35.97 kB / 0.9574 GB, free: 5.723 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02844/0.4626, allocations: 23.97 MB / 0.9808 GB, free: 12.26 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.951e-06/0.4626, allocations: 4 kB / 0.9808 GB, free: 12.25 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01175/0.4743, allocations: 4.168 MB / 0.9849 GB, free: 7.996 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001344/0.4757, allocations: 386.7 kB / 0.9853 GB, free: 7.617 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004099/0.4761, allocations: 27.98 kB / 0.9853 GB, free: 7.59 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002315/0.4784, allocations: 307.4 kB / 0.9856 GB, free: 7.289 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004626/0.4789, allocations: 136.6 kB / 0.9857 GB, free: 7.156 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000155/0.479, allocations: 43.97 kB / 0.9858 GB, free: 7.113 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001233/0.4802, allocations: 0.7565 MB / 0.9865 GB, free: 6.355 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.5e-07/0.4802, allocations: 4 kB / 0.9865 GB, free: 6.352 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.002228/0.4825, allocations: 0.5703 MB / 0.9871 GB, free: 5.781 MB / 0.7325 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 (67): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 13 systems {(1,1,100.0%), (2,4,100.0%), (1,1,100.0%), (3,9,100.0%), (1,1,100.0%), (2,4,100.0%), (1,1,100.0%), (1,1,100.0%), (3,7,100.0%), (2,4,100.0%), (3,9,100.0%), (2,4,100.0%), (3,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01169/0.4942, allocations: 4.757 MB / 0.9917 GB, free: 0.9258 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.3771/0.8713, allocations: 4.962 MB / 0.9966 GB, free: 149.1 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.038e-05/0.8713, allocations: 1.031 kB / 0.9966 GB, free: 149.1 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.00656/0.8779, allocations: 3.422 MB / 0.9999 GB, free: 147.6 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002263/0.8801, allocations: 0.5447 MB / 1 GB, free: 147.6 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0418/0.9219, allocations: 19.34 MB / 1.019 GB, free: 141.3 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00102/0.9229, allocations: 0.8877 MB / 1.02 GB, free: 141.1 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001606/0.9245, allocations: 425.9 kB / 1.021 GB, free: 141 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007573/0.9253, allocations: 0.6254 MB / 1.021 GB, free: 140.5 MB / 0.7325 GB Notification: Performance of SimCode: time 1.313e-06/0.9253, allocations: 4 kB / 1.021 GB, free: 140.5 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1126/1.038, allocations: 56.43 MB / 1.076 GB, free: 87.79 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.55/14.59, allocations: 12.73 kB / 1.076 GB, free: 87.79 MB / 0.7325 GB " [Timeout remaining time 645] (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_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_ACLine.fmu > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 18.87002319796011] Failed to read output from testmodel.py, exit status != 0: 14.733111566398293 14.752232714 14.531551564 Calling exit ...