Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_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.001287/0.001287, allocations: 97.91 kB / 20.48 MB, free: 1.363 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.001414/0.001414, allocations: 214.4 kB / 23.78 MB, free: 4.523 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.524/1.524, allocations: 230.6 MB / 257.5 MB, free: 7.797 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.9967/0.9967, allocations: 150 MB / 464 MB, free: 10.22 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_R_N,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N",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.002793/0.002793, allocations: 63.11 kB / 0.642 GB, free: 9.926 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1845/0.1873, allocations: 89.17 MB / 0.7291 GB, free: 0.8203 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N): time 0.4009/0.5882, allocations: 36.35 MB / 0.7646 GB, free: 14.77 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01789/0.6061, allocations: 11.09 MB / 0.7754 GB, free: 14.69 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004206/0.6103, allocations: 202.6 kB / 0.7756 GB, free: 14.69 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.01181/0.6221, allocations: 4.362 MB / 0.7798 GB, free: 13.84 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.008948/0.631, allocations: 2.335 MB / 0.7821 GB, free: 13.17 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.007022/0.6381, allocations: 2.182 MB / 0.7842 GB, free: 12.05 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.01413/0.6522, allocations: 9.285 MB / 0.7933 GB, free: 8.012 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01159/0.6638, allocations: 6.402 MB / 0.7996 GB, free: 4.801 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00936/0.6731, allocations: 4.129 MB / 0.8036 GB, free: 2.938 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008926/0.6821, allocations: 4.758 MB / 0.8082 GB, free: 236 kB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.003127/0.6852, allocations: 0.8214 MB / 0.809 GB, free: 236 kB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00597/0.6912, allocations: 1.505 MB / 0.8105 GB, free: 15.85 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.006959/0.6981, allocations: 3.227 MB / 0.8137 GB, free: 13.76 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.01077/0.7089, allocations: 2.972 MB / 0.8166 GB, free: 11.89 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.02121/0.7301, allocations: 12.41 MB / 0.8287 GB, free: 2.906 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 9.358e-06/0.7301, allocations: 6.781 kB / 0.8287 GB, free: 2.902 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.725e-06/0.7301, allocations: 0 / 0.8287 GB, free: 2.902 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.000722/0.7308, allocations: 0 / 0.8287 GB, free: 2.902 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: 1524 * Number of variables: 1524 Notification: Performance of Generate backend data structure: time 0.02544/0.7563, allocations: 6.396 MB / 0.8349 GB, free: 12.49 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.359e-05/0.7563, allocations: 8.031 kB / 0.8349 GB, free: 12.48 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0002069/0.7565, allocations: 151.6 kB / 0.8351 GB, free: 12.33 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003306/0.7598, allocations: 0.8333 MB / 0.8359 GB, free: 11.49 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007247/0.7671, allocations: 1.094 MB / 0.837 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008832/0.7759, allocations: 3.572 MB / 0.8405 GB, free: 6.758 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004306/0.7763, allocations: 428.2 kB / 0.8409 GB, free: 6.34 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00196/0.7783, allocations: 0.5394 MB / 0.8414 GB, free: 5.801 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02438/0.8027, allocations: 10.29 MB / 0.8514 GB, free: 10.95 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001799/0.8029, allocations: 19.83 kB / 0.8515 GB, free: 10.93 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001463/0.8043, allocations: 248 kB / 0.8517 GB, free: 10.69 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007143/0.805, allocations: 418.9 kB / 0.8521 GB, free: 10.28 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01702/0.8221, allocations: 7.127 MB / 0.8591 GB, free: 3.145 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04737/0.8694, allocations: 26.26 MB / 0.8847 GB, free: 8.258 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005035/0.8745, allocations: 2.898 MB / 0.8875 GB, free: 5.352 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0031/0.8776, allocations: 1.941 MB / 0.8894 GB, free: 3.414 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001133/0.8777, allocations: 22 kB / 0.8895 GB, free: 3.395 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.047e-05/0.8777, allocations: 60.56 kB / 0.8895 GB, free: 3.324 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=209): time 4.238e-06/0.8777, allocations: 0 / 0.8895 GB, free: 3.324 MB / 0.6544 GB Notification: Performance of matching and sorting (n=212): time 0.02623/0.904, allocations: 10.27 MB / 0.8995 GB, free: 9.043 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.034e-05/0.904, allocations: 77.41 kB / 0.8996 GB, free: 8.957 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00314/0.9072, allocations: 2.01 MB / 0.9016 GB, free: 6.93 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0003262/0.9075, allocations: 61.7 kB / 0.9016 GB, free: 6.863 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.001997/0.9095, allocations: 2.486 MB / 0.9041 GB, free: 4.352 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009223/0.9104, allocations: 0.7591 MB / 0.9048 GB, free: 3.586 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000893/0.9113, allocations: 485.5 kB / 0.9053 GB, free: 3.105 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.000156/0.9115, allocations: 301.1 kB / 0.9056 GB, free: 2.809 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00231/0.9138, allocations: 1.375 MB / 0.9069 GB, free: 1.43 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002961/0.9167, allocations: 2.104 MB / 0.909 GB, free: 15.01 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005516/0.9223, allocations: 3.764 MB / 0.9126 GB, free: 10.94 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.082e-05/0.9223, allocations: 11.94 kB / 0.9126 GB, free: 10.93 MB / 0.6856 GB Notification: Performance of matching and sorting (n=339) (initialization): time 0.009134/0.9314, allocations: 5.027 MB / 0.9175 GB, free: 5.875 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 3.673e-05/0.9314, allocations: 16 kB / 0.9176 GB, free: 5.859 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.028e-05/0.9315, allocations: 20 kB / 0.9176 GB, free: 5.84 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00379/0.9353, allocations: 1.581 MB / 0.9191 GB, free: 4.254 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001782/0.9371, allocations: 459.2 kB / 0.9196 GB, free: 3.805 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02466/0.9617, allocations: 17.91 MB / 0.9371 GB, free: 1.449 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002532/0.9642, allocations: 147.9 kB / 0.9372 GB, free: 1.305 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003421/0.9646, allocations: 108 kB / 0.9373 GB, free: 1.199 MB / 0.7012 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 (231): * Single equations (assignments): 227 * 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 {(7,31,57.1%), (6,24,66.7%), (4,18,100.0%), (4,18,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003874/0.9685, allocations: 1.941 MB / 0.9392 GB, free: 15.25 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006981/0.9692, allocations: 302.2 kB / 0.9395 GB, free: 14.95 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007946/0.9771, allocations: 4.408 MB / 0.9438 GB, free: 10.51 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.618e-05/0.9771, allocations: 20 kB / 0.9438 GB, free: 10.49 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.506e-05/0.9772, allocations: 16 kB / 0.9438 GB, free: 10.48 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.743e-05/0.9772, allocations: 15.91 kB / 0.9438 GB, free: 10.46 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01815/0.9953, allocations: 9.16 MB / 0.9528 GB, free: 1.156 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.331e-05/0.9954, allocations: 4.562 kB / 0.9528 GB, free: 1.152 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001114/0.9965, allocations: 231.6 kB / 0.953 GB, free: 0.9258 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003738/1, allocations: 1.427 MB / 0.9544 GB, free: 15.49 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002633/1, allocations: 47.92 kB / 0.9544 GB, free: 15.44 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02518/1.026, allocations: 17.9 MB / 0.9719 GB, free: 13.09 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.176e-06/1.026, allocations: 8.031 kB / 0.9719 GB, free: 13.08 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008279/1.034, allocations: 4.507 MB / 0.9763 GB, free: 8.488 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002014/1.036, allocations: 0.576 MB / 0.9769 GB, free: 7.91 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005937/1.037, allocations: 44.25 kB / 0.9769 GB, free: 7.867 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001386/1.038, allocations: 111.9 kB / 0.977 GB, free: 7.758 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006269/1.039, allocations: 197.5 kB / 0.9772 GB, free: 7.562 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001548/1.039, allocations: 60 kB / 0.9773 GB, free: 7.504 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.002184/1.041, allocations: 1.311 MB / 0.9786 GB, free: 6.184 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.11e-07/1.041, allocations: 0 / 0.9786 GB, free: 6.184 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.004242/1.045, allocations: 1.145 MB / 0.9797 GB, free: 5.039 MB / 0.7481 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 (107): * Single equations (assignments): 103 * 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 {(4,18,100.0%), (6,24,66.7%), (4,18,100.0%), (6,32,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.009133/1.054, allocations: 5.13 MB / 0.9847 GB, free: 15.81 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.009369/1.064, allocations: 4.535 MB / 0.9891 GB, free: 11.22 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 1.908e-05/1.064, allocations: 4 kB / 0.9891 GB, free: 11.22 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.005957/1.07, allocations: 2.809 MB / 0.9919 GB, free: 8.363 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006063/1.076, allocations: 0.8905 MB / 0.9927 GB, free: 7.504 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06485/1.141, allocations: 30.56 MB / 1.023 GB, free: 7.738 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006689/1.147, allocations: 3.159 MB / 1.026 GB, free: 4.543 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.002338/1.15, allocations: 0.5595 MB / 1.026 GB, free: 3.977 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003363/1.153, allocations: 1.948 MB / 1.028 GB, free: 2.027 MB / 0.795 GB Notification: Performance of SimCode: time 1.122e-06/1.153, allocations: 0 / 1.028 GB, free: 2.027 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5566/1.709, allocations: 91.01 MB / 1.117 GB, free: 271.5 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.85/19.56, allocations: 6.625 kB / 1.117 GB, free: 271.5 MB / 0.8419 GB " [Timeout remaining time 640] (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N.fmu > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 24.153097165981308] Failed to read output from testmodel.py, exit status != 0: 19.769111572997645 19.77970866 19.04667234 Calling exit ...