Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.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.0007645/0.0007645, 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.0007825/0.0007825, 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.8729/0.8729, allocations: 177.1 MB / 202.8 MB, free: 5.738 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.001394/0.001394, allocations: 229.1 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.6875/0.6875, allocations: 138.4 MB / 454.3 MB, free: 29.96 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.ACLine_RL_N,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.633e-06/1.633e-06, allocations: 0 / 0.6463 GB, free: 1.84 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.704e-05/1.867e-05, allocations: 6.219 kB / 0.6463 GB, free: 1.832 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N): time 0.2529/0.253, allocations: 19.12 MB / 0.665 GB, free: 46.55 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.007335/0.2603, allocations: 6.381 MB / 0.6712 GB, free: 42.44 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001345/0.2616, allocations: 115.3 kB / 0.6713 GB, free: 42.39 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.002434/0.2641, allocations: 2.251 MB / 0.6735 GB, free: 41.13 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.001978/0.266, allocations: 1.286 MB / 0.6748 GB, free: 40.32 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.00204/0.2681, allocations: 1.293 MB / 0.676 GB, free: 39.6 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.003335/0.2714, allocations: 4.955 MB / 0.6809 GB, free: 37.31 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002957/0.2744, allocations: 3.159 MB / 0.684 GB, free: 35.74 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003236/0.2776, allocations: 3.008 MB / 0.6869 GB, free: 34.3 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002597/0.2802, allocations: 2.196 MB / 0.689 GB, free: 33.58 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 0.0004928/0.2807, allocations: 428.8 kB / 0.6895 GB, free: 33.58 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001533/0.2822, allocations: 0.9535 MB / 0.6904 GB, free: 33.38 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.001327/0.2836, allocations: 1.782 MB / 0.6921 GB, free: 32.55 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.00133/0.2849, allocations: 1.336 MB / 0.6934 GB, free: 31.9 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.005632/0.2905, allocations: 6.65 MB / 0.6999 GB, free: 28.37 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/0.2905, allocations: 0.6562 kB / 0.6999 GB, free: 28.37 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.593e-06/0.2905, allocations: 0 / 0.6999 GB, free: 28.37 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 0.0001116/0.2906, allocations: 5.469 kB / 0.6999 GB, free: 28.36 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: 798 * Number of variables: 798 Notification: Performance of Generate backend data structure: time 0.004615/0.2953, allocations: 3.431 MB / 0.7033 GB, free: 26.02 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 5.522e-05/0.2953, allocations: 11.72 kB / 0.7033 GB, free: 26.02 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004024/0.2957, allocations: 454.8 kB / 0.7037 GB, free: 25.7 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001958/0.2977, allocations: 0.66 MB / 0.7044 GB, free: 25.38 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002396/0.3001, allocations: 1.99 MB / 0.7063 GB, free: 24.09 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001115/0.3002, allocations: 225 kB / 0.7065 GB, free: 23.99 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003279/0.3005, allocations: 292.6 kB / 0.7068 GB, free: 23.89 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005167/0.3057, allocations: 5.239 MB / 0.7119 GB, free: 20.45 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.461e-05/0.3057, allocations: 20.8 kB / 0.7119 GB, free: 20.43 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002092/0.3059, allocations: 131 kB / 0.7121 GB, free: 20.34 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002621/0.3062, allocations: 232.2 kB / 0.7123 GB, free: 20.27 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003936/0.3101, allocations: 3.748 MB / 0.7159 GB, free: 18.34 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009859/0.32, allocations: 13.55 MB / 0.7292 GB, free: 5.809 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009754/0.321, allocations: 1.231 MB / 0.7304 GB, free: 4.582 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007686/0.3217, allocations: 0.9847 MB / 0.7313 GB, free: 3.594 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 4.968e-05/0.3218, allocations: 16.94 kB / 0.7314 GB, free: 3.578 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.424e-05/0.3218, allocations: 47.56 kB / 0.7314 GB, free: 3.523 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=107): time 3.136e-06/0.3218, allocations: 0 / 0.7314 GB, free: 3.523 MB / 0.5573 GB Notification: Performance of matching and sorting (n=138): time 0.01314/0.335, allocations: 8.432 MB / 0.7396 GB, free: 11.09 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.166e-05/0.335, allocations: 64.72 kB / 0.7397 GB, free: 11.01 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001033/0.336, allocations: 1.154 MB / 0.7408 GB, free: 9.852 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 6.459e-05/0.3361, allocations: 45.7 kB / 0.7409 GB, free: 9.801 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.000613/0.3367, allocations: 1.335 MB / 0.7422 GB, free: 8.453 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002587/0.337, allocations: 0.4919 MB / 0.7427 GB, free: 7.957 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003019/0.3373, allocations: 287.5 kB / 0.7429 GB, free: 7.672 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 6.531e-05/0.3373, allocations: 309 kB / 0.7432 GB, free: 7.367 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008501/0.3382, allocations: 0.9135 MB / 0.7441 GB, free: 6.453 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001048/0.3392, allocations: 1.326 MB / 0.7454 GB, free: 4.953 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002073/0.3413, allocations: 2.43 MB / 0.7478 GB, free: 2.355 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.071e-06/0.3413, allocations: 4 kB / 0.7478 GB, free: 2.352 MB / 0.573 GB Notification: Performance of matching and sorting (n=203) (initialization): time 0.003787/0.3451, allocations: 3.422 MB / 0.7511 GB, free: 14.91 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.449e-05/0.3451, allocations: 16.62 kB / 0.7511 GB, free: 14.89 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.351e-05/0.3451, allocations: 12 kB / 0.7512 GB, free: 14.88 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001827/0.347, allocations: 1.183 MB / 0.7523 GB, free: 13.7 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005138/0.3475, allocations: 255.6 kB / 0.7526 GB, free: 13.45 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01106/0.3585, allocations: 13.35 MB / 0.7656 GB, free: 15.76 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009233/0.3595, allocations: 87.97 kB / 0.7657 GB, free: 15.67 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.656e-05/0.3595, allocations: 64 kB / 0.7657 GB, free: 15.61 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * 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 (132): * Single equations (assignments): 129 * 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 {(5,17,84.0%), (5,17,92.0%), (5,25,88.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001644/0.3612, allocations: 1.118 MB / 0.7668 GB, free: 14.48 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001564/0.3613, allocations: 167 kB / 0.767 GB, free: 14.32 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003466/0.3648, allocations: 3.126 MB / 0.77 GB, free: 11.16 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.494e-06/0.3648, allocations: 16 kB / 0.7701 GB, free: 11.15 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.507e-06/0.3648, allocations: 16 kB / 0.7701 GB, free: 11.13 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.598e-06/0.3648, allocations: 7.969 kB / 0.7701 GB, free: 11.12 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006345/0.3712, allocations: 5.905 MB / 0.7758 GB, free: 5.09 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.791e-06/0.3712, allocations: 4 kB / 0.7759 GB, free: 5.086 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003054/0.3715, allocations: 151.7 kB / 0.776 GB, free: 4.938 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001667/0.3732, allocations: 1.082 MB / 0.7771 GB, free: 3.852 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.435e-05/0.3732, allocations: 24 kB / 0.7771 GB, free: 3.828 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01036/0.3836, allocations: 13.04 MB / 0.7898 GB, free: 6.457 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.761e-06/0.3836, allocations: 11.94 kB / 0.7898 GB, free: 6.445 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00343/0.387, allocations: 3.112 MB / 0.7929 GB, free: 3.246 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005914/0.3876, allocations: 362.3 kB / 0.7932 GB, free: 2.895 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001106/0.3877, allocations: 31.98 kB / 0.7932 GB, free: 2.863 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004443/0.3882, allocations: 87.83 kB / 0.7933 GB, free: 2.777 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002264/0.3884, allocations: 128.6 kB / 0.7934 GB, free: 2.652 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.558e-05/0.3884, allocations: 36 kB / 0.7935 GB, free: 2.617 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0007316/0.3892, allocations: 0.7749 MB / 0.7942 GB, free: 1.84 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.71e-07/0.3892, allocations: 0 / 0.7942 GB, free: 1.84 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.001468/0.3906, allocations: 0.6562 MB / 0.7949 GB, free: 1.184 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (70): * Single equations (assignments): 67 * 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 {(5,17,84.0%), (5,25,88.0%), (5,17,92.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.003457/0.3941, allocations: 3.698 MB / 0.7985 GB, free: 13.39 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.003144/0.3972, allocations: 3.01 MB / 0.8014 GB, free: 10.34 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/0.3972, allocations: 0.75 kB / 0.8014 GB, free: 10.34 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.001755/0.399, allocations: 1.869 MB / 0.8032 GB, free: 8.434 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001386/0.4004, allocations: 0.5036 MB / 0.8037 GB, free: 7.969 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02136/0.4217, allocations: 19.21 MB / 0.8225 GB, free: 4.176 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001514/0.4233, allocations: 1.773 MB / 0.8242 GB, free: 2.367 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0007265/0.424, allocations: 350.1 kB / 0.8246 GB, free: 2.02 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008293/0.4248, allocations: 1.012 MB / 0.8255 GB, free: 1.004 MB / 0.6511 GB Notification: Performance of SimCode: time 1.182e-06/0.4248, allocations: 0 / 0.8255 GB, free: 1.004 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07751/0.5023, allocations: 55.92 MB / 0.8802 GB, free: 9.969 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.802/8.304, allocations: 7.172 kB / 0.8802 GB, free: 9.965 MB / 0.7136 GB " [Timeout remaining time 652] (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N_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_ACLine_RL_N.fmu > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.035838038660586] Failed to read output from testmodel.py, exit status != 0: 8.410156744532287 8.423444979 8.129442162 Calling exit ...