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.001022/0.001022, allocations: 72.5 kB / 19.92 MB, free: 4.633 MB / 18.57 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.001238/0.001238, allocations: 173.9 kB / 23.21 MB, free: 1.355 MB / 18.57 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 0.8976/0.8976, allocations: 177.1 MB / 203.5 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] 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.5716/0.5716, allocations: 114 MB / 373.9 MB, free: 8.711 MB / 346.7 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: Performance of FrontEnd - loaded program: time 1.442e-06/1.442e-06, allocations: 0 / 0.5542 GB, free: 2.73 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.181e-05/2.325e-05, allocations: 9.719 kB / 0.5542 GB, free: 2.723 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L): time 0.02059/0.02061, allocations: 30.8 MB / 0.5843 GB, free: 3.828 MB / 0.5417 GB Notification: Performance of NFInst.instExpressions: time 0.01102/0.03163, allocations: 10.15 MB / 0.5942 GB, free: 9.652 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002523/0.03415, allocations: 194.5 kB / 0.5944 GB, free: 9.461 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.004953/0.0391, allocations: 3.743 MB / 0.598 GB, free: 5.707 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.004861/0.04397, allocations: 2 MB / 0.6 GB, free: 3.695 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.004389/0.04835, allocations: 2.15 MB / 0.6021 GB, free: 1.547 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.00692/0.05527, allocations: 7.465 MB / 0.6094 GB, free: 10.06 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005595/0.06087, allocations: 5.128 MB / 0.6144 GB, free: 4.809 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005013/0.06588, allocations: 4.592 MB / 0.6189 GB, free: 212 kB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003019/0.0689, allocations: 3.234 MB / 0.622 GB, free: 12.96 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 0.000609/0.06951, allocations: 0.6445 MB / 0.6227 GB, free: 12.32 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002144/0.07166, allocations: 1.676 MB / 0.6243 GB, free: 10.64 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 0.001734/0.07339, allocations: 2.728 MB / 0.627 GB, free: 7.902 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 0.001861/0.07525, allocations: 2.012 MB / 0.6289 GB, free: 5.887 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.007684/0.08293, allocations: 10.32 MB / 0.639 GB, free: 11.54 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 6.943e-06/0.08294, allocations: 7.938 kB / 0.639 GB, free: 11.54 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.743e-06/0.08294, allocations: 0 / 0.639 GB, free: 11.54 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0002388/0.08318, allocations: 0 / 0.639 GB, free: 11.54 MB / 0.6042 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.007957/0.09114, allocations: 4.986 MB / 0.6439 GB, free: 6.488 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.971e-05/0.09119, allocations: 12.62 kB / 0.6439 GB, free: 6.477 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007078/0.0919, allocations: 0.6859 MB / 0.6446 GB, free: 5.781 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002746/0.09464, allocations: 0.9891 MB / 0.6455 GB, free: 4.789 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003424/0.09807, allocations: 2.998 MB / 0.6485 GB, free: 1.715 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001471/0.09821, allocations: 349.7 kB / 0.6488 GB, free: 1.371 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004404/0.09865, allocations: 468.2 kB / 0.6492 GB, free: 0.9141 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00814/0.1068, allocations: 7.972 MB / 0.657 GB, free: 8.52 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.281e-05/0.1069, allocations: 20.02 kB / 0.657 GB, free: 8.5 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002967/0.1072, allocations: 208.1 kB / 0.6572 GB, free: 8.297 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002066/0.1074, allocations: 316.9 kB / 0.6575 GB, free: 7.984 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006337/0.1137, allocations: 5.702 MB / 0.6631 GB, free: 2.266 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2807/0.3944, allocations: 22.64 MB / 0.6852 GB, free: 138.6 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001469/0.3959, allocations: 1.554 MB / 0.6867 GB, free: 138.6 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008294/0.3967, allocations: 1.124 MB / 0.6878 GB, free: 138.6 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 5.601e-05/0.3967, allocations: 18.66 kB / 0.6879 GB, free: 138.6 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.007e-05/0.3968, allocations: 47.03 kB / 0.6879 GB, free: 138.5 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=133): time 3.286e-06/0.3968, allocations: 1.125 kB / 0.6879 GB, free: 138.5 MB / 0.6355 GB Notification: Performance of matching and sorting (n=136): time 0.007883/0.4046, allocations: 6.208 MB / 0.694 GB, free: 136.9 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.678e-05/0.4047, allocations: 65.91 kB / 0.694 GB, free: 136.9 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001414/0.4061, allocations: 1.525 MB / 0.6955 GB, free: 136.2 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 5.212e-05/0.4062, allocations: 45.67 kB / 0.6956 GB, free: 136.2 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006077/0.4068, allocations: 2.074 MB / 0.6976 GB, free: 134.9 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.000211/0.407, allocations: 0.4904 MB / 0.6981 GB, free: 134.6 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002804/0.4073, allocations: 350.3 kB / 0.6984 GB, free: 134.5 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.065e-05/0.4073, allocations: 304.4 kB / 0.6987 GB, free: 134.2 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007061/0.408, allocations: 0.9093 MB / 0.6996 GB, free: 133.8 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008925/0.4089, allocations: 1.592 MB / 0.7011 GB, free: 132.6 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001759/0.4106, allocations: 2.739 MB / 0.7038 GB, free: 130.9 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.887e-06/0.4107, allocations: 6.906 kB / 0.7038 GB, free: 130.9 MB / 0.6355 GB Notification: Performance of matching and sorting (n=239) (initialization): time 0.003121/0.4138, allocations: 3.507 MB / 0.7072 GB, free: 129.4 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.617e-05/0.4138, allocations: 16.59 kB / 0.7073 GB, free: 129.4 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.753e-05/0.4138, allocations: 21.28 kB / 0.7073 GB, free: 129.4 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001219/0.415, allocations: 0.9063 MB / 0.7082 GB, free: 129.1 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005751/0.4156, allocations: 348.4 kB / 0.7085 GB, free: 129.1 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01041/0.426, allocations: 21.72 MB / 0.7297 GB, free: 110.9 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001428/0.4275, allocations: 104.8 kB / 0.7298 GB, free: 110.9 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.927e-05/0.4275, allocations: 82.8 kB / 0.7299 GB, free: 110.8 MB / 0.6355 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.002345/0.4299, allocations: 1.611 MB / 0.7315 GB, free: 110.1 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004161/0.4303, allocations: 220.5 kB / 0.7317 GB, free: 110 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003251/0.4336, allocations: 2.964 MB / 0.7346 GB, free: 108.7 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.413e-05/0.4336, allocations: 13.12 kB / 0.7346 GB, free: 108.7 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.512e-05/0.4336, allocations: 13.45 kB / 0.7346 GB, free: 108.7 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.148e-06/0.4336, allocations: 6.609 kB / 0.7346 GB, free: 108.7 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00795/0.4416, allocations: 6.713 MB / 0.7411 GB, free: 106 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.404e-06/0.4416, allocations: 8.469 kB / 0.7412 GB, free: 106 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004398/0.442, allocations: 183.7 kB / 0.7413 GB, free: 106 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001334/0.4433, allocations: 0.8222 MB / 0.7421 GB, free: 105.7 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.374e-05/0.4434, allocations: 27.03 kB / 0.7422 GB, free: 105.7 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01005/0.4534, allocations: 20.57 MB / 0.7622 GB, free: 88.14 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.669e-06/0.4534, allocations: 9.5 kB / 0.7623 GB, free: 88.14 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003442/0.4569, allocations: 3.003 MB / 0.7652 GB, free: 86.7 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006713/0.4576, allocations: 388.6 kB / 0.7656 GB, free: 86.5 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001206/0.4577, allocations: 34.31 kB / 0.7656 GB, free: 86.47 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004868/0.4582, allocations: 70.97 kB / 0.7657 GB, free: 86.46 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003552/0.4585, allocations: 133.1 kB / 0.7658 GB, free: 86.43 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.301e-05/0.4586, allocations: 37.41 kB / 0.7658 GB, free: 86.42 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0008772/0.4595, allocations: 0.9744 MB / 0.7668 GB, free: 86.02 MB / 0.6355 GB Notification: Performance of sort global known variables: time 2.1e-07/0.4595, allocations: 0 / 0.7668 GB, free: 86.02 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.002092/0.4615, allocations: 0.7931 MB / 0.7676 GB, free: 85.96 MB / 0.6355 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.002794/0.4643, allocations: 3.594 MB / 0.7711 GB, free: 83.97 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.003155/0.4675, allocations: 3.912 MB / 0.7749 GB, free: 81.66 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 5.831e-06/0.4675, allocations: 0 / 0.7749 GB, free: 81.66 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.001973/0.4695, allocations: 2.665 MB / 0.7775 GB, free: 79.8 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002/0.4715, allocations: 0.7402 MB / 0.7782 GB, free: 79.56 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02164/0.4931, allocations: 22.51 MB / 0.8002 GB, free: 58.66 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001798/0.4949, allocations: 2.561 MB / 0.8027 GB, free: 56.07 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0009586/0.4959, allocations: 450 kB / 0.8031 GB, free: 55.62 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008447/0.4967, allocations: 1.543 MB / 0.8046 GB, free: 54.08 MB / 0.6355 GB Notification: Performance of SimCode: time 1.513e-06/0.4967, allocations: 0 / 0.8046 GB, free: 54.08 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0836/0.5803, allocations: 65.73 MB / 0.8688 GB, free: 5.316 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.467/9.047, allocations: 11.92 kB / 0.8688 GB, free: 5.305 MB / 0.6511 GB " [Timeout remaining time 651] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 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: 11.700103779323399] Failed to read output from testmodel.py, exit status != 0: 9.152529758401215 9.163813851 9.078759452 Calling exit ...