Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_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.001322/0.001322, allocations: 105 kB / 20.48 MB, free: 1.488 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.002322/0.002322, allocations: 215.2 kB / 23.79 MB, free: 4.703 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.57/1.57, allocations: 230.6 MB / 257.6 MB, free: 8.027 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.015/1.015, allocations: 150 MB / 464 MB, free: 10.49 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_N,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_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.002037/0.002037, allocations: 69.86 kB / 0.6421 GB, free: 10.39 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1663/0.1683, allocations: 89.16 MB / 0.7291 GB, free: 1.301 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N): time 0.4369/0.6052, allocations: 36.66 MB / 0.7649 GB, free: 15.75 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.02012/0.6253, allocations: 11.97 MB / 0.7766 GB, free: 15.64 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005299/0.6306, allocations: 210.6 kB / 0.7768 GB, free: 15.64 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.01229/0.6429, allocations: 4.445 MB / 0.7812 GB, free: 14.82 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.009529/0.6524, allocations: 2.089 MB / 0.7832 GB, free: 14.19 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.009614/0.6621, allocations: 2.474 MB / 0.7856 GB, free: 12.93 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.01629/0.6784, allocations: 8.466 MB / 0.7939 GB, free: 9.48 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01425/0.6926, allocations: 6.236 MB / 0.8 GB, free: 6.512 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008707/0.7013, allocations: 3.844 MB / 0.8037 GB, free: 4.75 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00913/0.7104, allocations: 4.421 MB / 0.808 GB, free: 2.281 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.004535/0.715, allocations: 0.7794 MB / 0.8088 GB, free: 2.281 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01134/0.7263, allocations: 2.068 MB / 0.8108 GB, free: 1.57 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.009791/0.7361, allocations: 3.14 MB / 0.8139 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.01225/0.7484, allocations: 3.407 MB / 0.8172 GB, free: 13.14 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.02345/0.7718, allocations: 12.01 MB / 0.8289 GB, free: 4.352 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 1.152e-05/0.7718, allocations: 0 / 0.8289 GB, free: 4.352 MB / 0.5919 GB Notification: Performance of FrontEnd: time 3.036e-06/0.7718, allocations: 0 / 0.8289 GB, free: 4.352 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.0006562/0.7725, allocations: 0 / 0.8289 GB, free: 4.352 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: 1488 * Number of variables: 1488 Notification: Performance of Generate backend data structure: time 0.0246/0.7971, allocations: 5.863 MB / 0.8347 GB, free: 14.43 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 7.007e-05/0.7972, allocations: 12.03 kB / 0.8347 GB, free: 14.41 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0002485/0.7974, allocations: 148 kB / 0.8348 GB, free: 14.27 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003266/0.8007, allocations: 0.8051 MB / 0.8356 GB, free: 13.45 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007866/0.8085, allocations: 1.086 MB / 0.8367 GB, free: 12.36 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008926/0.8175, allocations: 3.419 MB / 0.84 GB, free: 8.879 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004461/0.8179, allocations: 411.9 kB / 0.8404 GB, free: 8.477 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003313/0.8212, allocations: 0.5393 MB / 0.8409 GB, free: 7.938 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02735/0.8486, allocations: 9.091 MB / 0.8498 GB, free: 14.53 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003052/0.8489, allocations: 23.78 kB / 0.8498 GB, free: 14.5 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002353/0.8512, allocations: 240 kB / 0.8501 GB, free: 14.27 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000467/0.8517, allocations: 346.8 kB / 0.8504 GB, free: 13.93 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01735/0.869, allocations: 6.826 MB / 0.8571 GB, free: 7.094 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05523/0.9243, allocations: 39.51 MB / 0.8956 GB, free: 11.88 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003753/0.928, allocations: 2.303 MB / 0.8979 GB, free: 9.586 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002767/0.9308, allocations: 1.771 MB / 0.8996 GB, free: 7.816 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 9.398e-05/0.9309, allocations: 29.92 kB / 0.8996 GB, free: 7.789 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.777e-05/0.9309, allocations: 54.81 kB / 0.8997 GB, free: 7.727 MB / 0.67 GB Notification: Performance of pre-optimization done (n=179): time 3.236e-06/0.9309, allocations: 0 / 0.8997 GB, free: 7.727 MB / 0.67 GB Notification: Performance of matching and sorting (n=182): time 0.02657/0.9575, allocations: 9.681 MB / 0.9092 GB, free: 14.03 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.373e-05/0.9576, allocations: 73.41 kB / 0.9092 GB, free: 13.95 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002703/0.9603, allocations: 1.523 MB / 0.9107 GB, free: 12.38 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0002143/0.9605, allocations: 61.7 kB / 0.9108 GB, free: 12.31 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.001728/0.9622, allocations: 2.324 MB / 0.913 GB, free: 9.965 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007142/0.9629, allocations: 0.6623 MB / 0.9137 GB, free: 9.297 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006803/0.9636, allocations: 408.1 kB / 0.9141 GB, free: 8.891 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001264/0.9637, allocations: 307.1 kB / 0.9144 GB, free: 8.59 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001801/0.9655, allocations: 1.179 MB / 0.9155 GB, free: 7.406 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002477/0.968, allocations: 1.881 MB / 0.9174 GB, free: 5.203 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0048/0.9728, allocations: 3.378 MB / 0.9207 GB, free: 1.523 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.997e-05/0.9728, allocations: 8 kB / 0.9207 GB, free: 1.516 MB / 0.6856 GB Notification: Performance of matching and sorting (n=285) (initialization): time 0.008542/0.9814, allocations: 4.539 MB / 0.9251 GB, free: 12.95 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 3.435e-05/0.9814, allocations: 12 kB / 0.9251 GB, free: 12.94 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.089e-05/0.9815, allocations: 28 kB / 0.9251 GB, free: 12.91 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004011/0.9855, allocations: 1.573 MB / 0.9267 GB, free: 11.33 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00134/0.9868, allocations: 355.3 kB / 0.927 GB, free: 10.98 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02704/1.014, allocations: 18.2 MB / 0.9448 GB, free: 8.332 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002249/1.016, allocations: 123.8 kB / 0.9449 GB, free: 8.215 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004347/1.017, allocations: 92 kB / 0.945 GB, free: 8.125 MB / 0.7169 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 (177): * 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: 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 {(12,26,30.6%), (6,24,66.7%), (6,16,66.7%), (6,16,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004377/1.021, allocations: 1.898 MB / 0.9468 GB, free: 6.215 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007648/1.022, allocations: 234.5 kB / 0.9471 GB, free: 5.984 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008693/1.03, allocations: 4.039 MB / 0.951 GB, free: 1.918 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.698e-05/1.03, allocations: 16 kB / 0.951 GB, free: 1.902 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.196e-05/1.03, allocations: 19.98 kB / 0.951 GB, free: 1.883 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.219e-05/1.03, allocations: 11.91 kB / 0.9511 GB, free: 1.871 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02193/1.052, allocations: 9.398 MB / 0.9602 GB, free: 8.227 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.686e-05/1.052, allocations: 4.562 kB / 0.9602 GB, free: 8.223 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009308/1.053, allocations: 187.7 kB / 0.9604 GB, free: 8.039 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003774/1.057, allocations: 1.353 MB / 0.9617 GB, free: 6.676 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002097/1.057, allocations: 36 kB / 0.9618 GB, free: 6.641 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02408/1.081, allocations: 16.96 MB / 0.9783 GB, free: 5.23 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.186e-05/1.081, allocations: 7.938 kB / 0.9783 GB, free: 5.223 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008104/1.09, allocations: 4.04 MB / 0.9823 GB, free: 1.09 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001661/1.091, allocations: 478.3 kB / 0.9827 GB, free: 0.6211 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006667/1.092, allocations: 36 kB / 0.9828 GB, free: 0.5859 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001465/1.093, allocations: 87.89 kB / 0.9829 GB, free: 0.5 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006549/1.094, allocations: 177.5 kB / 0.983 GB, free: 336 kB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001912/1.094, allocations: 48 kB / 0.9831 GB, free: 288 kB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.00204/1.096, allocations: 1.001 MB / 0.984 GB, free: 15.26 MB / 0.7637 GB Notification: Performance of sort global known variables: time 1.1e-07/1.096, allocations: 0 / 0.984 GB, free: 15.26 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.003878/1.1, allocations: 0.9921 MB / 0.985 GB, free: 14.27 MB / 0.7637 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 (85): * Single equations (assignments): 81 * 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 {(6,16,66.7%), (6,16,66.7%), (6,24,66.7%), (6,24,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.008132/1.108, allocations: 4.622 MB / 0.9895 GB, free: 9.539 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.007697/1.116, allocations: 4.171 MB / 0.9936 GB, free: 5.324 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 8.496e-06/1.116, allocations: 0 / 0.9936 GB, free: 5.324 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.004872/1.121, allocations: 2.587 MB / 0.9961 GB, free: 2.684 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00475/1.126, allocations: 0.7819 MB / 0.9969 GB, free: 1.953 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04995/1.175, allocations: 27.02 MB / 1.023 GB, free: 5.855 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006085/1.182, allocations: 3.569 MB / 1.027 GB, free: 2.254 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.00159/1.183, allocations: 463.9 kB / 1.027 GB, free: 1.797 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002741/1.186, allocations: 1.796 MB / 1.029 GB, free: 0 / 0.795 GB Notification: Performance of SimCode: time 1.503e-06/1.186, allocations: 0 / 1.029 GB, free: 0 / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5251/1.711, allocations: 76.5 MB / 1.104 GB, free: 271.1 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.08/17.79, allocations: 3.766 kB / 1.104 GB, free: 271.1 MB / 0.8419 GB " [Timeout remaining time 642] (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N.fmu > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 22.327544359955937] Failed to read output from testmodel.py, exit status != 0: 17.99583736801287 18.020585829 17.243429051 Calling exit ...