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.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.001098/0.001098, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.001231/0.001231, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.8762/0.8762, allocations: 177.1 MB / 202.8 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] 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.001461/0.001461, allocations: 244.8 kB / 259.4 MB, free: 13 MB / 250.7 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 0.6684/0.6684, allocations: 138.4 MB / 454.3 MB, free: 30.07 MB / 410.7 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.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 1.613e-06/1.613e-06, allocations: 0 / 0.6463 GB, free: 1.875 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.892e-05/2.053e-05, allocations: 2.281 kB / 0.6463 GB, free: 1.871 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC): time 0.2217/0.2217, allocations: 9.481 MB / 0.6556 GB, free: 52.32 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.003346/0.2251, allocations: 2.99 MB / 0.6585 GB, free: 50.39 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004489/0.2255, allocations: 50.44 kB / 0.6585 GB, free: 50.37 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.001018/0.2265, allocations: 0.696 MB / 0.6592 GB, free: 49.98 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.001018/0.2276, allocations: 0.7347 MB / 0.6599 GB, free: 49.55 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.001002/0.2286, allocations: 0.6538 MB / 0.6606 GB, free: 49.22 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.001956/0.2305, allocations: 2.788 MB / 0.6633 GB, free: 48 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001273/0.2318, allocations: 1.36 MB / 0.6646 GB, free: 47.32 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001457/0.2332, allocations: 1.576 MB / 0.6662 GB, free: 46.6 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001234/0.2345, allocations: 1.373 MB / 0.6675 GB, free: 46.17 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 0.0002304/0.2347, allocations: 215.9 kB / 0.6677 GB, free: 46.17 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006637/0.2354, allocations: 471.6 kB / 0.6682 GB, free: 46.08 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.0005742/0.236, allocations: 1.048 MB / 0.6692 GB, free: 45.63 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.0005555/0.2365, allocations: 0.7123 MB / 0.6699 GB, free: 45.3 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.00245/0.239, allocations: 3.49 MB / 0.6733 GB, free: 44.24 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.239, allocations: 0 / 0.6733 GB, free: 44.24 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.924e-06/0.239, allocations: 1.312 kB / 0.6733 GB, free: 44.24 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 5.21e-05/0.239, allocations: 0 / 0.6733 GB, free: 44.24 MB / 0.5573 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.002373/0.2414, allocations: 1.904 MB / 0.6751 GB, free: 43.09 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.213e-05/0.2414, allocations: 17.53 kB / 0.6752 GB, free: 43.09 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002199/0.2416, allocations: 244.6 kB / 0.6754 GB, free: 42.95 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002876/0.2445, allocations: 0.9157 MB / 0.6763 GB, free: 42.81 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001517/0.246, allocations: 1.126 MB / 0.6774 GB, free: 42.22 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.93e-05/0.2461, allocations: 110.9 kB / 0.6775 GB, free: 42.17 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002168/0.2463, allocations: 144.1 kB / 0.6776 GB, free: 42.12 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003791/0.2501, allocations: 3.086 MB / 0.6806 GB, free: 40.87 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.664e-05/0.2501, allocations: 6.938 kB / 0.6807 GB, free: 40.86 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001347/0.2503, allocations: 74.94 kB / 0.6807 GB, free: 40.8 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001926/0.2505, allocations: 172.5 kB / 0.6809 GB, free: 40.79 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003177/0.2537, allocations: 2.602 MB / 0.6834 GB, free: 39.94 MB / 0.5573 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.00902/0.2627, allocations: 9.322 MB / 0.6925 GB, free: 34.7 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00127/0.2639, allocations: 1.224 MB / 0.6937 GB, free: 34.08 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009152/0.2649, allocations: 0.9783 MB / 0.6947 GB, free: 33.61 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 5.489e-05/0.2649, allocations: 8.406 kB / 0.6947 GB, free: 33.61 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.82e-05/0.2649, allocations: 44.33 kB / 0.6947 GB, free: 33.56 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=82): time 4.258e-06/0.2649, allocations: 0 / 0.6947 GB, free: 33.56 MB / 0.5573 GB Notification: Performance of matching and sorting (n=139): time 0.03454/0.2995, allocations: 18.89 MB / 0.7132 GB, free: 22.52 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.319e-05/0.2995, allocations: 64.72 kB / 0.7132 GB, free: 22.44 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007026/0.3002, allocations: 0.9378 MB / 0.7142 GB, free: 21.49 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.0001139/0.3003, allocations: 45.7 kB / 0.7142 GB, free: 21.44 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.000186/0.3005, allocations: 0.754 MB / 0.7149 GB, free: 20.68 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002021/0.3007, allocations: 499.6 kB / 0.7154 GB, free: 20.18 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002964/0.301, allocations: 295.5 kB / 0.7157 GB, free: 19.89 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 4.838e-05/0.3011, allocations: 357.7 kB / 0.716 GB, free: 19.54 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001016/0.3021, allocations: 1.335 MB / 0.7173 GB, free: 18.2 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001164/0.3032, allocations: 1.66 MB / 0.719 GB, free: 16.43 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002165/0.3054, allocations: 3.084 MB / 0.722 GB, free: 13.23 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.742e-06/0.3054, allocations: 5.125 kB / 0.722 GB, free: 13.22 MB / 0.5573 GB Notification: Performance of matching and sorting (n=191) (initialization): time 0.005979/0.3114, allocations: 5.56 MB / 0.7274 GB, free: 7.637 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 2.535e-05/0.3114, allocations: 8 kB / 0.7274 GB, free: 7.629 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.506e-05/0.3114, allocations: 16.61 kB / 0.7274 GB, free: 7.613 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004347/0.3158, allocations: 2.714 MB / 0.7301 GB, free: 4.891 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004847/0.3163, allocations: 195.6 kB / 0.7303 GB, free: 4.699 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0209/0.3372, allocations: 24.99 MB / 0.7547 GB, free: 11.25 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009692/0.3381, allocations: 107.3 kB / 0.7548 GB, free: 11.15 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.532e-05/0.3382, allocations: 59.52 kB / 0.7548 GB, free: 11.09 MB / 0.5886 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.0009027/0.3391, allocations: 0.7327 MB / 0.7555 GB, free: 10.35 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001503/0.3393, allocations: 123.2 kB / 0.7557 GB, free: 10.23 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006394/0.3457, allocations: 5.31 MB / 0.7608 GB, free: 4.895 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.308e-06/0.3457, allocations: 12 kB / 0.7609 GB, free: 4.883 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.627e-05/0.3457, allocations: 20 kB / 0.7609 GB, free: 4.863 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.014e-05/0.3457, allocations: 3.984 kB / 0.7609 GB, free: 4.859 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009478/0.3552, allocations: 8.26 MB / 0.769 GB, free: 12.48 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.283e-06/0.3552, allocations: 4 kB / 0.769 GB, free: 12.48 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002509/0.3554, allocations: 119.8 kB / 0.7691 GB, free: 12.36 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004638/0.3601, allocations: 2.587 MB / 0.7716 GB, free: 9.762 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001071/0.3602, allocations: 24 kB / 0.7716 GB, free: 9.738 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02078/0.381, allocations: 23.44 MB / 0.7945 GB, free: 1.84 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.517e-06/0.381, allocations: 8 kB / 0.7945 GB, free: 1.832 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006273/0.3872, allocations: 5.167 MB / 0.7996 GB, free: 12.58 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006639/0.3879, allocations: 431 kB / 0.8 GB, free: 12.16 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000123/0.388, allocations: 31.98 kB / 0.8 GB, free: 12.13 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004688/0.3885, allocations: 75.91 kB / 0.8001 GB, free: 12.05 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000379/0.3889, allocations: 128.9 kB / 0.8002 GB, free: 11.93 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.233e-05/0.3889, allocations: 36 kB / 0.8002 GB, free: 11.89 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0005685/0.3895, allocations: 0.6434 MB / 0.8009 GB, free: 11.25 MB / 0.6355 GB Notification: Performance of sort global known variables: time 8e-08/0.3895, allocations: 4 kB / 0.8009 GB, free: 11.25 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001616/0.3911, allocations: 0.7265 MB / 0.8016 GB, free: 10.52 MB / 0.6355 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.006323/0.3975, allocations: 5.742 MB / 0.8072 GB, free: 4.691 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.004308/0.4018, allocations: 4.073 MB / 0.8112 GB, free: 0.5703 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 5.661e-06/0.4018, allocations: 4 kB / 0.8112 GB, free: 0.5664 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0029/0.4047, allocations: 2.612 MB / 0.8137 GB, free: 13.91 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009056/0.4056, allocations: 221 kB / 0.8139 GB, free: 13.71 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0242/0.4298, allocations: 21.38 MB / 0.8348 GB, free: 7.875 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001019/0.4308, allocations: 1.113 MB / 0.8359 GB, free: 6.727 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0005209/0.4313, allocations: 328.3 kB / 0.8362 GB, free: 6.41 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004456/0.4318, allocations: 0.5316 MB / 0.8367 GB, free: 5.879 MB / 0.6667 GB Notification: Performance of SimCode: time 1.042e-06/0.4318, allocations: 0 / 0.8367 GB, free: 5.879 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06526/0.497, allocations: 56.1 MB / 0.8915 GB, free: 14.32 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.726/8.223, allocations: 3.859 kB / 0.8915 GB, free: 14.32 MB / 0.7292 GB " [Timeout remaining time 652] (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 & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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: 10.875811059959233] Failed to read output from testmodel.py, exit status != 0: 8.323908092454076 8.333081388 8.092026311 Calling exit ...