Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.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.001464/0.001464, allocations: 108.9 kB / 16.46 MB, free: 6.504 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.001443/0.001443, allocations: 195.8 kB / 19.41 MB, free: 3.668 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.318/1.318, allocations: 225.6 MB / 247.8 MB, free: 13.94 MB / 206.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.002371/0.002371, allocations: 287.2 kB / 303 MB, free: 9.504 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 1.135/1.135, allocations: 180.9 MB / 0.5261 GB, free: 14.65 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.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002754/0.002754, allocations: 101.2 kB / 0.7248 GB, free: 40 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1554/0.1581, allocations: 94.16 MB / 0.8167 GB, free: 5.418 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC): time 0.0125/0.1706, allocations: 10.14 MB / 0.8266 GB, free: 11.23 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.004966/0.1756, allocations: 3.08 MB / 0.8297 GB, free: 8.145 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003577/0.1759, allocations: 35.88 kB / 0.8297 GB, free: 8.109 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001742/0.1777, allocations: 0.7019 MB / 0.8304 GB, free: 7.406 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001245/0.1789, allocations: 0.7273 MB / 0.8311 GB, free: 6.676 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.00123/0.1802, allocations: 0.6425 MB / 0.8317 GB, free: 6.035 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002776/0.1829, allocations: 2.726 MB / 0.8344 GB, free: 3.301 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002245/0.1852, allocations: 1.914 MB / 0.8362 GB, free: 1.344 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001403/0.1866, allocations: 1.145 MB / 0.8374 GB, free: 200 kB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001743/0.1883, allocations: 1.492 MB / 0.8388 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0002688/0.1886, allocations: 216 kB / 0.839 GB, free: 14.49 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008333/0.1894, allocations: 491.4 kB / 0.8395 GB, free: 14.01 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0009388/0.1904, allocations: 1.009 MB / 0.8405 GB, free: 13 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0009935/0.1914, allocations: 1.019 MB / 0.8415 GB, free: 11.97 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.003136/0.1945, allocations: 3.403 MB / 0.8448 GB, free: 8.559 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.177e-06/0.1945, allocations: 3.938 kB / 0.8448 GB, free: 8.555 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.323e-06/0.1945, allocations: 0 / 0.8448 GB, free: 8.555 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 3.374e-05/0.1945, allocations: 8 kB / 0.8448 GB, free: 8.547 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: 419 * Number of variables: 419 Notification: Performance of Generate backend data structure: time 0.003266/0.1978, allocations: 1.996 MB / 0.8468 GB, free: 6.492 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.993e-05/0.1978, allocations: 8.031 kB / 0.8468 GB, free: 6.484 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003216/0.1982, allocations: 244.7 kB / 0.847 GB, free: 6.234 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005237/0.2034, allocations: 0.8931 MB / 0.8479 GB, free: 5.34 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002512/0.2059, allocations: 1.169 MB / 0.849 GB, free: 4.129 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.878e-05/0.206, allocations: 115.3 kB / 0.8491 GB, free: 4.016 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002894/0.2063, allocations: 144.3 kB / 0.8493 GB, free: 3.875 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004643/0.2109, allocations: 3.017 MB / 0.8522 GB, free: 0.7578 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.126e-05/0.211, allocations: 11.95 kB / 0.8522 GB, free: 0.7461 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001835/0.2112, allocations: 67.91 kB / 0.8523 GB, free: 0.6797 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000233/0.2114, allocations: 175 kB / 0.8524 GB, free: 0.5078 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004003/0.2154, allocations: 2.6 MB / 0.855 GB, free: 13.9 MB / 0.6075 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01711/0.2325, allocations: 13.51 MB / 0.8682 GB, free: 15.29 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002101/0.2346, allocations: 1.224 MB / 0.8694 GB, free: 14.05 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001454/0.2361, allocations: 0.9723 MB / 0.8703 GB, free: 13.08 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 5.852e-05/0.2361, allocations: 12.59 kB / 0.8703 GB, free: 13.07 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.885e-05/0.2362, allocations: 43.22 kB / 0.8704 GB, free: 13.02 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=82): time 2.965e-06/0.2362, allocations: 0 / 0.8704 GB, free: 13.02 MB / 0.6231 GB Notification: Performance of matching and sorting (n=139): time 0.06691/0.3031, allocations: 19.34 MB / 0.8893 GB, free: 9.539 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.179e-05/0.3031, allocations: 72.7 kB / 0.8893 GB, free: 9.453 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001152/0.3043, allocations: 0.9145 MB / 0.8902 GB, free: 8.531 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0001075/0.3044, allocations: 45.7 kB / 0.8903 GB, free: 8.48 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005294/0.3049, allocations: 0.7579 MB / 0.891 GB, free: 7.711 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004335/0.3053, allocations: 0.4957 MB / 0.8915 GB, free: 7.211 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005659/0.3059, allocations: 291.5 kB / 0.8918 GB, free: 6.918 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001658/0.3061, allocations: 353.9 kB / 0.8921 GB, free: 6.566 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001876/0.308, allocations: 1.339 MB / 0.8934 GB, free: 5.227 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002137/0.3101, allocations: 1.659 MB / 0.895 GB, free: 3.453 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0041/0.3142, allocations: 3.09 MB / 0.8981 GB, free: 248 kB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.609e-06/0.3142, allocations: 0 / 0.8981 GB, free: 248 kB / 0.6387 GB Notification: Performance of matching and sorting (n=191) (initialization): time 0.01108/0.3253, allocations: 5.562 MB / 0.9035 GB, free: 10.66 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.99e-05/0.3253, allocations: 16 kB / 0.9035 GB, free: 10.64 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.64e-05/0.3253, allocations: 12 kB / 0.9035 GB, free: 10.63 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008188/0.3335, allocations: 2.707 MB / 0.9062 GB, free: 7.91 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007422/0.3342, allocations: 199.6 kB / 0.9063 GB, free: 7.715 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03631/0.3706, allocations: 25.73 MB / 0.9315 GB, free: 13.41 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001363/0.3719, allocations: 91.89 kB / 0.9316 GB, free: 13.32 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001499/0.3721, allocations: 52.5 kB / 0.9316 GB, free: 13.27 MB / 0.6856 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * 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): 95 * 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,12,100.0%), (6,12,100.0%), (6,24,100.0%), (6,24,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001194/0.3733, allocations: 0.7432 MB / 0.9323 GB, free: 12.52 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002516/0.3735, allocations: 119.2 kB / 0.9324 GB, free: 12.4 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0107/0.3842, allocations: 5.298 MB / 0.9376 GB, free: 7.074 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.155e-05/0.3842, allocations: 16 kB / 0.9376 GB, free: 7.059 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.546e-05/0.3843, allocations: 20 kB / 0.9377 GB, free: 7.039 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.474e-05/0.3843, allocations: 15.91 kB / 0.9377 GB, free: 7.023 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01588/0.4002, allocations: 8.627 MB / 0.9461 GB, free: 14.27 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.272e-06/0.4002, allocations: 0 / 0.9461 GB, free: 14.27 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004177/0.4006, allocations: 119.8 kB / 0.9462 GB, free: 14.16 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007913/0.4085, allocations: 2.587 MB / 0.9487 GB, free: 11.56 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001096/0.4086, allocations: 28 kB / 0.9488 GB, free: 11.53 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03375/0.4424, allocations: 24.19 MB / 0.9724 GB, free: 2.781 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.939e-06/0.4424, allocations: 4.109 kB / 0.9724 GB, free: 2.777 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01038/0.4527, allocations: 5.175 MB / 0.9774 GB, free: 13.52 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001218/0.454, allocations: 496.2 kB / 0.9779 GB, free: 13.02 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002337/0.4542, allocations: 31.98 kB / 0.9779 GB, free: 12.98 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008379/0.455, allocations: 79.91 kB / 0.978 GB, free: 12.91 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000428/0.4555, allocations: 117 kB / 0.9781 GB, free: 12.79 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001005/0.4556, allocations: 40.17 kB / 0.9782 GB, free: 12.75 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0008365/0.4564, allocations: 0.6434 MB / 0.9788 GB, free: 12.11 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4564, allocations: 7.938 kB / 0.9788 GB, free: 12.11 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.002156/0.4585, allocations: 0.7188 MB / 0.9795 GB, free: 11.39 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (62): * Single equations (assignments): 58 * 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,12,100.0%), (6,24,100.0%), (6,6,100.0%), (10,14,84.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01067/0.4692, allocations: 5.765 MB / 0.9851 GB, free: 5.527 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.006895/0.4761, allocations: 4.084 MB / 0.9891 GB, free: 1.398 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.968e-06/0.4761, allocations: 0 / 0.9891 GB, free: 1.398 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.00491/0.481, allocations: 2.607 MB / 0.9917 GB, free: 14.73 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001268/0.4823, allocations: 221.2 kB / 0.9919 GB, free: 14.52 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.349/0.8313, allocations: 21.29 MB / 1.013 GB, free: 176 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001519/0.8328, allocations: 1.703 MB / 1.014 GB, free: 175.3 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.000815/0.8336, allocations: 326.3 kB / 1.015 GB, free: 175.3 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005545/0.8341, allocations: 0.5311 MB / 1.015 GB, free: 175.3 MB / 0.7481 GB Notification: Performance of SimCode: time 9.22e-07/0.8341, allocations: 0 / 1.015 GB, free: 175.3 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08305/0.9172, allocations: 53.09 MB / 1.067 GB, free: 134.5 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.21/12.13, allocations: 18.39 kB / 1.067 GB, free: 134.5 MB / 0.7481 GB " [Timeout remaining time 648] (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC.fmu > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.00359127065167] Failed to read output from testmodel.py, exit status != 0: 12.226736992131919 12.234632001 12.038236201 Calling exit ...