Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_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.001403/0.001403, allocations: 118 kB / 17.84 MB, free: 5.234 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.001327/0.001327, allocations: 203.9 kB / 20.79 MB, free: 2.297 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.496/1.496, allocations: 230.6 MB / 254.2 MB, free: 15.12 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.9767/0.9767, allocations: 150 MB / 460.2 MB, free: 5.332 MB / 350.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_N,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_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.002015/0.002015, allocations: 71.94 kB / 0.6368 GB, free: 30.45 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1567/0.1587, allocations: 89.14 MB / 0.7239 GB, free: 4.066 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N): time 0.04212/0.2008, allocations: 33.84 MB / 0.7569 GB, free: 2.109 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.02516/0.226, allocations: 15 MB / 0.7716 GB, free: 3.074 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00397/0.2299, allocations: 206.4 kB / 0.7717 GB, free: 2.871 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0102/0.2401, allocations: 3.715 MB / 0.7754 GB, free: 15.14 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.008491/0.2486, allocations: 2.986 MB / 0.7783 GB, free: 12.14 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.006919/0.2555, allocations: 2.34 MB / 0.7806 GB, free: 9.805 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.01324/0.2688, allocations: 8.811 MB / 0.7892 GB, free: 0.9648 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01479/0.2836, allocations: 7.223 MB / 0.7962 GB, free: 9.625 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009583/0.2931, allocations: 4.063 MB / 0.8002 GB, free: 5.551 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007906/0.3011, allocations: 4.264 MB / 0.8044 GB, free: 1.273 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.002878/0.3039, allocations: 0.7188 MB / 0.8051 GB, free: 0.5547 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005219/0.3091, allocations: 1.751 MB / 0.8068 GB, free: 14.8 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.004606/0.3138, allocations: 2.891 MB / 0.8096 GB, free: 11.9 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.007112/0.3209, allocations: 3.392 MB / 0.8129 GB, free: 8.496 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.0174/0.3383, allocations: 11.22 MB / 0.8239 GB, free: 13.24 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 6.973e-06/0.3383, allocations: 0 / 0.8239 GB, free: 13.24 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.245e-06/0.3383, allocations: 4 kB / 0.8239 GB, free: 13.24 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 0.0003704/0.3386, allocations: 3.938 kB / 0.8239 GB, free: 13.23 MB / 0.6387 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1338 * Number of variables: 1338 Notification: Performance of Generate backend data structure: time 0.01617/0.3548, allocations: 6.14 MB / 0.8299 GB, free: 7.008 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.066e-05/0.3549, allocations: 8.031 kB / 0.8299 GB, free: 7 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001404/0.355, allocations: 138.2 kB / 0.83 GB, free: 6.863 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001503/0.3565, allocations: 0.7232 MB / 0.8307 GB, free: 6.129 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007236/0.3637, allocations: 1.168 MB / 0.8319 GB, free: 4.957 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007633/0.3714, allocations: 3.542 MB / 0.8353 GB, free: 1.34 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003364/0.3717, allocations: 382.1 kB / 0.8357 GB, free: 0.9648 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001403/0.3731, allocations: 495.9 kB / 0.8362 GB, free: 492 kB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01824/0.3914, allocations: 8.001 MB / 0.844 GB, free: 8.199 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001792/0.3915, allocations: 23.83 kB / 0.844 GB, free: 8.176 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001025/0.3926, allocations: 216 kB / 0.8442 GB, free: 7.965 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001167/0.3937, allocations: 441.6 kB / 0.8446 GB, free: 7.531 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01307/0.4068, allocations: 6.085 MB / 0.8506 GB, free: 1.434 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4334/0.8402, allocations: 34.94 MB / 0.8847 GB, free: 109.1 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003157/0.8434, allocations: 1.914 MB / 0.8865 GB, free: 108.4 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003065/0.8465, allocations: 1.756 MB / 0.8883 GB, free: 107.7 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001404/0.8466, allocations: 18 kB / 0.8883 GB, free: 107.7 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.114e-05/0.8466, allocations: 54.34 kB / 0.8883 GB, free: 107.6 MB / 0.67 GB Notification: Performance of pre-optimization done (n=171): time 3.857e-06/0.8467, allocations: 4.469 kB / 0.8883 GB, free: 107.6 MB / 0.67 GB Notification: Performance of matching and sorting (n=276): time 0.1437/0.9903, allocations: 38.86 MB / 0.9263 GB, free: 82.71 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.33e-05/0.9904, allocations: 82.5 kB / 0.9264 GB, free: 82.61 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002461/0.9928, allocations: 2.277 MB / 0.9286 GB, free: 80.34 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0003171/0.9931, allocations: 73.7 kB / 0.9287 GB, free: 80.26 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008563/0.994, allocations: 2.339 MB / 0.9309 GB, free: 78.22 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006255/0.9946, allocations: 0.9775 MB / 0.9319 GB, free: 77.36 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008102/0.9954, allocations: 0.5103 MB / 0.9324 GB, free: 76.84 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 3.373e-05/0.9955, allocations: 305.1 kB / 0.9327 GB, free: 76.54 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002239/0.9977, allocations: 1.977 MB / 0.9346 GB, free: 74.55 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002514/1, allocations: 2.599 MB / 0.9372 GB, free: 71.71 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004982/1.005, allocations: 4.929 MB / 0.942 GB, free: 66.51 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-05/1.005, allocations: 8.938 kB / 0.942 GB, free: 66.5 MB / 0.67 GB Notification: Performance of matching and sorting (n=376) (initialization): time 0.01225/1.017, allocations: 7.649 MB / 0.9494 GB, free: 58.79 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 3.118e-05/1.017, allocations: 16.03 kB / 0.9495 GB, free: 58.77 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.599e-05/1.018, allocations: 20 kB / 0.9495 GB, free: 58.75 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008428/1.026, allocations: 3.219 MB / 0.9526 GB, free: 55.51 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001558/1.028, allocations: 403 kB / 0.953 GB, free: 55.12 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0357/1.063, allocations: 33.91 MB / 0.9861 GB, free: 20.4 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003239/1.066, allocations: 163.8 kB / 0.9863 GB, free: 20.24 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003509/1.067, allocations: 108 kB / 0.9864 GB, free: 20.13 MB / 0.67 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (202): * Single equations (assignments): 196 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(10,28,71.0%), (10,28,65.0%), (6,24,77.8%), (6,24,77.8%), (5,17,84.0%), (5,17,84.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002464/1.069, allocations: 1.793 MB / 0.9881 GB, free: 18.33 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006634/1.07, allocations: 345.8 kB / 0.9885 GB, free: 17.99 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0122/1.082, allocations: 7.243 MB / 0.9955 GB, free: 10.66 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.82e-05/1.082, allocations: 24 kB / 0.9956 GB, free: 10.64 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.699e-05/1.082, allocations: 32 kB / 0.9956 GB, free: 10.61 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.6e-05/1.082, allocations: 15.94 kB / 0.9956 GB, free: 10.59 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02113/1.103, allocations: 12.8 MB / 1.008 GB, free: 13.66 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.705e-05/1.103, allocations: 8 kB / 1.008 GB, free: 13.66 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00101/1.104, allocations: 231.4 kB / 1.008 GB, free: 13.43 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009102/1.113, allocations: 2.853 MB / 1.011 GB, free: 10.56 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003601/1.114, allocations: 56 kB / 1.011 GB, free: 10.51 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04895/1.163, allocations: 32.7 MB / 1.043 GB, free: 8.973 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.131e-05/1.163, allocations: 11.94 kB / 1.043 GB, free: 8.961 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01397/1.177, allocations: 6.779 MB / 1.05 GB, free: 1.965 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002531/1.179, allocations: 0.7994 MB / 1.051 GB, free: 1.145 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009509/1.18, allocations: 52 kB / 1.051 GB, free: 1.094 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002149/1.182, allocations: 175.7 kB / 1.051 GB, free: 0.9219 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001/1.183, allocations: 249.5 kB / 1.051 GB, free: 0.6797 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002014/1.184, allocations: 79.98 kB / 1.051 GB, free: 0.6016 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.00255/1.186, allocations: 1.521 MB / 1.053 GB, free: 15.08 MB / 0.7325 GB Notification: Performance of sort global known variables: time 7.1e-08/1.186, allocations: 0 / 1.053 GB, free: 15.08 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.005173/1.191, allocations: 1.374 MB / 1.054 GB, free: 13.71 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (105): * Single equations (assignments): 99 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(5,17,84.0%), (6,24,77.8%), (10,28,65.0%), (5,17,92.0%), (6,24,77.8%), (10,28,65.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01425/1.206, allocations: 7.416 MB / 1.061 GB, free: 6.066 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.01305/1.219, allocations: 6.56 MB / 1.068 GB, free: 15.42 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 1.07e-05/1.219, allocations: 0 / 1.068 GB, free: 15.42 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.008725/1.227, allocations: 4.255 MB / 1.072 GB, free: 11.09 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005067/1.232, allocations: 1.119 MB / 1.073 GB, free: 10.04 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07472/1.307, allocations: 38.96 MB / 1.111 GB, free: 1.977 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005298/1.312, allocations: 3.643 MB / 1.114 GB, free: 14.3 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.002328/1.315, allocations: 0.5517 MB / 1.115 GB, free: 13.75 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003203/1.318, allocations: 1.972 MB / 1.117 GB, free: 11.77 MB / 0.795 GB Notification: Performance of SimCode: time 1.583e-06/1.318, allocations: 0 / 1.117 GB, free: 11.77 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5785/1.896, allocations: 112.4 MB / 1.227 GB, free: 288.8 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.48/20.38, allocations: 9.25 kB / 1.227 GB, free: 288.8 MB / 0.8575 GB " [Timeout remaining time 639] (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N.fmu > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 25.037663827009965] Failed to read output from testmodel.py, exit status != 0: 20.571750255010556 20.582472873 20.241735738 Calling exit ...