Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.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.001427/0.001427, 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.001822/0.001822, allocations: 216.2 kB / 22.99 MB, free: 4.973 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.504/1.504, 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 0.9785/0.9785, allocations: 149.9 MB / 463 MB, free: 10.36 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.ACLineMatrix_RLC_N,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N",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.002066/0.002066, allocations: 70.27 kB / 0.6411 GB, free: 10.13 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1727/0.1748, allocations: 89.17 MB / 0.7282 GB, free: 1.031 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N): time 0.01304/0.1879, allocations: 9.613 MB / 0.7376 GB, free: 7.375 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.006094/0.194, allocations: 3.158 MB / 0.7406 GB, free: 4.207 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006911/0.1946, allocations: 47.69 kB / 0.7407 GB, free: 4.16 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001751/0.1964, allocations: 0.6024 MB / 0.7413 GB, free: 3.555 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001852/0.1982, allocations: 0.7779 MB / 0.742 GB, free: 2.773 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001771/0.2, allocations: 0.7517 MB / 0.7428 GB, free: 2.023 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.003763/0.2038, allocations: 2.992 MB / 0.7457 GB, free: 15.02 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002195/0.206, allocations: 1.404 MB / 0.7471 GB, free: 13.58 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002212/0.2082, allocations: 1.293 MB / 0.7483 GB, free: 12.28 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002602/0.2108, allocations: 1.64 MB / 0.7499 GB, free: 10.64 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.000561/0.2113, allocations: 236 kB / 0.7502 GB, free: 10.41 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001119/0.2125, allocations: 483.3 kB / 0.7506 GB, free: 9.934 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.001187/0.2137, allocations: 1.091 MB / 0.7517 GB, free: 8.84 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001164/0.2148, allocations: 0.9104 MB / 0.7526 GB, free: 7.926 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.004253/0.2191, allocations: 3.715 MB / 0.7562 GB, free: 4.199 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.61e-06/0.2191, allocations: 0 / 0.7562 GB, free: 4.199 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.463e-06/0.2191, allocations: 0 / 0.7562 GB, free: 4.199 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.214e-05/0.2191, allocations: 4 kB / 0.7562 GB, free: 4.195 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: 439 * Number of variables: 439 Notification: Performance of Generate backend data structure: time 0.006206/0.2253, allocations: 2.119 MB / 0.7583 GB, free: 2.035 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.22e-05/0.2254, allocations: 8.031 kB / 0.7583 GB, free: 2.027 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004347/0.2258, allocations: 265.2 kB / 0.7585 GB, free: 1.758 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009/0.2348, allocations: 1.326 MB / 0.7598 GB, free: 440 kB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.4163/0.6512, allocations: 1.266 MB / 0.7611 GB, free: 32.99 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.915e-05/0.6512, allocations: 113.7 kB / 0.7612 GB, free: 32.99 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003601/0.6516, allocations: 149.5 kB / 0.7613 GB, free: 32.99 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004812/0.6564, allocations: 3.509 MB / 0.7647 GB, free: 32.59 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.049e-05/0.6565, allocations: 3.531 kB / 0.7647 GB, free: 32.59 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002046/0.6567, allocations: 66.58 kB / 0.7648 GB, free: 32.59 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000228/0.6569, allocations: 204.5 kB / 0.765 GB, free: 32.59 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00473/0.6616, allocations: 3.126 MB / 0.7681 GB, free: 32.55 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01706/0.6787, allocations: 10.07 MB / 0.7779 GB, free: 28.05 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003076/0.6817, allocations: 1.617 MB / 0.7795 GB, free: 27.51 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002042/0.6838, allocations: 1.33 MB / 0.7808 GB, free: 27.09 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 9.754e-05/0.6839, allocations: 13.5 kB / 0.7808 GB, free: 27.09 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.88e-05/0.6839, allocations: 44.3 kB / 0.7808 GB, free: 27.04 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=104): time 4.078e-06/0.6839, allocations: 0.75 kB / 0.7808 GB, free: 27.04 MB / 0.5762 GB Notification: Performance of matching and sorting (n=183): time 0.1497/0.8337, allocations: 36.19 MB / 0.8162 GB, free: 4.145 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.127e-05/0.8337, allocations: 77.41 kB / 0.8162 GB, free: 4.055 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001329/0.835, allocations: 1.077 MB / 0.8173 GB, free: 2.953 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0002929/0.8353, allocations: 53.7 kB / 0.8173 GB, free: 2.895 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003822/0.8357, allocations: 0.8087 MB / 0.8181 GB, free: 2.082 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005408/0.8362, allocations: 0.6497 MB / 0.8188 GB, free: 1.441 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007365/0.837, allocations: 363.5 kB / 0.8191 GB, free: 1.082 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 3.866e-05/0.837, allocations: 309.1 kB / 0.8194 GB, free: 0.7773 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002724/0.8397, allocations: 1.926 MB / 0.8213 GB, free: 14.85 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003393/0.8431, allocations: 2.285 MB / 0.8235 GB, free: 12.44 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007086/0.8502, allocations: 4.388 MB / 0.8278 GB, free: 7.922 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.387e-05/0.8502, allocations: 8 kB / 0.8278 GB, free: 7.914 MB / 0.5919 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.023/0.8732, allocations: 8.882 MB / 0.8365 GB, free: 15 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.787e-05/0.8733, allocations: 11.84 kB / 0.8365 GB, free: 15 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.494e-05/0.8733, allocations: 8 kB / 0.8365 GB, free: 14.99 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01856/0.8919, allocations: 4.963 MB / 0.8413 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009779/0.8928, allocations: 199.6 kB / 0.8415 GB, free: 9.816 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0679/0.9607, allocations: 37.99 MB / 0.8786 GB, free: 3.402 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002575/0.9633, allocations: 104.6 kB / 0.8787 GB, free: 3.305 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006704/0.964, allocations: 68 kB / 0.8788 GB, free: 3.238 MB / 0.6387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * 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 (105): * Single equations (assignments): 101 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(8,16,100.0%), (8,16,100.0%), (8,38,100.0%), (8,38,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002328/0.9663, allocations: 0.8027 MB / 0.8796 GB, free: 2.426 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006282/0.9669, allocations: 151 kB / 0.8797 GB, free: 2.277 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02246/0.9894, allocations: 8.743 MB / 0.8883 GB, free: 9.5 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.512e-05/0.9894, allocations: 16 kB / 0.8883 GB, free: 9.484 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.08e-05/0.9895, allocations: 36 kB / 0.8883 GB, free: 9.449 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.301e-05/0.9895, allocations: 7.969 kB / 0.8883 GB, free: 9.441 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03109/1.021, allocations: 12.65 MB / 0.9007 GB, free: 12.7 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.977e-05/1.021, allocations: 4 kB / 0.9007 GB, free: 12.7 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005845/1.021, allocations: 123.7 kB / 0.9008 GB, free: 12.57 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01888/1.04, allocations: 4.823 MB / 0.9055 GB, free: 7.738 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000652/1.041, allocations: 32 kB / 0.9055 GB, free: 7.707 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06519/1.106, allocations: 35.92 MB / 0.9406 GB, free: 3.312 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.15e-05/1.106, allocations: 11.59 kB / 0.9406 GB, free: 3.305 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02231/1.128, allocations: 8.453 MB / 0.9489 GB, free: 10.76 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002319/1.131, allocations: 0.573 MB / 0.9494 GB, free: 10.19 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006651/1.131, allocations: 39.98 kB / 0.9495 GB, free: 10.15 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001701/1.133, allocations: 87.89 kB / 0.9496 GB, free: 10.06 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009615/1.134, allocations: 173.5 kB / 0.9497 GB, free: 9.895 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003179/1.134, allocations: 48 kB / 0.9498 GB, free: 9.848 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001345/1.136, allocations: 0.7382 MB / 0.9505 GB, free: 9.098 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/1.136, allocations: 0 / 0.9505 GB, free: 9.098 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.00418/1.14, allocations: 1.008 MB / 0.9515 GB, free: 8.09 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (66): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(8,16,100.0%), (8,38,100.0%), (8,8,100.0%), (15,23,74.2%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.02237/1.162, allocations: 9.04 MB / 0.9603 GB, free: 14.95 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.01199/1.174, allocations: 5.739 MB / 0.9659 GB, free: 9.164 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 9.318e-06/1.174, allocations: 0 / 0.9659 GB, free: 9.164 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.009619/1.184, allocations: 3.784 MB / 0.9696 GB, free: 5.324 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002495/1.186, allocations: 239.5 kB / 0.9698 GB, free: 5.102 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07416/1.26, allocations: 30.82 MB / 0.9999 GB, free: 5.77 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002308/1.263, allocations: 1.271 MB / 1.001 GB, free: 4.457 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.001034/1.264, allocations: 355.8 kB / 1.002 GB, free: 4.109 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009383/1.265, allocations: 0.6047 MB / 1.002 GB, free: 3.504 MB / 0.7637 GB Notification: Performance of SimCode: time 8.62e-07/1.265, allocations: 0 / 1.002 GB, free: 3.504 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1609/1.426, allocations: 80.67 MB / 1.081 GB, free: 2.871 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.43/14.86, allocations: 8.062 kB / 1.081 GB, free: 2.863 MB / 0.8419 GB " [Timeout remaining time 645] (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N.fmu > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 19.231297218240798] Failed to read output from testmodel.py, exit status != 0: 15.00164629612118 15.354609965 15.132233777 Calling exit ...