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.001342/0.001342, allocations: 97.88 kB / 19.73 MB, free: 2.117 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.001497/0.001497, allocations: 215.8 kB / 23.03 MB, free: 4.922 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.472/1.472, allocations: 230.6 MB / 256.8 MB, free: 7.793 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.002624/0.002624, allocations: 281.2 kB / 313.5 MB, free: 2.598 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.278/1.278, allocations: 180.6 MB / 0.5377 GB, free: 14.46 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.002914/0.002914, allocations: 100.6 kB / 0.7403 GB, free: 28.2 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1576/0.1605, allocations: 95.39 MB / 0.8334 GB, free: 8.344 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium): time 0.02055/0.181, allocations: 13.9 MB / 0.847 GB, free: 10.39 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.0169/0.1979, allocations: 9.965 MB / 0.8567 GB, free: 404 kB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001245/0.1992, allocations: 79.31 kB / 0.8568 GB, free: 324 kB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.004748/0.2039, allocations: 1.676 MB / 0.8584 GB, free: 14.64 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.005352/0.2093, allocations: 1.846 MB / 0.8602 GB, free: 12.79 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.002092/0.2114, allocations: 0.7593 MB / 0.861 GB, free: 12.03 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.004146/0.2155, allocations: 2.766 MB / 0.8637 GB, free: 9.254 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002202/0.2177, allocations: 1.203 MB / 0.8649 GB, free: 8.012 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002601/0.2203, allocations: 1.566 MB / 0.8664 GB, free: 6.441 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00231/0.2226, allocations: 1.234 MB / 0.8676 GB, free: 5.203 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0004562/0.2231, allocations: 163.9 kB / 0.8677 GB, free: 5.043 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00174/0.2248, allocations: 0.733 MB / 0.8685 GB, free: 4.309 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0008227/0.2257, allocations: 0.6152 MB / 0.8691 GB, free: 3.691 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.001235/0.2269, allocations: 0.7814 MB / 0.8698 GB, free: 2.906 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.00361/0.2305, allocations: 2.794 MB / 0.8726 GB, free: 104 kB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.2305, allocations: 0 / 0.8726 GB, free: 104 kB / 0.6075 GB Notification: Performance of FrontEnd: time 1.743e-06/0.2305, allocations: 0 / 0.8726 GB, free: 104 kB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.512e-05/0.2306, allocations: 4 kB / 0.8726 GB, free: 100 kB / 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.004237/0.2348, allocations: 2.147 MB / 0.8747 GB, free: 13.91 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.55e-05/0.2349, allocations: 12.75 kB / 0.8747 GB, free: 13.89 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.289e-05/0.2349, allocations: 34.52 kB / 0.8747 GB, free: 13.86 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002742/0.2352, allocations: 194.3 kB / 0.8749 GB, free: 13.66 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01142/0.2466, allocations: 2.121 MB / 0.877 GB, free: 11.54 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002909/0.2495, allocations: 1.229 MB / 0.8782 GB, free: 10.26 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.181e-05/0.2496, allocations: 86.44 kB / 0.8782 GB, free: 10.17 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003263/0.2499, allocations: 116 kB / 0.8784 GB, free: 10.06 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006308/0.2562, allocations: 3.073 MB / 0.8814 GB, free: 6.738 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.501e-05/0.2563, allocations: 11.89 kB / 0.8814 GB, free: 6.727 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001954/0.2565, allocations: 55.98 kB / 0.8814 GB, free: 6.672 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006366/0.2571, allocations: 190.1 kB / 0.8816 GB, free: 6.484 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007781/0.2649, allocations: 2.795 MB / 0.8843 GB, free: 3.68 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01544/0.2803, allocations: 8.346 MB / 0.8925 GB, free: 11.16 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006677/0.287, allocations: 2.183 MB / 0.8946 GB, free: 8.969 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003188/0.2902, allocations: 1.206 MB / 0.8958 GB, free: 7.762 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 7.234e-05/0.2903, allocations: 9 kB / 0.8958 GB, free: 7.754 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.126e-05/0.2903, allocations: 47.56 kB / 0.8958 GB, free: 7.699 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=89): time 2.886e-06/0.2903, allocations: 0 / 0.8958 GB, free: 7.699 MB / 0.6387 GB Notification: Performance of matching and sorting (n=153): time 0.06102/0.3513, allocations: 15.99 MB / 0.9115 GB, free: 7.664 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.669e-05/0.3514, allocations: 68.72 kB / 0.9115 GB, free: 7.582 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001776/0.3532, allocations: 1.188 MB / 0.9127 GB, free: 6.383 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.000242/0.3534, allocations: 49.7 kB / 0.9127 GB, free: 6.328 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006875/0.3541, allocations: 0.7607 MB / 0.9135 GB, free: 5.562 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006507/0.3547, allocations: 0.5383 MB / 0.914 GB, free: 5.02 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006741/0.3554, allocations: 287.5 kB / 0.9143 GB, free: 4.734 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001326/0.3555, allocations: 301.1 kB / 0.9146 GB, free: 4.438 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003708/0.3593, allocations: 1.514 MB / 0.916 GB, free: 2.922 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00409/0.3633, allocations: 1.776 MB / 0.9178 GB, free: 1.051 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008144/0.3715, allocations: 3.365 MB / 0.9211 GB, free: 13.59 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.143e-05/0.3715, allocations: 4 kB / 0.9211 GB, free: 13.59 MB / 0.67 GB Notification: Performance of matching and sorting (n=190) (initialization): time 0.01502/0.3865, allocations: 5.211 MB / 0.9262 GB, free: 8.336 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 3.085e-05/0.3865, allocations: 8 kB / 0.9262 GB, free: 8.328 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.706e-05/0.3866, allocations: 11.94 kB / 0.9262 GB, free: 8.316 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007843/0.3944, allocations: 1.878 MB / 0.928 GB, free: 6.418 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00209/0.3965, allocations: 415.3 kB / 0.9284 GB, free: 6.012 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03376/0.4303, allocations: 23.07 MB / 0.9509 GB, free: 14.03 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002669/0.4329, allocations: 315.5 kB / 0.9512 GB, free: 13.72 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002483/0.4332, allocations: 67.97 kB / 0.9513 GB, free: 13.66 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.0009575/0.4341, allocations: 461.5 kB / 0.9517 GB, free: 13.2 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004122/0.4345, allocations: 182.9 kB / 0.9519 GB, free: 13.02 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0144/0.4489, allocations: 5.246 MB / 0.957 GB, free: 7.723 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.856e-05/0.449, allocations: 15.98 kB / 0.957 GB, free: 7.707 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.464e-05/0.449, allocations: 20 kB / 0.9571 GB, free: 7.688 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.503e-05/0.449, allocations: 3.984 kB / 0.9571 GB, free: 7.684 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01757/0.4666, allocations: 6.985 MB / 0.9639 GB, free: 0.5859 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.088e-05/0.4666, allocations: 4.031 kB / 0.9639 GB, free: 0.582 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001716/0.4683, allocations: 355.4 kB / 0.9642 GB, free: 240 kB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006604/0.4749, allocations: 1.708 MB / 0.9659 GB, free: 14.5 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002178/0.4751, allocations: 47.91 kB / 0.966 GB, free: 14.46 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.392/0.8672, allocations: 22.21 MB / 0.9876 GB, free: 131.2 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.44e-06/0.8672, allocations: 5.688 kB / 0.9876 GB, free: 131.2 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0117/0.8789, allocations: 4.831 MB / 0.9924 GB, free: 130.5 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001094/0.88, allocations: 425.6 kB / 0.9928 GB, free: 130.4 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003152/0.8803, allocations: 32.69 kB / 0.9928 GB, free: 130.4 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002084/0.8824, allocations: 323 kB / 0.9931 GB, free: 130.4 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006719/0.883, allocations: 154.1 kB / 0.9933 GB, free: 130.4 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001795/0.8832, allocations: 55.52 kB / 0.9933 GB, free: 130.3 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001194/0.8844, allocations: 0.7895 MB / 0.9941 GB, free: 130 MB / 0.7169 GB Notification: Performance of sort global known variables: time 9e-08/0.8844, allocations: 0 / 0.9941 GB, free: 130 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.002355/0.8868, allocations: 0.659 MB / 0.9947 GB, free: 130 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.01227/0.899, allocations: 5.413 MB / 1 GB, free: 127.8 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.01003/0.9091, allocations: 4.923 MB / 1.005 GB, free: 125.7 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 9.458e-06/0.9091, allocations: 1.375 kB / 1.005 GB, free: 125.7 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.006237/0.9153, allocations: 3.272 MB / 1.008 GB, free: 124.1 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002547/0.9179, allocations: 0.568 MB / 1.009 GB, free: 123.9 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03981/0.9577, allocations: 21.77 MB / 1.03 GB, free: 106 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009527/0.9586, allocations: 0.9882 MB / 1.031 GB, free: 105 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.00128/0.9599, allocations: 391.1 kB / 1.031 GB, free: 104.6 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007615/0.9607, allocations: 0.6554 MB / 1.032 GB, free: 103.9 MB / 0.7169 GB Notification: Performance of SimCode: time 9.32e-07/0.9607, allocations: 0 / 1.032 GB, free: 103.9 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1469/1.108, allocations: 64 MB / 1.094 GB, free: 40.95 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 22.74/23.85, allocations: 8.047 kB / 1.094 GB, free: 40.94 MB / 0.7169 GB " [Timeout remaining time 636] (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: 28.30829706892837] Failed to read output from testmodel.py, exit status != 0: 24.054982944042422 24.070981055 23.837096233 Calling exit ...