Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.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.001351/0.001351, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001538/0.001538, allocations: 215.4 kB / 22.25 MB, free: 5.262 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.428/1.428, allocations: 230.6 MB / 256 MB, free: 7.781 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.004032/0.004032, allocations: 300.8 kB / 312.7 MB, free: 2.602 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.214/1.214, allocations: 180.6 MB / 0.5369 GB, free: 14.46 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.ThreePhasesBalanced.Lines.Examples.ACLine_RL,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL",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.003046/0.003046, allocations: 101.6 kB / 0.7395 GB, free: 28.3 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1767/0.1798, allocations: 95.39 MB / 0.8327 GB, free: 8.352 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL): time 0.008157/0.188, allocations: 5.353 MB / 0.8379 GB, free: 2.973 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.005204/0.1932, allocations: 2.615 MB / 0.8404 GB, free: 356 kB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004361/0.1936, allocations: 35.69 kB / 0.8405 GB, free: 320 kB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002069/0.1957, allocations: 0.6868 MB / 0.8411 GB, free: 15.62 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001051/0.1967, allocations: 421.8 kB / 0.8415 GB, free: 15.21 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001092/0.1978, allocations: 421 kB / 0.8419 GB, free: 14.8 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001306/0.1991, allocations: 0.9555 MB / 0.8429 GB, free: 13.84 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006723/0.1998, allocations: 374.5 kB / 0.8432 GB, free: 13.47 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006542/0.2004, allocations: 394.5 kB / 0.8436 GB, free: 13.09 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006748/0.2011, allocations: 406.3 kB / 0.844 GB, free: 12.69 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 8.478e-05/0.2012, allocations: 48 kB / 0.844 GB, free: 12.64 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006822/0.2019, allocations: 331.3 kB / 0.8444 GB, free: 12.32 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.000315/0.2022, allocations: 255.2 kB / 0.8446 GB, free: 12.07 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0003364/0.2025, allocations: 286.7 kB / 0.8449 GB, free: 11.79 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001288/0.2038, allocations: 0.9845 MB / 0.8458 GB, free: 10.8 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.2038, allocations: 0 / 0.8458 GB, free: 10.8 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.753e-06/0.2038, allocations: 0 / 0.8458 GB, free: 10.8 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.372e-05/0.2038, allocations: 0 / 0.8458 GB, free: 10.8 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: 140 * Number of variables: 140 Notification: Performance of Generate backend data structure: time 0.001761/0.2056, allocations: 0.9286 MB / 0.8467 GB, free: 9.832 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.165e-05/0.2056, allocations: 9.344 kB / 0.8468 GB, free: 9.824 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001253/0.2058, allocations: 98.7 kB / 0.8468 GB, free: 9.719 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001376/0.2071, allocations: 204.2 kB / 0.847 GB, free: 9.52 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009899/0.2081, allocations: 472.8 kB / 0.8475 GB, free: 9.031 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.315e-05/0.2082, allocations: 41.36 kB / 0.8475 GB, free: 8.992 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001509/0.2083, allocations: 44.56 kB / 0.8476 GB, free: 8.949 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001448/0.2098, allocations: 0.9861 MB / 0.8485 GB, free: 7.844 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.586e-05/0.2098, allocations: 4 kB / 0.8485 GB, free: 7.84 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.003e-05/0.2099, allocations: 19.98 kB / 0.8486 GB, free: 7.82 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002113/0.2101, allocations: 76.88 kB / 0.8486 GB, free: 7.742 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001006/0.2111, allocations: 0.5696 MB / 0.8492 GB, free: 7.176 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004794/0.2159, allocations: 3.573 MB / 0.8527 GB, free: 3.461 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004998/0.2164, allocations: 271.3 kB / 0.8529 GB, free: 3.188 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003344/0.2167, allocations: 213.3 kB / 0.8531 GB, free: 2.977 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 2.765e-05/0.2167, allocations: 4.281 kB / 0.8531 GB, free: 2.973 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.592e-05/0.2168, allocations: 38.78 kB / 0.8532 GB, free: 2.926 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=33): time 2.043e-06/0.2168, allocations: 0 / 0.8532 GB, free: 2.926 MB / 0.5919 GB Notification: Performance of matching and sorting (n=40): time 0.005977/0.2227, allocations: 2.355 MB / 0.8555 GB, free: 0.5195 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.716e-05/0.2228, allocations: 59.34 kB / 0.8555 GB, free: 460 kB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005967/0.2234, allocations: 473.9 kB / 0.856 GB, free: 15.97 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 5.261e-05/0.2234, allocations: 37.7 kB / 0.856 GB, free: 15.93 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.000303/0.2237, allocations: 356.5 kB / 0.8564 GB, free: 15.57 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001536/0.2239, allocations: 150.7 kB / 0.8565 GB, free: 15.43 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001761/0.2241, allocations: 102.3 kB / 0.8566 GB, free: 15.32 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0002606/0.2243, allocations: 366.8 kB / 0.857 GB, free: 14.95 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004402/0.2248, allocations: 237.2 kB / 0.8572 GB, free: 14.72 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005399/0.2253, allocations: 407.4 kB / 0.8576 GB, free: 14.25 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009866/0.2263, allocations: 0.6789 MB / 0.8582 GB, free: 13.5 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.17e-06/0.2263, allocations: 4 kB / 0.8582 GB, free: 13.49 MB / 0.6075 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001848/0.2282, allocations: 0.9134 MB / 0.8591 GB, free: 12.56 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.258e-05/0.2282, allocations: 8.656 kB / 0.8591 GB, free: 12.55 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.084e-05/0.2282, allocations: 4 kB / 0.8591 GB, free: 12.55 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008402/0.229, allocations: 230.4 kB / 0.8594 GB, free: 12.32 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005415/0.2296, allocations: 115.8 kB / 0.8595 GB, free: 12.2 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005943/0.2355, allocations: 5.003 MB / 0.8644 GB, free: 6.855 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005243/0.236, allocations: 35.97 kB / 0.8644 GB, free: 6.82 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.366e-05/0.2361, allocations: 20 kB / 0.8644 GB, free: 6.801 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * 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 (58): * Single equations (assignments): 55 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,4,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000348/0.2364, allocations: 227.6 kB / 0.8646 GB, free: 6.574 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000104/0.2365, allocations: 59.61 kB / 0.8647 GB, free: 6.516 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001689/0.2382, allocations: 0.7698 MB / 0.8654 GB, free: 5.73 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.951e-06/0.2382, allocations: 4 kB / 0.8654 GB, free: 5.727 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.539e-06/0.2382, allocations: 0 / 0.8654 GB, free: 5.727 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.051e-06/0.2382, allocations: 3.984 kB / 0.8654 GB, free: 5.723 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002751/0.241, allocations: 1.403 MB / 0.8668 GB, free: 4.238 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.803e-06/0.241, allocations: 4 kB / 0.8668 GB, free: 4.234 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003872/0.2414, allocations: 59.95 kB / 0.8669 GB, free: 4.176 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007213/0.2421, allocations: 210.7 kB / 0.8671 GB, free: 3.961 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.783e-05/0.2421, allocations: 16 kB / 0.8671 GB, free: 3.945 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005726/0.2479, allocations: 4.941 MB / 0.8719 GB, free: 14.66 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.245e-06/0.2479, allocations: 3.938 kB / 0.8719 GB, free: 14.66 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002007/0.2499, allocations: 1.132 MB / 0.873 GB, free: 13.48 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002937/0.2502, allocations: 95.56 kB / 0.8731 GB, free: 13.38 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.845e-05/0.2503, allocations: 11.98 kB / 0.8731 GB, free: 13.37 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003367/0.2506, allocations: 23.97 kB / 0.8732 GB, free: 13.35 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.228e-05/0.2507, allocations: 35.94 kB / 0.8732 GB, free: 13.31 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.89e-05/0.2507, allocations: 16.06 kB / 0.8732 GB, free: 13.3 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0004008/0.2511, allocations: 314.9 kB / 0.8735 GB, free: 12.99 MB / 0.6231 GB Notification: Performance of sort global known variables: time 7e-08/0.2511, allocations: 0 / 0.8735 GB, free: 12.99 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0007095/0.2518, allocations: 168 kB / 0.8737 GB, free: 12.83 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (RL_3.i_p[1],RL_3.i_p[2]) * 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 (30): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002395/0.2542, allocations: 1.688 MB / 0.8753 GB, free: 11.08 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001828/0.256, allocations: 0.9654 MB / 0.8763 GB, free: 10.07 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 4.899e-06/0.2561, allocations: 4.125 kB / 0.8763 GB, free: 10.07 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.001079/0.2571, allocations: 0.668 MB / 0.8769 GB, free: 9.363 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009451/0.2581, allocations: 182.6 kB / 0.8771 GB, free: 9.195 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00843/0.2665, allocations: 5.651 MB / 0.8826 GB, free: 3.262 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004108/0.2669, allocations: 350.3 kB / 0.8829 GB, free: 2.895 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.000363/0.2673, allocations: 121 kB / 0.8831 GB, free: 2.777 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002956/0.2676, allocations: 211.4 kB / 0.8833 GB, free: 2.57 MB / 0.6231 GB Notification: Performance of SimCode: time 7.81e-07/0.2676, allocations: 0 / 0.8833 GB, free: 2.57 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0565/0.3241, allocations: 15.72 MB / 0.8986 GB, free: 3.238 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.95/12.27, allocations: 7.875 kB / 0.8986 GB, free: 3.23 MB / 0.6387 GB " [Timeout remaining time 648] (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL.fmu > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.42862632777542] Failed to read output from testmodel.py, exit status != 0: 12.390437527094036 12.415361552 12.206882975 Calling exit ...