Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.001318/0.001318, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.001529/0.001529, allocations: 215.2 kB / 22.25 MB, free: 5.082 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.457/1.457, allocations: 230.6 MB / 256 MB, free: 8.004 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002683/0.002683, allocations: 282.5 kB / 312.7 MB, free: 2.805 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.238/1.238, allocations: 180.6 MB / 0.5369 GB, free: 13.05 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: NcDataReader2 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: BuildingSystems 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.003053/0.003053, allocations: 100.3 kB / 0.7396 GB, free: 28.16 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1682/0.1713, allocations: 95.38 MB / 0.8328 GB, free: 8.625 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N): time 0.04853/0.2198, allocations: 39.8 MB / 0.8716 GB, free: 0.6992 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.01962/0.2394, allocations: 11.44 MB / 0.8828 GB, free: 5.23 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003181/0.2426, allocations: 202.5 kB / 0.883 GB, free: 5.031 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.0118/0.2544, allocations: 4.563 MB / 0.8874 GB, free: 468 kB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.006344/0.2607, allocations: 2.336 MB / 0.8897 GB, free: 14.11 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.006045/0.2668, allocations: 2.246 MB / 0.8919 GB, free: 11.87 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.01204/0.2788, allocations: 9.273 MB / 0.901 GB, free: 2.566 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01341/0.2922, allocations: 6.403 MB / 0.9072 GB, free: 12.04 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008506/0.3007, allocations: 4.109 MB / 0.9112 GB, free: 7.922 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009376/0.3101, allocations: 4.755 MB / 0.9159 GB, free: 3.152 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.003153/0.3133, allocations: 0.8203 MB / 0.9167 GB, free: 2.332 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005856/0.3191, allocations: 1.611 MB / 0.9182 GB, free: 0.7188 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.00629/0.3254, allocations: 3.239 MB / 0.9214 GB, free: 13.47 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.008697/0.3341, allocations: 3.649 MB / 0.925 GB, free: 9.805 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.01837/0.3525, allocations: 12.35 MB / 0.937 GB, free: 13.42 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 7.514e-06/0.3525, allocations: 0 / 0.937 GB, free: 13.42 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.914e-06/0.3525, allocations: 0 / 0.937 GB, free: 13.42 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 0.0003644/0.3529, allocations: 0 / 0.937 GB, free: 13.42 MB / 0.6856 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.01785/0.3707, allocations: 6.395 MB / 0.9433 GB, free: 6.961 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 5.051e-05/0.3708, allocations: 9.344 kB / 0.9433 GB, free: 6.953 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002627/0.3734, allocations: 0.8294 MB / 0.9441 GB, free: 6.113 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006506/0.3799, allocations: 1.094 MB / 0.9452 GB, free: 5.016 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008689/0.3886, allocations: 3.576 MB / 0.9487 GB, free: 1.375 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004366/0.389, allocations: 423.7 kB / 0.9491 GB, free: 0.9609 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002015/0.391, allocations: 0.5471 MB / 0.9496 GB, free: 424 kB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02087/0.4119, allocations: 9.373 MB / 0.9588 GB, free: 6.707 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001955/0.4121, allocations: 19.88 kB / 0.9588 GB, free: 6.688 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001336/0.4134, allocations: 248 kB / 0.959 GB, free: 6.445 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000654/0.4141, allocations: 426.8 kB / 0.9594 GB, free: 6.027 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01505/0.4291, allocations: 7.124 MB / 0.9664 GB, free: 14.89 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3781/0.8073, allocations: 40.7 MB / 1.006 GB, free: 104.6 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004802/0.8121, allocations: 2.916 MB / 1.009 GB, free: 103.5 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003679/0.8157, allocations: 1.931 MB / 1.011 GB, free: 102.8 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001468/0.8159, allocations: 30.19 kB / 1.011 GB, free: 102.8 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.007e-05/0.8159, allocations: 59.39 kB / 1.011 GB, free: 102.8 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=209): time 4.168e-06/0.8159, allocations: 0 / 1.011 GB, free: 102.8 MB / 0.7169 GB Notification: Performance of matching and sorting (n=212): time 0.02282/0.8388, allocations: 10.27 MB / 1.021 GB, free: 98.41 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.684e-05/0.8388, allocations: 73.22 kB / 1.021 GB, free: 98.34 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002315/0.8411, allocations: 2.01 MB / 1.023 GB, free: 97.27 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0003219/0.8414, allocations: 61.64 kB / 1.023 GB, free: 97.21 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.001082/0.8425, allocations: 2.473 MB / 1.025 GB, free: 95.41 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006547/0.8432, allocations: 0.7667 MB / 1.026 GB, free: 94.84 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006181/0.8438, allocations: 485.5 kB / 1.027 GB, free: 94.57 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.781e-05/0.8438, allocations: 309.1 kB / 1.027 GB, free: 94.27 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001603/0.8454, allocations: 1.375 MB / 1.028 GB, free: 93.55 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001951/0.8474, allocations: 2.107 MB / 1.03 GB, free: 91.88 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003838/0.8512, allocations: 3.769 MB / 1.034 GB, free: 89.31 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.255e-05/0.8512, allocations: 7.625 kB / 1.034 GB, free: 89.31 MB / 0.7169 GB Notification: Performance of matching and sorting (n=339) (initialization): time 0.006906/0.8581, allocations: 5.024 MB / 1.039 GB, free: 86.64 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.776e-05/0.8582, allocations: 15.34 kB / 1.039 GB, free: 86.64 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.74e-05/0.8582, allocations: 23.88 kB / 1.039 GB, free: 86.64 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002964/0.8612, allocations: 1.583 MB / 1.041 GB, free: 85.98 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001542/0.8627, allocations: 459.2 kB / 1.041 GB, free: 85.86 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01666/0.8794, allocations: 18.17 MB / 1.059 GB, free: 67.41 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002071/0.8814, allocations: 155.8 kB / 1.059 GB, free: 67.25 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002195/0.8817, allocations: 104 kB / 1.059 GB, free: 67.15 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 (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.002831/0.8845, allocations: 1.942 MB / 1.061 GB, free: 65.2 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005932/0.8851, allocations: 302.4 kB / 1.061 GB, free: 64.9 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006272/0.8914, allocations: 4.404 MB / 1.065 GB, free: 60.47 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.522e-05/0.8914, allocations: 20 kB / 1.065 GB, free: 60.45 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.449e-05/0.8914, allocations: 23.98 kB / 1.066 GB, free: 60.43 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.017e-05/0.8915, allocations: 7.969 kB / 1.066 GB, free: 60.42 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.014/0.9054, allocations: 9.6 MB / 1.075 GB, free: 50.71 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.758e-06/0.9055, allocations: 4.562 kB / 1.075 GB, free: 50.71 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009557/0.9064, allocations: 235.6 kB / 1.075 GB, free: 50.48 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002798/0.9092, allocations: 1.423 MB / 1.077 GB, free: 49.05 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001778/0.9094, allocations: 42.28 kB / 1.077 GB, free: 49.01 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01703/0.9264, allocations: 18.19 MB / 1.094 GB, free: 30.37 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.121e-06/0.9264, allocations: 12 kB / 1.094 GB, free: 30.36 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006685/0.9331, allocations: 4.495 MB / 1.099 GB, free: 25.78 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001762/0.9349, allocations: 0.576 MB / 1.099 GB, free: 25.2 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007212/0.9356, allocations: 44 kB / 1.099 GB, free: 25.16 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001588/0.9372, allocations: 115.9 kB / 1.099 GB, free: 25.05 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005201/0.9377, allocations: 193.2 kB / 1.1 GB, free: 24.86 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001702/0.9379, allocations: 60 kB / 1.1 GB, free: 24.8 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.00186/0.9397, allocations: 1.315 MB / 1.101 GB, free: 23.47 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9397, allocations: 4 kB / 1.101 GB, free: 23.47 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.003309/0.943, allocations: 1.141 MB / 1.102 GB, free: 22.33 MB / 0.7169 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.005935/0.949, allocations: 5.122 MB / 1.107 GB, free: 17.11 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.005934/0.9549, allocations: 4.544 MB / 1.112 GB, free: 12.52 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 8.986e-06/0.9549, allocations: 0 / 1.112 GB, free: 12.52 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.003689/0.9586, allocations: 2.793 MB / 1.114 GB, free: 9.672 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003885/0.9625, allocations: 0.8968 MB / 1.115 GB, free: 8.809 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04997/1.012, allocations: 30.58 MB / 1.145 GB, free: 9.035 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005085/1.018, allocations: 3.69 MB / 1.149 GB, free: 5.312 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.001918/1.019, allocations: 0.5595 MB / 1.149 GB, free: 4.746 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002618/1.022, allocations: 1.948 MB / 1.151 GB, free: 2.801 MB / 0.7481 GB Notification: Performance of SimCode: time 7.82e-07/1.022, allocations: 7.938 kB / 1.151 GB, free: 2.793 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1696/1.192, allocations: 88.24 MB / 1.237 GB, free: 11.54 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.63/17.82, allocations: 11.03 kB / 1.237 GB, free: 11.54 MB / 0.8419 GB " [Timeout remaining time 642] (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N.fmu > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 22.36407302180305] Failed to read output from testmodel.py, exit status != 0: 17.983156336005777 18.010469229 17.653778384 Calling exit ...