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.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.001598/0.001598, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.001369/0.001369, allocations: 215 kB / 23.04 MB, free: 5.074 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.432/1.432, allocations: 230.6 MB / 256.8 MB, free: 7.969 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.00241/0.00241, allocations: 290.8 kB / 313.5 MB, free: 2.773 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.22/1.22, allocations: 180.6 MB / 0.5377 GB, free: 12.91 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.ACLineMedium,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium",fmuType="cs",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.002842/0.002842, allocations: 96.83 kB / 0.7404 GB, free: 28.14 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1713/0.1741, allocations: 95.39 MB / 0.8335 GB, free: 8.602 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium): time 0.02066/0.1948, allocations: 15.33 MB / 0.8485 GB, free: 9.207 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01678/0.2116, allocations: 10.75 MB / 0.859 GB, free: 14.42 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001348/0.2129, allocations: 83.25 kB / 0.8591 GB, free: 14.34 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.004697/0.2176, allocations: 1.752 MB / 0.8608 GB, free: 12.58 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.005904/0.2235, allocations: 1.858 MB / 0.8626 GB, free: 10.72 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.002271/0.2258, allocations: 0.7766 MB / 0.8633 GB, free: 9.945 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.004349/0.2302, allocations: 2.756 MB / 0.866 GB, free: 7.18 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001906/0.2321, allocations: 1.203 MB / 0.8672 GB, free: 5.938 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002363/0.2344, allocations: 1.562 MB / 0.8687 GB, free: 4.371 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002066/0.2365, allocations: 1.234 MB / 0.8699 GB, free: 3.133 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0002609/0.2368, allocations: 160 kB / 0.8701 GB, free: 2.977 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001602/0.2384, allocations: 0.7994 MB / 0.8709 GB, free: 2.176 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0006565/0.239, allocations: 0.623 MB / 0.8715 GB, free: 1.551 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.001148/0.2402, allocations: 0.9523 MB / 0.8724 GB, free: 0.5938 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.00405/0.2442, allocations: 2.775 MB / 0.8751 GB, free: 13.8 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 6.643e-06/0.2442, allocations: 0 / 0.8751 GB, free: 13.8 MB / 0.6231 GB Notification: Performance of FrontEnd: time 2.315e-06/0.2442, allocations: 0 / 0.8751 GB, free: 13.8 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 6.407e-05/0.2443, allocations: 4 kB / 0.8751 GB, free: 13.8 MB / 0.6231 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.0045/0.2488, allocations: 2.151 MB / 0.8772 GB, free: 11.61 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.561e-05/0.2488, allocations: 12.75 kB / 0.8772 GB, free: 11.6 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.32e-05/0.2489, allocations: 34.52 kB / 0.8773 GB, free: 11.56 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002617/0.2491, allocations: 194.3 kB / 0.8775 GB, free: 11.36 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01241/0.2615, allocations: 2.125 MB / 0.8795 GB, free: 9.234 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003141/0.2647, allocations: 1.232 MB / 0.8807 GB, free: 7.953 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.242e-05/0.2648, allocations: 90.44 kB / 0.8808 GB, free: 7.863 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003344/0.2651, allocations: 116 kB / 0.8809 GB, free: 7.75 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006659/0.2718, allocations: 2.671 MB / 0.8835 GB, free: 4.93 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.574e-05/0.2718, allocations: 7.953 kB / 0.8835 GB, free: 4.922 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001887/0.272, allocations: 55.98 kB / 0.8836 GB, free: 4.867 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006924/0.2727, allocations: 190.1 kB / 0.8838 GB, free: 4.68 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008677/0.2814, allocations: 2.795 MB / 0.8865 GB, free: 1.875 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01705/0.2984, allocations: 10.37 MB / 0.8966 GB, free: 6.938 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007326/0.3057, allocations: 2.183 MB / 0.8988 GB, free: 4.746 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003474/0.3092, allocations: 1.206 MB / 0.8999 GB, free: 3.539 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 6.244e-05/0.3093, allocations: 16.94 kB / 0.9 GB, free: 3.523 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.614e-05/0.3093, allocations: 47.56 kB / 0.9 GB, free: 3.469 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=89): time 2.885e-06/0.3093, allocations: 0 / 0.9 GB, free: 3.469 MB / 0.6387 GB Notification: Performance of matching and sorting (n=153): time 0.06364/0.373, allocations: 16 MB / 0.9156 GB, free: 3.422 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.69e-05/0.373, allocations: 64.72 kB / 0.9157 GB, free: 3.344 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001725/0.3748, allocations: 1.184 MB / 0.9169 GB, free: 2.148 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0002191/0.375, allocations: 49.7 kB / 0.9169 GB, free: 2.094 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006315/0.3756, allocations: 0.7568 MB / 0.9176 GB, free: 1.332 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.000574/0.3762, allocations: 0.5422 MB / 0.9182 GB, free: 0.7852 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006272/0.3768, allocations: 291.5 kB / 0.9184 GB, free: 0.4961 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.000123/0.3769, allocations: 301.1 kB / 0.9187 GB, free: 204 kB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003932/0.3809, allocations: 1.507 MB / 0.9202 GB, free: 14.69 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004251/0.3851, allocations: 1.784 MB / 0.9219 GB, free: 12.81 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008837/0.3939, allocations: 3.365 MB / 0.9252 GB, free: 9.352 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.193e-05/0.394, allocations: 7.984 kB / 0.9252 GB, free: 9.344 MB / 0.67 GB Notification: Performance of matching and sorting (n=190) (initialization): time 0.01509/0.409, allocations: 5.207 MB / 0.9303 GB, free: 4.098 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.793e-05/0.4091, allocations: 8 kB / 0.9303 GB, free: 4.09 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.448e-05/0.4091, allocations: 4 kB / 0.9303 GB, free: 4.086 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007116/0.4162, allocations: 1.889 MB / 0.9322 GB, free: 2.176 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002131/0.4183, allocations: 407.3 kB / 0.9326 GB, free: 1.777 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03197/0.4503, allocations: 23.34 MB / 0.9554 GB, free: 9.523 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002854/0.4532, allocations: 307.5 kB / 0.9557 GB, free: 9.223 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003135/0.4535, allocations: 75.89 kB / 0.9557 GB, free: 9.148 MB / 0.7012 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.0009891/0.4545, allocations: 464.1 kB / 0.9562 GB, free: 8.688 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004393/0.4549, allocations: 182.9 kB / 0.9564 GB, free: 8.508 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01484/0.4697, allocations: 5.249 MB / 0.9615 GB, free: 3.211 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.198e-05/0.4698, allocations: 16 kB / 0.9615 GB, free: 3.195 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.51e-05/0.4698, allocations: 16 kB / 0.9615 GB, free: 3.18 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.243e-05/0.4698, allocations: 11.91 kB / 0.9615 GB, free: 3.168 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01881/0.4886, allocations: 7.328 MB / 0.9687 GB, free: 11.73 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.522e-05/0.4886, allocations: 8.031 kB / 0.9687 GB, free: 11.72 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001919/0.4906, allocations: 355.3 kB / 0.969 GB, free: 11.37 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006466/0.497, allocations: 1.694 MB / 0.9707 GB, free: 9.652 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002512/0.4973, allocations: 47.91 kB / 0.9707 GB, free: 9.605 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3641/0.8614, allocations: 22.5 MB / 0.9927 GB, free: 129.1 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.8614, allocations: 2.625 kB / 0.9927 GB, free: 129.1 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01302/0.8744, allocations: 4.829 MB / 0.9974 GB, free: 127.6 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00124/0.8757, allocations: 428.4 kB / 0.9978 GB, free: 127.5 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003028/0.876, allocations: 30.41 kB / 0.9979 GB, free: 127.5 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002432/0.8784, allocations: 320.1 kB / 0.9982 GB, free: 127.4 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006872/0.8791, allocations: 162.5 kB / 0.9983 GB, free: 127.4 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001767/0.8793, allocations: 53.56 kB / 0.9984 GB, free: 127.4 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001286/0.8806, allocations: 0.7883 MB / 0.9991 GB, free: 127.1 MB / 0.7169 GB Notification: Performance of sort global known variables: time 9e-08/0.8806, allocations: 3.375 kB / 0.9991 GB, free: 127.1 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.00232/0.8829, allocations: 0.6631 MB / 0.9998 GB, free: 127 MB / 0.7169 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.01217/0.8951, allocations: 5.406 MB / 1.005 GB, free: 124.8 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.01026/0.9053, allocations: 4.911 MB / 1.01 GB, free: 122.7 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 6.954e-06/0.9053, allocations: 8.875 kB / 1.01 GB, free: 122.7 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.006121/0.9115, allocations: 3.268 MB / 1.013 GB, free: 121 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002288/0.9137, allocations: 0.568 MB / 1.014 GB, free: 120.9 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04158/0.9553, allocations: 21.78 MB / 1.035 GB, free: 101.9 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009555/0.9563, allocations: 1.568 MB / 1.036 GB, free: 100.3 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.001372/0.9576, allocations: 391.4 kB / 1.037 GB, free: 99.96 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007581/0.9584, allocations: 0.6554 MB / 1.037 GB, free: 99.31 MB / 0.7169 GB Notification: Performance of SimCode: time 1.112e-06/0.9584, allocations: 0 / 1.037 GB, free: 99.31 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1047/1.063, allocations: 60.82 MB / 1.097 GB, free: 39.19 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 22.18/23.25, allocations: 3.375 kB / 1.097 GB, free: 39.19 MB / 0.7169 GB " [Timeout remaining time 637] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium.fmu > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 27.597938071994577] Failed to read output from testmodel.py, exit status != 0: 23.452937733964063 23.472699175 23.225181119 Calling exit ...