Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.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.001443/0.001443, allocations: 108.3 kB / 19.7 MB, free: 1.918 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.001531/0.001531, allocations: 215.8 kB / 22.99 MB, free: 4.977 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.506/1.506, allocations: 230.6 MB / 256.8 MB, free: 7.805 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.039/1.039, allocations: 149.9 MB / 463 MB, free: 10.33 MB / 366.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.ThreePhasesUnbalanced.Lines.Examples.ACLine_L,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L",fmuType="me",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.002193/0.002193, allocations: 61.12 kB / 0.6411 GB, free: 10.11 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1746/0.1768, allocations: 89.17 MB / 0.7282 GB, free: 1.012 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L): time 0.04288/0.2197, allocations: 31.51 MB / 0.7589 GB, free: 1.406 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.3542/0.5739, allocations: 10.27 MB / 0.769 GB, free: 14.73 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003081/0.577, allocations: 194.4 kB / 0.7692 GB, free: 14.73 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.009275/0.5863, allocations: 3.736 MB / 0.7728 GB, free: 14.36 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.005762/0.592, allocations: 1.954 MB / 0.7747 GB, free: 13.84 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.006112/0.5981, allocations: 2.145 MB / 0.7768 GB, free: 13.66 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.01039/0.6085, allocations: 7.322 MB / 0.784 GB, free: 11.57 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009689/0.6182, allocations: 5.097 MB / 0.7889 GB, free: 9.152 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007084/0.6253, allocations: 3.293 MB / 0.7922 GB, free: 7.797 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006982/0.6323, allocations: 3.451 MB / 0.7955 GB, free: 6.715 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.002878/0.6352, allocations: 0.6451 MB / 0.7962 GB, free: 6.715 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005885/0.641, allocations: 1.656 MB / 0.7978 GB, free: 6.445 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.004177/0.6452, allocations: 2.609 MB / 0.8003 GB, free: 5.352 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.005685/0.6509, allocations: 2.344 MB / 0.8026 GB, free: 3.938 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.01363/0.6645, allocations: 10.18 MB / 0.8125 GB, free: 12.78 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 6.753e-06/0.6645, allocations: 0.9688 kB / 0.8125 GB, free: 12.78 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.994e-06/0.6645, allocations: 0 / 0.8125 GB, free: 12.78 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.0002958/0.6648, allocations: 0 / 0.8125 GB, free: 12.78 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1256 * Number of variables: 1256 Notification: Performance of Generate backend data structure: time 0.01487/0.6797, allocations: 5.052 MB / 0.8175 GB, free: 9.418 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.63e-05/0.6798, allocations: 8.344 kB / 0.8175 GB, free: 9.418 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00184/0.6816, allocations: 0.6838 MB / 0.8182 GB, free: 8.941 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005914/0.6875, allocations: 0.9745 MB / 0.8191 GB, free: 8.461 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008329/0.6958, allocations: 3.008 MB / 0.822 GB, free: 6.586 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002938/0.6961, allocations: 346.2 kB / 0.8224 GB, free: 6.438 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001657/0.6978, allocations: 465.3 kB / 0.8228 GB, free: 6.289 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01986/0.7176, allocations: 7.972 MB / 0.8306 GB, free: 14.86 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003051/0.718, allocations: 19.83 kB / 0.8306 GB, free: 14.84 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002116/0.7201, allocations: 204.1 kB / 0.8308 GB, free: 14.64 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005167/0.7206, allocations: 312.9 kB / 0.8311 GB, free: 14.34 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01328/0.7339, allocations: 5.702 MB / 0.8367 GB, free: 8.617 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04032/0.7742, allocations: 22.69 MB / 0.8588 GB, free: 1.465 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002895/0.7771, allocations: 1.564 MB / 0.8604 GB, free: 15.9 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001749/0.7788, allocations: 1.116 MB / 0.8615 GB, free: 14.79 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 9.019e-05/0.7789, allocations: 13.31 kB / 0.8615 GB, free: 14.77 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.528e-05/0.779, allocations: 48.75 kB / 0.8615 GB, free: 14.71 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=133): time 3.837e-06/0.779, allocations: 4 kB / 0.8615 GB, free: 14.71 MB / 0.6387 GB Notification: Performance of matching and sorting (n=136): time 0.01525/0.7942, allocations: 6.213 MB / 0.8676 GB, free: 8.465 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.83e-05/0.7943, allocations: 68.72 kB / 0.8677 GB, free: 8.387 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002528/0.7968, allocations: 1.523 MB / 0.8691 GB, free: 6.816 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.000173/0.797, allocations: 45.7 kB / 0.8692 GB, free: 6.766 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.001608/0.7986, allocations: 2.068 MB / 0.8712 GB, free: 4.684 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005827/0.7992, allocations: 0.4992 MB / 0.8717 GB, free: 4.191 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006366/0.7998, allocations: 355.3 kB / 0.872 GB, free: 3.84 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001283/0.7999, allocations: 305.1 kB / 0.8723 GB, free: 3.539 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001479/0.8014, allocations: 0.9135 MB / 0.8732 GB, free: 2.625 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002133/0.8036, allocations: 1.592 MB / 0.8748 GB, free: 0.7266 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003966/0.8075, allocations: 2.732 MB / 0.8774 GB, free: 13.69 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.638e-05/0.8075, allocations: 8 kB / 0.8774 GB, free: 13.68 MB / 0.6544 GB Notification: Performance of matching and sorting (n=239) (initialization): time 0.006889/0.8144, allocations: 3.512 MB / 0.8809 GB, free: 10.12 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 4.43e-05/0.8145, allocations: 16 kB / 0.8809 GB, free: 10.11 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.887e-05/0.8145, allocations: 24 kB / 0.8809 GB, free: 10.08 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002784/0.8173, allocations: 0.8985 MB / 0.8818 GB, free: 9.148 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001402/0.8187, allocations: 355.3 kB / 0.8821 GB, free: 8.801 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02388/0.8426, allocations: 21.74 MB / 0.9034 GB, free: 1.723 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002319/0.8449, allocations: 99.95 kB / 0.9035 GB, free: 1.625 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000521/0.8454, allocations: 88 kB / 0.9035 GB, free: 1.539 MB / 0.67 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (185): * Single equations (assignments): 173 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(3,5,77.8%), (3,5,77.8%), (3,5,77.8%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004342/0.8498, allocations: 1.606 MB / 0.9051 GB, free: 15.92 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006209/0.8504, allocations: 218.6 kB / 0.9053 GB, free: 15.7 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00614/0.8565, allocations: 2.963 MB / 0.9082 GB, free: 12.69 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.551e-05/0.8566, allocations: 12 kB / 0.9082 GB, free: 12.68 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.676e-05/0.8566, allocations: 15.94 kB / 0.9082 GB, free: 12.66 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.902e-05/0.8566, allocations: 7.969 kB / 0.9082 GB, free: 12.65 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01421/0.8708, allocations: 6.72 MB / 0.9148 GB, free: 5.82 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.11e-05/0.8708, allocations: 4 kB / 0.9148 GB, free: 5.816 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008208/0.8716, allocations: 171.7 kB / 0.915 GB, free: 5.648 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002494/0.8741, allocations: 0.8359 MB / 0.9158 GB, free: 4.777 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000107/0.8743, allocations: 27.98 kB / 0.9158 GB, free: 4.75 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02232/0.8966, allocations: 20.59 MB / 0.9359 GB, free: 14.79 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.008e-05/0.8966, allocations: 11.94 kB / 0.9359 GB, free: 14.78 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006063/0.9026, allocations: 3.012 MB / 0.9389 GB, free: 11.65 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001651/0.9043, allocations: 391.3 kB / 0.9392 GB, free: 11.27 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004809/0.9048, allocations: 31.94 kB / 0.9393 GB, free: 11.23 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001069/0.9058, allocations: 75.91 kB / 0.9394 GB, free: 11.16 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003756/0.9062, allocations: 136.6 kB / 0.9395 GB, free: 11.03 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.341e-05/0.9063, allocations: 36 kB / 0.9395 GB, free: 10.99 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001613/0.9079, allocations: 0.9717 MB / 0.9405 GB, free: 9.996 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.01e-07/0.9079, allocations: 3.938 kB / 0.9405 GB, free: 9.992 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.00314/0.9111, allocations: 0.7852 MB / 0.9412 GB, free: 9.207 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (91): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.005652/0.9167, allocations: 3.603 MB / 0.9448 GB, free: 5.488 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.006333/0.9231, allocations: 3.917 MB / 0.9486 GB, free: 1.434 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 7.905e-06/0.9231, allocations: 320 / 0.9486 GB, free: 1.434 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.004045/0.9271, allocations: 2.658 MB / 0.9512 GB, free: 14.62 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003683/0.9308, allocations: 0.7392 MB / 0.9519 GB, free: 13.92 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03744/0.9682, allocations: 22.53 MB / 0.9739 GB, free: 6.398 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004001/0.9722, allocations: 2.553 MB / 0.9764 GB, free: 3.812 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.001498/0.9737, allocations: 462 kB / 0.9768 GB, free: 3.359 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00205/0.9758, allocations: 1.538 MB / 0.9783 GB, free: 1.824 MB / 0.7481 GB Notification: Performance of SimCode: time 1.172e-06/0.9758, allocations: 0 / 0.9783 GB, free: 1.824 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1516/1.127, allocations: 65.71 MB / 1.042 GB, free: 0.9609 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.83/14.96, allocations: 64 / 1.042 GB, free: 0.9609 MB / 0.8106 GB " [Timeout remaining time 645] (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L.fmu > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 19.09248647559434] Failed to read output from testmodel.py, exit status != 0: 15.106431767344475 15.130797633 14.461276541 Calling exit ...