Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.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.0008002/0.0008002, allocations: 80.44 kB / 19.17 MB, free: 0.7461 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.0008686/0.0008686, allocations: 165.9 kB / 22.45 MB, free: 2.109 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.876/0.876, allocations: 177.1 MB / 202.8 MB, free: 5.742 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.001396/0.001396, allocations: 240 kB / 259.4 MB, free: 13.02 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.6685/0.6685, 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.ThreePhasesBalanced.Lines.Examples.ACLineMedium,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.372e-06/1.372e-06, allocations: 0 / 0.6463 GB, free: 1.883 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.408e-05/1.545e-05, allocations: 6.219 kB / 0.6463 GB, free: 1.875 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium): time 0.2267/0.2267, allocations: 13.72 MB / 0.6597 GB, free: 49.7 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.0109/0.2376, allocations: 9.826 MB / 0.6693 GB, free: 43.51 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001203/0.2388, allocations: 76.88 kB / 0.6694 GB, free: 43.47 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.002029/0.2409, allocations: 1.693 MB / 0.671 GB, free: 42.52 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.003614/0.2445, allocations: 1.904 MB / 0.6729 GB, free: 41.41 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.001245/0.2457, allocations: 0.7738 MB / 0.6736 GB, free: 41 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.002093/0.2478, allocations: 2.846 MB / 0.6764 GB, free: 39.66 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00106/0.2489, allocations: 1.194 MB / 0.6776 GB, free: 39.04 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001599/0.2505, allocations: 2.007 MB / 0.6795 GB, free: 38.29 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001057/0.2515, allocations: 0.9819 MB / 0.6805 GB, free: 37.98 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 0.0001425/0.2517, allocations: 159.2 kB / 0.6806 GB, free: 37.98 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001034/0.2527, allocations: 0.7305 MB / 0.6814 GB, free: 37.78 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.0004571/0.2532, allocations: 0.6442 MB / 0.682 GB, free: 37.45 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.0006746/0.2538, allocations: 0.6519 MB / 0.6826 GB, free: 37.17 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.002903/0.2568, allocations: 2.797 MB / 0.6854 GB, free: 36.25 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.2568, allocations: 0 / 0.6854 GB, free: 36.25 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.883e-06/0.2568, allocations: 3.938 kB / 0.6854 GB, free: 36.25 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 3.183e-05/0.2568, allocations: 1.188 kB / 0.6854 GB, free: 36.25 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: 327 * Number of variables: 327 Notification: Performance of Generate backend data structure: time 0.00289/0.2597, allocations: 2.136 MB / 0.6874 GB, free: 34.93 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.389e-05/0.2597, allocations: 10.2 kB / 0.6875 GB, free: 34.93 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001771/0.2599, allocations: 193.3 kB / 0.6876 GB, free: 34.81 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006063/0.266, allocations: 2.124 MB / 0.6897 GB, free: 34.66 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002137/0.2681, allocations: 1.226 MB / 0.6909 GB, free: 33.98 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.346e-05/0.2682, allocations: 85.69 kB / 0.691 GB, free: 33.94 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001832/0.2683, allocations: 119.4 kB / 0.6911 GB, free: 33.9 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003406/0.2717, allocations: 3.079 MB / 0.6941 GB, free: 32.12 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.94e-05/0.2718, allocations: 10.55 kB / 0.6941 GB, free: 32.11 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001193/0.2719, allocations: 59.44 kB / 0.6942 GB, free: 32.07 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003373/0.2722, allocations: 192.7 kB / 0.6944 GB, free: 32 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003802/0.276, allocations: 2.783 MB / 0.6971 GB, free: 30.6 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007538/0.2836, allocations: 8.336 MB / 0.7052 GB, free: 24.39 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003252/0.2868, allocations: 2.168 MB / 0.7073 GB, free: 23.28 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001608/0.2884, allocations: 1.208 MB / 0.7085 GB, free: 22.66 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 5.31e-05/0.2885, allocations: 9.562 kB / 0.7085 GB, free: 22.66 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.533e-05/0.2885, allocations: 47.92 kB / 0.7086 GB, free: 22.61 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=89): time 2.685e-06/0.2885, allocations: 1.094 kB / 0.7086 GB, free: 22.61 MB / 0.5573 GB Notification: Performance of matching and sorting (n=153): time 0.02782/0.3163, allocations: 16 MB / 0.7242 GB, free: 11.12 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.732e-05/0.3164, allocations: 68.72 kB / 0.7243 GB, free: 11.04 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009303/0.3173, allocations: 1.191 MB / 0.7254 GB, free: 9.836 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 9.331e-05/0.3174, allocations: 49.7 kB / 0.7255 GB, free: 9.781 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002436/0.3176, allocations: 0.749 MB / 0.7262 GB, free: 9.027 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002508/0.3179, allocations: 0.5344 MB / 0.7267 GB, free: 8.488 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003113/0.3182, allocations: 291.5 kB / 0.727 GB, free: 8.199 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 2.655e-05/0.3182, allocations: 305.1 kB / 0.7273 GB, free: 7.898 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001644/0.3199, allocations: 1.507 MB / 0.7288 GB, free: 6.391 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001723/0.3216, allocations: 1.776 MB / 0.7305 GB, free: 4.52 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003452/0.325, allocations: 3.373 MB / 0.7338 GB, free: 1.047 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.639e-06/0.3251, allocations: 4 kB / 0.7338 GB, free: 1.043 MB / 0.5573 GB Notification: Performance of matching and sorting (n=190) (initialization): time 0.007161/0.3322, allocations: 5.217 MB / 0.7389 GB, free: 11.79 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 2.467e-05/0.3322, allocations: 10.03 kB / 0.7389 GB, free: 11.78 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.238e-05/0.3323, allocations: 8 kB / 0.7389 GB, free: 11.77 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003563/0.3358, allocations: 1.874 MB / 0.7407 GB, free: 9.875 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009734/0.3368, allocations: 415.2 kB / 0.7411 GB, free: 9.469 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01776/0.3545, allocations: 23.06 MB / 0.7637 GB, free: 1.531 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001754/0.3563, allocations: 307.5 kB / 0.7639 GB, free: 1.23 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001101/0.3564, allocations: 75.95 kB / 0.764 GB, free: 1.156 MB / 0.5886 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 (82): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,8,100.0%), (2,8,100.0%), (3,17,100.0%), (3,17,100.0%), (2,16,100.0%), (2,16,100.0%), (2,8,100.0%), (2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0007607/0.3572, allocations: 461.5 kB / 0.7645 GB, free: 0.6953 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002333/0.3574, allocations: 182.9 kB / 0.7646 GB, free: 0.5156 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007298/0.3647, allocations: 5.256 MB / 0.7698 GB, free: 11.23 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.07e-05/0.3647, allocations: 16 kB / 0.7698 GB, free: 11.21 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.217e-05/0.3647, allocations: 16.88 kB / 0.7698 GB, free: 11.2 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.113e-05/0.3647, allocations: 7.969 kB / 0.7698 GB, free: 11.19 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009681/0.3744, allocations: 6.966 MB / 0.7766 GB, free: 4.094 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.913e-06/0.3744, allocations: 4 kB / 0.7766 GB, free: 4.09 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008066/0.3752, allocations: 355.7 kB / 0.777 GB, free: 3.742 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003198/0.3784, allocations: 1.702 MB / 0.7786 GB, free: 2.02 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.998e-05/0.3785, allocations: 47.97 kB / 0.7787 GB, free: 1.973 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01731/0.3958, allocations: 22.21 MB / 0.8003 GB, free: 10.87 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/0.3958, allocations: 4 kB / 0.8004 GB, free: 10.86 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007212/0.4031, allocations: 4.818 MB / 0.8051 GB, free: 5.961 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009815/0.404, allocations: 434.6 kB / 0.8055 GB, free: 5.535 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001458/0.4042, allocations: 27.94 kB / 0.8055 GB, free: 5.508 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001081/0.4053, allocations: 327.9 kB / 0.8058 GB, free: 5.188 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000473/0.4057, allocations: 160.9 kB / 0.806 GB, free: 5.031 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.892e-05/0.4058, allocations: 47.97 kB / 0.806 GB, free: 4.984 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0007911/0.4066, allocations: 0.7899 MB / 0.8068 GB, free: 4.195 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.6e-07/0.4066, allocations: 0 / 0.8068 GB, free: 4.195 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001566/0.4082, allocations: 0.6639 MB / 0.8074 GB, free: 3.531 MB / 0.6355 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 (46): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,17,100.0%), (2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,17,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.007031/0.4152, allocations: 5.409 MB / 0.8127 GB, free: 14.03 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.006517/0.4217, allocations: 4.907 MB / 0.8175 GB, free: 9.016 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 5.26e-06/0.4217, allocations: 0 / 0.8175 GB, free: 9.016 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.003888/0.4256, allocations: 3.278 MB / 0.8207 GB, free: 5.637 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00178/0.4274, allocations: 0.561 MB / 0.8213 GB, free: 5.121 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02845/0.4558, allocations: 21.82 MB / 0.8426 GB, free: 14.81 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008323/0.4567, allocations: 0.9804 MB / 0.8435 GB, free: 13.79 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0009912/0.4577, allocations: 382.4 kB / 0.8439 GB, free: 13.41 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000854/0.4585, allocations: 0.6565 MB / 0.8445 GB, free: 12.75 MB / 0.6823 GB Notification: Performance of SimCode: time 1.162e-06/0.4585, allocations: 0 / 0.8445 GB, free: 12.75 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07992/0.5385, allocations: 63.9 MB / 0.9069 GB, free: 13.84 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.146/8.685, allocations: 7.031 kB / 0.9069 GB, free: 13.84 MB / 0.7448 GB " [Timeout remaining time 651] (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium.fmu > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.295415718108416] Failed to read output from testmodel.py, exit status != 0: 8.796169913373888 8.807067197 8.548093154 Calling exit ...