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.001312/0.001312, allocations: 115.2 kB / 19.7 MB, free: 2.207 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.002325/0.002325, allocations: 217.7 kB / 23 MB, free: 5.074 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.542/1.542, allocations: 230.6 MB / 256.8 MB, free: 8.023 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.9703/0.9703, allocations: 150 MB / 463.2 MB, free: 10.48 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="me",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="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.002001/0.002001, allocations: 61.78 kB / 0.6413 GB, free: 10.37 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1843/0.1863, allocations: 89.18 MB / 0.7284 GB, free: 1.246 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N): time 0.4158/0.6021, allocations: 36.64 MB / 0.7642 GB, free: 15.23 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01809/0.6202, allocations: 11.97 MB / 0.7758 GB, free: 15.13 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003765/0.624, allocations: 212.1 kB / 0.7761 GB, free: 15.11 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.01158/0.6355, allocations: 4.459 MB / 0.7804 GB, free: 14.29 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.008385/0.6439, allocations: 2.082 MB / 0.7824 GB, free: 13.74 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.009399/0.6533, allocations: 2.47 MB / 0.7849 GB, free: 12.75 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.01465/0.668, allocations: 8.467 MB / 0.7931 GB, free: 9.305 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01487/0.6828, allocations: 6.243 MB / 0.7992 GB, free: 6.293 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008163/0.691, allocations: 3.847 MB / 0.803 GB, free: 4.531 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008846/0.6999, allocations: 4.42 MB / 0.8073 GB, free: 2.066 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.003476/0.7033, allocations: 0.7792 MB / 0.808 GB, free: 2.066 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006569/0.7099, allocations: 2.067 MB / 0.8101 GB, free: 1.355 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.005677/0.7156, allocations: 3.139 MB / 0.8131 GB, free: 15.34 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.009246/0.7248, allocations: 3.404 MB / 0.8165 GB, free: 12.93 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.01983/0.7447, allocations: 12.01 MB / 0.8282 GB, free: 4.168 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.7447, allocations: 0 / 0.8282 GB, free: 4.168 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.603e-06/0.7447, allocations: 4 kB / 0.8282 GB, free: 4.164 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.0003919/0.7451, allocations: 0 / 0.8282 GB, free: 4.164 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.01825/0.7633, allocations: 5.863 MB / 0.8339 GB, free: 14.24 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.996e-05/0.7634, allocations: 12.03 kB / 0.8339 GB, free: 14.23 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003354/0.7667, allocations: 0.809 MB / 0.8347 GB, free: 13.41 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007808/0.7745, allocations: 1.083 MB / 0.8358 GB, free: 12.32 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01039/0.7849, allocations: 3.415 MB / 0.8391 GB, free: 8.84 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000441/0.7854, allocations: 411.5 kB / 0.8395 GB, free: 8.438 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002183/0.7875, allocations: 0.5393 MB / 0.84 GB, free: 7.898 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02143/0.809, allocations: 9.082 MB / 0.8489 GB, free: 14.5 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002622/0.8092, allocations: 40.66 kB / 0.8489 GB, free: 14.46 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001571/0.8108, allocations: 232 kB / 0.8492 GB, free: 14.23 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004478/0.8113, allocations: 346.8 kB / 0.8495 GB, free: 13.89 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01526/0.8265, allocations: 6.826 MB / 0.8562 GB, free: 7.055 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05592/0.8824, allocations: 39.5 MB / 0.8947 GB, free: 11.85 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004122/0.8866, allocations: 2.308 MB / 0.897 GB, free: 9.551 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002912/0.8895, allocations: 1.779 MB / 0.8987 GB, free: 7.777 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001457/0.8896, allocations: 25.98 kB / 0.8988 GB, free: 7.754 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.693e-05/0.8897, allocations: 48.56 kB / 0.8988 GB, free: 7.695 MB / 0.67 GB Notification: Performance of pre-optimization done (n=179): time 3.837e-06/0.8897, allocations: 0 / 0.8988 GB, free: 7.695 MB / 0.67 GB Notification: Performance of matching and sorting (n=182): time 0.02748/0.9171, allocations: 9.689 MB / 0.9083 GB, free: 13.99 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.116e-05/0.9172, allocations: 69.41 kB / 0.9083 GB, free: 13.91 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002496/0.9197, allocations: 1.53 MB / 0.9098 GB, free: 12.34 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0002127/0.9199, allocations: 53.7 kB / 0.9099 GB, free: 12.28 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.001715/0.9216, allocations: 2.324 MB / 0.9121 GB, free: 9.934 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007426/0.9224, allocations: 0.6623 MB / 0.9128 GB, free: 9.266 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007072/0.9231, allocations: 408.1 kB / 0.9132 GB, free: 8.859 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001252/0.9232, allocations: 309.1 kB / 0.9135 GB, free: 8.555 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001852/0.9251, allocations: 1.179 MB / 0.9146 GB, free: 7.371 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002502/0.9276, allocations: 1.885 MB / 0.9165 GB, free: 5.164 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004823/0.9324, allocations: 3.364 MB / 0.9197 GB, free: 1.496 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.777e-05/0.9324, allocations: 4 kB / 0.9198 GB, free: 1.492 MB / 0.6856 GB Notification: Performance of matching and sorting (n=285) (initialization): time 0.008778/0.9412, allocations: 4.543 MB / 0.9242 GB, free: 12.93 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 4.872e-05/0.9412, allocations: 20.03 kB / 0.9242 GB, free: 12.91 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.048e-05/0.9413, allocations: 20 kB / 0.9242 GB, free: 12.89 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004237/0.9455, allocations: 1.575 MB / 0.9258 GB, free: 11.3 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001366/0.9469, allocations: 355.3 kB / 0.9261 GB, free: 10.96 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02651/0.9734, allocations: 18.19 MB / 0.9439 GB, free: 8.312 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001869/0.9752, allocations: 123.9 kB / 0.944 GB, free: 8.191 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003412/0.9756, allocations: 92 kB / 0.9441 GB, free: 8.102 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.003758/0.9793, allocations: 1.898 MB / 0.9459 GB, free: 6.191 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005975/0.9799, allocations: 234.5 kB / 0.9462 GB, free: 5.961 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008119/0.9881, allocations: 4.043 MB / 0.9501 GB, free: 1.891 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.102e-05/0.9881, allocations: 16 kB / 0.9501 GB, free: 1.875 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-05/0.9881, allocations: 20 kB / 0.9501 GB, free: 1.855 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-05/0.9881, allocations: 11.91 kB / 0.9501 GB, free: 1.844 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01888/1.007, allocations: 9.394 MB / 0.9593 GB, free: 8.203 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.341e-05/1.007, allocations: 8 kB / 0.9593 GB, free: 8.195 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008418/1.008, allocations: 183.7 kB / 0.9595 GB, free: 8.016 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00362/1.012, allocations: 1.352 MB / 0.9608 GB, free: 6.656 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001541/1.012, allocations: 32 kB / 0.9609 GB, free: 6.625 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02416/1.036, allocations: 16.97 MB / 0.9774 GB, free: 5.199 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.736e-06/1.036, allocations: 7.938 kB / 0.9774 GB, free: 5.191 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008101/1.044, allocations: 4.04 MB / 0.9814 GB, free: 1.059 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001736/1.046, allocations: 478.3 kB / 0.9818 GB, free: 0.5898 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006912/1.046, allocations: 40.12 kB / 0.9819 GB, free: 0.5508 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001474/1.048, allocations: 87.89 kB / 0.982 GB, free: 476 kB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006961/1.049, allocations: 169.5 kB / 0.9821 GB, free: 308 kB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001537/1.049, allocations: 48 kB / 0.9822 GB, free: 260 kB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.00219/1.051, allocations: 1.008 MB / 0.9832 GB, free: 15.22 MB / 0.7637 GB Notification: Performance of sort global known variables: time 1.1e-07/1.051, allocations: 0 / 0.9832 GB, free: 15.22 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.003942/1.055, allocations: 0.9882 MB / 0.9841 GB, free: 14.23 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.007852/1.063, allocations: 4.634 MB / 0.9886 GB, free: 9.496 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.00767/1.07, allocations: 4.158 MB / 0.9927 GB, free: 5.293 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 7.975e-06/1.07, allocations: 0 / 0.9927 GB, free: 5.293 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.004844/1.075, allocations: 2.588 MB / 0.9952 GB, free: 2.652 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00371/1.079, allocations: 0.7823 MB / 0.996 GB, free: 1.914 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05163/1.131, allocations: 27.01 MB / 1.022 GB, free: 5.828 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006708/1.137, allocations: 3.569 MB / 1.026 GB, free: 2.227 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.001789/1.139, allocations: 467.9 kB / 1.026 GB, free: 1.766 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003023/1.142, allocations: 1.796 MB / 1.028 GB, free: 15.96 MB / 0.8106 GB Notification: Performance of SimCode: time 8.91e-07/1.142, allocations: 0 / 1.028 GB, free: 15.96 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5392/1.681, allocations: 76.47 MB / 1.103 GB, free: 278 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.75/17.43, allocations: 1.094 kB / 1.103 GB, free: 278 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: 21.637455474119633] Failed to read output from testmodel.py, exit status != 0: 17.578690795926377 17.604343442 16.854662599 Calling exit ...