Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.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.0007415/0.0007415, 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.0007468/0.0007468, allocations: 174.3 kB / 23.21 MB, free: 1.352 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.8725/0.8725, allocations: 177.1 MB / 203.5 MB, free: 5.746 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.5634/0.5634, allocations: 114 MB / 373.9 MB, free: 8.699 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_RLC,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.403e-06/1.403e-06, allocations: 0 / 0.5542 GB, free: 2.746 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.608e-05/1.748e-05, allocations: 4.672 kB / 0.5542 GB, free: 2.742 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC): time 0.02563/0.02565, allocations: 35.02 MB / 0.5884 GB, free: 15.61 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.01593/0.04158, allocations: 13 MB / 0.6011 GB, free: 2.582 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002877/0.04446, allocations: 226.2 kB / 0.6013 GB, free: 2.359 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.004621/0.04908, allocations: 3.907 MB / 0.6051 GB, free: 14.44 MB / 0.573 GB Notification: Performance of NFTyping.typeBindings: time 0.004735/0.05381, allocations: 2.695 MB / 0.6078 GB, free: 11.73 MB / 0.573 GB Notification: Performance of NFTyping.typeClassSections: time 0.004502/0.05832, allocations: 2.761 MB / 0.6105 GB, free: 8.973 MB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 0.00863/0.06695, allocations: 9.788 MB / 0.62 GB, free: 15.15 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006107/0.07305, allocations: 5.524 MB / 0.6254 GB, free: 9.504 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005953/0.07901, allocations: 5.73 MB / 0.631 GB, free: 3.762 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003825/0.08283, allocations: 4.123 MB / 0.635 GB, free: 15.63 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.0007695/0.0836, allocations: 0.7695 MB / 0.6358 GB, free: 14.86 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0021/0.0857, allocations: 1.685 MB / 0.6374 GB, free: 13.17 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.00183/0.08753, allocations: 3.242 MB / 0.6406 GB, free: 9.922 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.00232/0.08985, allocations: 2.511 MB / 0.643 GB, free: 7.406 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.008598/0.09845, allocations: 12.07 MB / 0.6548 GB, free: 11.3 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 7.193e-06/0.09846, allocations: 4 kB / 0.6548 GB, free: 11.29 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.405e-06/0.09846, allocations: 0 / 0.6548 GB, free: 11.29 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 0.000255/0.09871, allocations: 4 kB / 0.6548 GB, free: 11.29 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1394 * Number of variables: 1394 Notification: Performance of Generate backend data structure: time 0.007997/0.1067, allocations: 6.369 MB / 0.6611 GB, free: 4.855 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.173e-05/0.1068, allocations: 16.62 kB / 0.6611 GB, free: 4.84 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006641/0.1074, allocations: 0.7519 MB / 0.6618 GB, free: 4.078 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003702/0.1111, allocations: 1.347 MB / 0.6631 GB, free: 2.727 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004129/0.1152, allocations: 3.725 MB / 0.6668 GB, free: 14.91 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001708/0.1154, allocations: 378.4 kB / 0.6671 GB, free: 14.54 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005149/0.1159, allocations: 0.4964 MB / 0.6676 GB, free: 14.05 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008825/0.1248, allocations: 9.639 MB / 0.677 GB, free: 3.871 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.428e-05/0.1248, allocations: 35.91 kB / 0.6771 GB, free: 3.836 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003707/0.1252, allocations: 224.1 kB / 0.6773 GB, free: 3.617 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001032/0.1262, allocations: 0.6304 MB / 0.6779 GB, free: 2.984 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.264/0.3903, allocations: 6.999 MB / 0.6847 GB, free: 148.6 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02235/0.4126, allocations: 27.56 MB / 0.7116 GB, free: 131.6 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00202/0.4146, allocations: 2.636 MB / 0.7142 GB, free: 130.5 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001861/0.4165, allocations: 2.416 MB / 0.7166 GB, free: 129.6 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001366/0.4166, allocations: 28.59 kB / 0.7166 GB, free: 129.6 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.653e-05/0.4167, allocations: 66.28 kB / 0.7167 GB, free: 129.5 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=265): time 4.078e-06/0.4167, allocations: 0 / 0.7167 GB, free: 129.5 MB / 0.6355 GB Notification: Performance of matching and sorting (n=424): time 0.1364/0.553, allocations: 72.92 MB / 0.7879 GB, free: 79.91 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.708e-05/0.5531, allocations: 102.7 kB / 0.788 GB, free: 79.8 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001891/0.555, allocations: 2.397 MB / 0.7903 GB, free: 77.43 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0002067/0.5552, allocations: 95.86 kB / 0.7904 GB, free: 77.33 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006314/0.5558, allocations: 2.398 MB / 0.7927 GB, free: 75.1 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005927/0.5564, allocations: 1.489 MB / 0.7942 GB, free: 73.63 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007809/0.5572, allocations: 0.7217 MB / 0.7949 GB, free: 72.89 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 2.846e-05/0.5572, allocations: 305.1 kB / 0.7952 GB, free: 72.59 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002456/0.5597, allocations: 2.999 MB / 0.7981 GB, free: 69.59 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002804/0.5625, allocations: 3.843 MB / 0.8019 GB, free: 65.41 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00558/0.5681, allocations: 7.384 MB / 0.8091 GB, free: 57.71 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.247e-05/0.5681, allocations: 12 kB / 0.8091 GB, free: 57.7 MB / 0.6355 GB Notification: Performance of matching and sorting (n=551) (initialization): time 0.01637/0.5844, allocations: 12.39 MB / 0.8212 GB, free: 45.21 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 3.108e-05/0.5845, allocations: 12 kB / 0.8212 GB, free: 45.2 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.164e-05/0.5845, allocations: 27.94 kB / 0.8212 GB, free: 45.17 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01169/0.5962, allocations: 6.019 MB / 0.8271 GB, free: 39.09 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001234/0.5974, allocations: 495.2 kB / 0.8276 GB, free: 38.6 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04793/0.6453, allocations: 69.68 MB / 0.8956 GB, free: 14.23 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003389/0.6487, allocations: 215.8 kB / 0.8958 GB, free: 14.02 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003595/0.6491, allocations: 159.9 kB / 0.896 GB, free: 13.86 MB / 0.6823 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 (269): * Single equations (assignments): 245 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 24 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 24 systems {(2,2,100.0%), (1,1,100.0%), (2,2,100.0%), (1,1,100.0%), (2,2,100.0%), (1,1,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%), (2,8,100.0%), (2,16,100.0%), (3,15,100.0%), (2,8,100.0%), (2,8,100.0%), (2,16,100.0%), (3,15,100.0%), (2,8,100.0%), (2,8,100.0%), (2,16,100.0%), (3,15,100.0%), (2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004009/0.6531, allocations: 1.996 MB / 0.8979 GB, free: 11.85 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007485/0.6538, allocations: 413.5 kB / 0.8983 GB, free: 11.45 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01686/0.6707, allocations: 12.04 MB / 0.9101 GB, free: 15.29 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-05/0.6707, allocations: 40 kB / 0.9101 GB, free: 15.25 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.997e-05/0.6708, allocations: 48 kB / 0.9102 GB, free: 15.21 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.257e-05/0.6708, allocations: 27.84 kB / 0.9102 GB, free: 15.18 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02275/0.6936, allocations: 17.93 MB / 0.9277 GB, free: 13.07 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.13e-05/0.6936, allocations: 8 kB / 0.9277 GB, free: 13.06 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007212/0.6943, allocations: 283.6 kB / 0.928 GB, free: 12.79 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009872/0.7042, allocations: 5.561 MB / 0.9334 GB, free: 7.16 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001979/0.7044, allocations: 80 kB / 0.9335 GB, free: 7.082 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.295/0.9993, allocations: 67.29 MB / 0.9992 GB, free: 193.4 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.028e-06/0.9994, allocations: 10.31 kB / 0.9992 GB, free: 193.4 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01801/1.017, allocations: 15.44 MB / 1.014 GB, free: 187 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001923/1.019, allocations: 0.9879 MB / 1.015 GB, free: 186.6 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003355/1.02, allocations: 87.23 kB / 1.015 GB, free: 186.6 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001288/1.021, allocations: 217.3 kB / 1.016 GB, free: 186.5 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001211/1.022, allocations: 423.3 kB / 1.016 GB, free: 186.4 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001973/1.022, allocations: 109.4 kB / 1.016 GB, free: 186.4 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.001902/1.024, allocations: 1.557 MB / 1.018 GB, free: 185.8 MB / 0.7292 GB Notification: Performance of sort global known variables: time 7e-08/1.024, allocations: 0 / 1.018 GB, free: 185.8 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.004546/1.029, allocations: 1.86 MB / 1.019 GB, free: 185.6 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * Number of states: 6 (RLCLine_sc.phase1.Vc[1],RLCLine_sc.phase1.Vc[2],RLCLine_sc.phase2.Vc[1],RLCLine_sc.phase2.Vc[2],RLCLine_sc.phase3.Vc[1],RLCLine_sc.phase3.Vc[2]) * 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 (145): * Single equations (assignments): 121 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 24 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 24 systems {(2,8,100.0%), (2,8,100.0%), (2,8,100.0%), (3,15,100.0%), (3,15,100.0%), (3,15,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,15,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01965/1.048, allocations: 16.1 MB / 1.035 GB, free: 178.5 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.01316/1.062, allocations: 11.59 MB / 1.046 GB, free: 172.3 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.192e-05/1.062, allocations: 3.938 kB / 1.046 GB, free: 172.3 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.008199/1.07, allocations: 8.098 MB / 1.054 GB, free: 167.4 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004095/1.074, allocations: 1.205 MB / 1.056 GB, free: 167 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06263/1.137, allocations: 53.8 MB / 1.108 GB, free: 115.3 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003373/1.14, allocations: 3.567 MB / 1.112 GB, free: 111.7 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.001577/1.141, allocations: 0.6747 MB / 1.112 GB, free: 111 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001332/1.143, allocations: 2.133 MB / 1.114 GB, free: 108.9 MB / 0.7292 GB Notification: Performance of SimCode: time 1.403e-06/1.143, allocations: 3.938 kB / 1.114 GB, free: 108.9 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.406/1.549, allocations: 161.1 MB / 1.272 GB, free: 218.1 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.75/13.3, allocations: 7.109 kB / 1.272 GB, free: 218.1 MB / 0.7448 GB " [Timeout remaining time 647] (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC.fmu > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.032742747105658] Failed to read output from testmodel.py, exit status != 0: 13.440840488299727 13.448012203 13.347894536 Calling exit ...