Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001371/0.001371, allocations: 107.8 kB / 16.45 MB, free: 6.445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001364/0.001364, allocations: 187.7 kB / 19.4 MB, free: 3.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.281/1.281, allocations: 225.6 MB / 247.8 MB, free: 3.734 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002183/0.002183, allocations: 282.1 kB / 303 MB, free: 3.582 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.959/0.959, allocations: 180.9 MB / 0.5261 GB, free: 2.75 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 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002573/0.002573, allocations: 100.1 kB / 0.7248 GB, free: 9.348 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.422/0.4246, allocations: 94.15 MB / 0.8167 GB, free: 7.16 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine): time 0.0127/0.4373, allocations: 14.23 MB / 0.8306 GB, free: 13.43 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01344/0.4507, allocations: 9.506 MB / 0.8399 GB, free: 6.957 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00104/0.4518, allocations: 58.31 kB / 0.8399 GB, free: 6.934 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.003899/0.4557, allocations: 1.696 MB / 0.8416 GB, free: 5.922 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.003898/0.4596, allocations: 1.576 MB / 0.8431 GB, free: 4.984 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001816/0.4614, allocations: 0.763 MB / 0.8439 GB, free: 4.586 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.003261/0.4647, allocations: 2.517 MB / 0.8463 GB, free: 3.418 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00144/0.4661, allocations: 1.125 MB / 0.8474 GB, free: 2.871 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001411/0.4675, allocations: 1.082 MB / 0.8485 GB, free: 2.414 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001479/0.469, allocations: 1.201 MB / 0.8497 GB, free: 1.93 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0002118/0.4692, allocations: 165 kB / 0.8498 GB, free: 1.93 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001404/0.4706, allocations: 0.812 MB / 0.8506 GB, free: 1.691 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0005949/0.4712, allocations: 0.6237 MB / 0.8512 GB, free: 1.398 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0009167/0.4721, allocations: 0.9497 MB / 0.8522 GB, free: 0.8125 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.003004/0.4751, allocations: 2.763 MB / 0.8549 GB, free: 15.54 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.4751, allocations: 3.938 kB / 0.8549 GB, free: 15.54 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.042e-06/0.4751, allocations: 3.938 kB / 0.8549 GB, free: 15.53 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 2.97e-05/0.4751, allocations: 0 / 0.8549 GB, free: 15.53 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 327 * Number of variables: 327 Notification: Performance of Generate backend data structure: time 0.003738/0.4789, allocations: 2.192 MB / 0.857 GB, free: 13.93 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.212e-05/0.4789, allocations: 9.312 kB / 0.857 GB, free: 13.93 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002317/0.4791, allocations: 202.8 kB / 0.8572 GB, free: 13.77 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01049/0.4896, allocations: 2.091 MB / 0.8593 GB, free: 12.79 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002795/0.4924, allocations: 1.304 MB / 0.8605 GB, free: 11.83 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.91e-05/0.4925, allocations: 90.8 kB / 0.8606 GB, free: 11.79 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002396/0.4927, allocations: 123.3 kB / 0.8607 GB, free: 11.74 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005449/0.4982, allocations: 2.672 MB / 0.8633 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.516e-05/0.4982, allocations: 12.23 kB / 0.8634 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001574/0.4984, allocations: 58.39 kB / 0.8634 GB, free: 9.965 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005628/0.499, allocations: 179 kB / 0.8636 GB, free: 9.902 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006934/0.5059, allocations: 2.797 MB / 0.8663 GB, free: 8.484 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0148/0.5207, allocations: 10.48 MB / 0.8765 GB, free: 15.72 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006358/0.5271, allocations: 2.447 MB / 0.8789 GB, free: 14.32 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002782/0.5298, allocations: 1.209 MB / 0.8801 GB, free: 13.7 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 5.228e-05/0.5299, allocations: 9.25 kB / 0.8801 GB, free: 13.7 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.406e-05/0.5299, allocations: 43.69 kB / 0.8802 GB, free: 13.66 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=89): time 2.244e-06/0.5299, allocations: 5.375 kB / 0.8802 GB, free: 13.65 MB / 0.6231 GB Notification: Performance of matching and sorting (n=131): time 0.04267/0.5726, allocations: 13.34 MB / 0.8932 GB, free: 1.641 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.899e-05/0.5726, allocations: 72.7 kB / 0.8933 GB, free: 1.559 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001381/0.574, allocations: 1.113 MB / 0.8944 GB, free: 440 kB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0001137/0.5741, allocations: 45.7 kB / 0.8944 GB, free: 388 kB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005459/0.5747, allocations: 0.7365 MB / 0.8951 GB, free: 15.64 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004212/0.5751, allocations: 471.9 kB / 0.8956 GB, free: 15.17 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004745/0.5756, allocations: 259.5 kB / 0.8958 GB, free: 14.91 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001579/0.5757, allocations: 361.9 kB / 0.8962 GB, free: 14.55 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003105/0.5788, allocations: 1.343 MB / 0.8975 GB, free: 13.21 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003295/0.5821, allocations: 1.604 MB / 0.899 GB, free: 11.5 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00643/0.5886, allocations: 2.991 MB / 0.902 GB, free: 8.418 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.923e-06/0.5886, allocations: 4 kB / 0.902 GB, free: 8.414 MB / 0.6387 GB Notification: Performance of matching and sorting (n=168) (initialization): time 0.01057/0.5991, allocations: 4.397 MB / 0.9063 GB, free: 3.965 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.063e-05/0.5992, allocations: 12.11 kB / 0.9063 GB, free: 3.953 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.183e-05/0.5992, allocations: 12 kB / 0.9063 GB, free: 3.941 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004808/0.604, allocations: 1.427 MB / 0.9077 GB, free: 2.473 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001891/0.6059, allocations: 435.2 kB / 0.9081 GB, free: 2.047 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02696/0.6328, allocations: 26.69 MB / 0.9342 GB, free: 5.523 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002368/0.6352, allocations: 315.5 kB / 0.9345 GB, free: 5.215 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001378/0.6353, allocations: 59.97 kB / 0.9345 GB, free: 5.156 MB / 0.67 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (99): * Single equations (assignments): 86 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 13 systems {(2,4,100.0%), (1,1,100.0%), (2,4,100.0%), (3,9,100.0%), (1,1,100.0%), (1,1,100.0%), (3,9,100.0%), (3,9,100.0%), (1,1,100.0%), (3,9,100.0%), (1,1,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0007822/0.6361, allocations: 437.5 kB / 0.9349 GB, free: 4.719 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002696/0.6364, allocations: 167 kB / 0.9351 GB, free: 4.555 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01051/0.6469, allocations: 4.406 MB / 0.9394 GB, free: 96 kB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.143e-05/0.6469, allocations: 12 kB / 0.9394 GB, free: 84 kB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.479e-05/0.6469, allocations: 16 kB / 0.9394 GB, free: 68 kB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.088e-05/0.6469, allocations: 7.969 kB / 0.9394 GB, free: 60 kB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01409/0.661, allocations: 6.717 MB / 0.946 GB, free: 9.176 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.234e-06/0.661, allocations: 8.031 kB / 0.946 GB, free: 9.168 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001658/0.6627, allocations: 379.3 kB / 0.9464 GB, free: 8.797 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00431/0.667, allocations: 1.311 MB / 0.9476 GB, free: 7.445 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001126/0.6671, allocations: 43.95 kB / 0.9477 GB, free: 7.402 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02476/0.6919, allocations: 25.5 MB / 0.9726 GB, free: 12.07 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.887e-06/0.6919, allocations: 3.938 kB / 0.9726 GB, free: 12.07 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009951/0.7018, allocations: 4.168 MB / 0.9767 GB, free: 7.801 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001052/0.7029, allocations: 467.8 kB / 0.9771 GB, free: 7.324 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002193/0.7031, allocations: 24.19 kB / 0.9771 GB, free: 7.301 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001854/0.705, allocations: 311.5 kB / 0.9774 GB, free: 6.996 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003099/0.7053, allocations: 132.6 kB / 0.9776 GB, free: 6.867 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001273/0.7054, allocations: 47.97 kB / 0.9776 GB, free: 6.82 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001004/0.7064, allocations: 0.7526 MB / 0.9783 GB, free: 6.066 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7064, allocations: 4 kB / 0.9783 GB, free: 6.062 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.001687/0.7081, allocations: 0.5703 MB / 0.9789 GB, free: 5.492 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (67): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 13 systems {(1,1,100.0%), (2,4,100.0%), (1,1,100.0%), (3,9,100.0%), (1,1,100.0%), (2,4,100.0%), (1,1,100.0%), (1,1,100.0%), (3,7,100.0%), (2,4,100.0%), (3,9,100.0%), (2,4,100.0%), (3,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01017/0.7183, allocations: 4.752 MB / 0.9835 GB, free: 0.6367 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.009872/0.7281, allocations: 4.966 MB / 0.9884 GB, free: 11.5 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 8.025e-06/0.7281, allocations: 3.938 kB / 0.9884 GB, free: 11.49 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.006206/0.7343, allocations: 3.413 MB / 0.9917 GB, free: 7.91 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00202/0.7364, allocations: 0.5493 MB / 0.9923 GB, free: 7.391 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0374/0.7738, allocations: 19.34 MB / 1.011 GB, free: 3.594 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001187/0.7749, allocations: 1.473 MB / 1.013 GB, free: 2.09 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.001309/0.7763, allocations: 425.6 kB / 1.013 GB, free: 1.668 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008364/0.7771, allocations: 0.632 MB / 1.014 GB, free: 1.035 MB / 0.7481 GB Notification: Performance of SimCode: time 7.92e-07/0.7771, allocations: 0 / 1.014 GB, free: 1.035 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1177/0.8948, allocations: 52.01 MB / 1.064 GB, free: 13.72 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.78/17.67, allocations: 10.58 kB / 1.064 GB, free: 13.71 MB / 0.8106 GB " [Timeout remaining time 642] (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine.fmu > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 21.203333603218198] Failed to read output from testmodel.py, exit status != 0: 17.782332790084183 17.79834523 17.320117294 Calling exit ...