Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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.001317/0.001317, allocations: 118.8 kB / 17.84 MB, free: 5.234 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.001624/0.001624, allocations: 202.3 kB / 20.79 MB, free: 2.297 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.568/1.568, allocations: 230.6 MB / 254.2 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 1.053/1.053, allocations: 150 MB / 460.2 MB, free: 5.262 MB / 350.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 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(IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IBPSA 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.002082/0.002082, allocations: 68.66 kB / 0.6368 GB, free: 30.55 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2062/0.2083, allocations: 89.13 MB / 0.7238 GB, free: 4.055 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium): time 0.02053/0.2288, allocations: 14.97 MB / 0.7385 GB, free: 5.02 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.01747/0.2463, allocations: 10.51 MB / 0.7487 GB, free: 10.48 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001891/0.2482, allocations: 75.31 kB / 0.7488 GB, free: 10.41 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.004965/0.2531, allocations: 1.711 MB / 0.7505 GB, free: 8.691 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.006037/0.2592, allocations: 1.855 MB / 0.7523 GB, free: 6.836 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002532/0.2617, allocations: 0.7507 MB / 0.753 GB, free: 6.086 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.00519/0.2669, allocations: 2.758 MB / 0.7557 GB, free: 3.32 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001911/0.2688, allocations: 1.134 MB / 0.7568 GB, free: 2.148 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002803/0.2716, allocations: 1.551 MB / 0.7583 GB, free: 0.5938 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00209/0.2737, allocations: 1.23 MB / 0.7595 GB, free: 15.36 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0002679/0.274, allocations: 160 kB / 0.7597 GB, free: 15.2 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001758/0.2757, allocations: 0.811 MB / 0.7605 GB, free: 14.39 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0006666/0.2764, allocations: 0.6152 MB / 0.7611 GB, free: 13.77 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001141/0.2775, allocations: 0.9483 MB / 0.762 GB, free: 12.82 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.00405/0.2816, allocations: 2.786 MB / 0.7647 GB, free: 10.02 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 9.228e-06/0.2816, allocations: 0 / 0.7647 GB, free: 10.02 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.645e-06/0.2816, allocations: 0 / 0.7647 GB, free: 10.02 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.559e-05/0.2817, allocations: 0 / 0.7647 GB, free: 10.02 MB / 0.5762 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.005545/0.2872, allocations: 2.23 MB / 0.7669 GB, free: 7.734 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 6.208e-05/0.2873, allocations: 8.031 kB / 0.7669 GB, free: 7.727 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 6.122e-05/0.2873, allocations: 30.52 kB / 0.7669 GB, free: 7.695 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002955/0.2876, allocations: 198.3 kB / 0.7671 GB, free: 7.492 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01224/0.2999, allocations: 2.121 MB / 0.7692 GB, free: 5.367 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00314/0.303, allocations: 1.312 MB / 0.7705 GB, free: 4 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.08e-05/0.3031, allocations: 94.42 kB / 0.7706 GB, free: 3.906 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002603/0.3034, allocations: 119.9 kB / 0.7707 GB, free: 3.789 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006049/0.3094, allocations: 2.67 MB / 0.7733 GB, free: 0.9688 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.597e-05/0.3094, allocations: 11.92 kB / 0.7733 GB, free: 0.957 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000177/0.3096, allocations: 51.98 kB / 0.7734 GB, free: 0.9062 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007347/0.3104, allocations: 190.1 kB / 0.7735 GB, free: 0.7188 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00786/0.3182, allocations: 2.791 MB / 0.7763 GB, free: 13.92 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01662/0.3348, allocations: 10.49 MB / 0.7865 GB, free: 2.848 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007103/0.3419, allocations: 2.246 MB / 0.7887 GB, free: 0.5742 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003376/0.3453, allocations: 1.206 MB / 0.7899 GB, free: 15.37 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 9.744e-05/0.3454, allocations: 9 kB / 0.7899 GB, free: 15.36 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.495e-05/0.3455, allocations: 47.56 kB / 0.7899 GB, free: 15.3 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=89): time 2.645e-06/0.3455, allocations: 0 / 0.7899 GB, free: 15.3 MB / 0.6075 GB Notification: Performance of matching and sorting (n=153): time 0.06337/0.4088, allocations: 16.45 MB / 0.806 GB, free: 14.69 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.321e-05/0.4089, allocations: 68.72 kB / 0.8061 GB, free: 14.61 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001854/0.4107, allocations: 1.18 MB / 0.8072 GB, free: 13.42 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0002889/0.411, allocations: 49.7 kB / 0.8073 GB, free: 13.36 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006849/0.4117, allocations: 0.7568 MB / 0.808 GB, free: 12.61 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006546/0.4124, allocations: 0.5344 MB / 0.8085 GB, free: 12.07 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000625/0.413, allocations: 295.5 kB / 0.8088 GB, free: 11.77 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001352/0.4131, allocations: 301.1 kB / 0.8091 GB, free: 11.48 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003853/0.417, allocations: 1.506 MB / 0.8106 GB, free: 9.969 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004245/0.4212, allocations: 1.788 MB / 0.8123 GB, free: 8.086 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008216/0.4295, allocations: 3.369 MB / 0.8156 GB, free: 4.621 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.021e-06/0.4295, allocations: 4 kB / 0.8156 GB, free: 4.617 MB / 0.6231 GB Notification: Performance of matching and sorting (n=190) (initialization): time 0.01502/0.4445, allocations: 5.211 MB / 0.8207 GB, free: 15.36 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 3.441e-05/0.4445, allocations: 9.562 kB / 0.8207 GB, free: 15.36 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.699e-05/0.4445, allocations: 8 kB / 0.8207 GB, free: 15.35 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007552/0.4521, allocations: 1.875 MB / 0.8225 GB, free: 13.45 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002181/0.4543, allocations: 419.2 kB / 0.8229 GB, free: 13.04 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03383/0.4881, allocations: 24.16 MB / 0.8465 GB, free: 3.773 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003033/0.4911, allocations: 307.5 kB / 0.8468 GB, free: 3.473 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002364/0.4914, allocations: 67.95 kB / 0.8469 GB, free: 3.406 MB / 0.6544 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.0009528/0.4923, allocations: 467.5 kB / 0.8473 GB, free: 2.941 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003738/0.4927, allocations: 182.9 kB / 0.8475 GB, free: 2.762 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01497/0.5077, allocations: 5.249 MB / 0.8526 GB, free: 13.46 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.709e-05/0.5077, allocations: 12 kB / 0.8526 GB, free: 13.45 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.497e-05/0.5078, allocations: 20 kB / 0.8527 GB, free: 13.43 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.698e-05/0.5078, allocations: 7.969 kB / 0.8527 GB, free: 13.43 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0194/0.5272, allocations: 7.364 MB / 0.8599 GB, free: 5.938 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.685e-05/0.5272, allocations: 4.344 kB / 0.8599 GB, free: 5.934 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001858/0.5291, allocations: 355.4 kB / 0.8602 GB, free: 5.586 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006754/0.5358, allocations: 1.704 MB / 0.8619 GB, free: 3.859 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000309/0.5361, allocations: 47.91 kB / 0.8619 GB, free: 3.812 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.4788/1.015, allocations: 23.31 MB / 0.8847 GB, free: 120.3 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.047e-05/1.015, allocations: 4.484 kB / 0.8847 GB, free: 120.3 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01392/1.029, allocations: 4.837 MB / 0.8894 GB, free: 118.7 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009086/1.03, allocations: 0.4931 MB / 0.8899 GB, free: 118.4 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00026/1.03, allocations: 31.53 kB / 0.8899 GB, free: 118.4 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00213/1.032, allocations: 317.5 kB / 0.8902 GB, free: 118.4 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005903/1.033, allocations: 148.4 kB / 0.8904 GB, free: 118.4 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000144/1.033, allocations: 55.97 kB / 0.8904 GB, free: 118.4 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0009866/1.034, allocations: 0.7896 MB / 0.8912 GB, free: 118.1 MB / 0.67 GB Notification: Performance of sort global known variables: time 8e-08/1.034, allocations: 0 / 0.8912 GB, free: 118.1 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.002188/1.036, allocations: 0.6545 MB / 0.8918 GB, free: 118 MB / 0.67 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.01128/1.047, allocations: 5.416 MB / 0.8971 GB, free: 115.8 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.01101/1.058, allocations: 4.922 MB / 0.9019 GB, free: 113.3 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 8.235e-06/1.058, allocations: 0 / 0.9019 GB, free: 113.3 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.006804/1.065, allocations: 3.269 MB / 0.9051 GB, free: 111.2 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002585/1.068, allocations: 0.5585 MB / 0.9057 GB, free: 110.9 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0433/1.111, allocations: 21.78 MB / 0.9269 GB, free: 88.71 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00134/1.112, allocations: 1.576 MB / 0.9285 GB, free: 87.09 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.00151/1.114, allocations: 380.5 kB / 0.9288 GB, free: 86.73 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007742/1.115, allocations: 0.6554 MB / 0.9295 GB, free: 86.07 MB / 0.67 GB Notification: Performance of SimCode: time 1.833e-06/1.115, allocations: 4 kB / 0.9295 GB, free: 86.07 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.107/1.222, allocations: 59.16 MB / 0.9872 GB, free: 27.6 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.94/22.16, allocations: 8 kB / 0.9873 GB, free: 27.59 MB / 0.67 GB " [Timeout remaining time 638] (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium.fmu > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 26.738345919991843] Failed to read output from testmodel.py, exit status != 0: 22.337030977010727 22.346780445 22.06267139 Calling exit ...