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.001245/0.001245, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.001404/0.001404, allocations: 218 kB / 23.04 MB, free: 5.074 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.443/1.443, allocations: 230.6 MB / 256.8 MB, free: 8 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.002524/0.002524, allocations: 282.4 kB / 313.5 MB, free: 2.801 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.28/1.28, allocations: 180.6 MB / 0.5377 GB, free: 12.98 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.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N",fmuType="cs",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="cs",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.002884/0.002884, allocations: 96.11 kB / 0.7404 GB, free: 28.25 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1649/0.1677, allocations: 95.38 MB / 0.8335 GB, free: 8.668 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N): time 0.02703/0.1948, allocations: 21.22 MB / 0.8542 GB, free: 3.367 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01229/0.2071, allocations: 6.714 MB / 0.8608 GB, free: 12.64 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001951/0.209, allocations: 111.2 kB / 0.8609 GB, free: 12.53 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.006069/0.2151, allocations: 2.339 MB / 0.8632 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.00347/0.2186, allocations: 1.236 MB / 0.8644 GB, free: 8.941 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.00337/0.2219, allocations: 1.328 MB / 0.8657 GB, free: 7.613 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.006482/0.2284, allocations: 4.847 MB / 0.8704 GB, free: 2.754 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005139/0.2335, allocations: 3.174 MB / 0.8735 GB, free: 15.51 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003903/0.2375, allocations: 2.15 MB / 0.8756 GB, free: 13.35 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004696/0.2421, allocations: 2.481 MB / 0.878 GB, free: 10.86 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.001203/0.2433, allocations: 432 kB / 0.8785 GB, free: 10.44 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003004/0.2464, allocations: 1.018 MB / 0.8795 GB, free: 9.422 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.002353/0.2487, allocations: 1.715 MB / 0.8811 GB, free: 7.703 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.003298/0.252, allocations: 1.91 MB / 0.883 GB, free: 5.785 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.008261/0.2603, allocations: 6.53 MB / 0.8894 GB, free: 15.23 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 6.241e-06/0.2603, allocations: 0 / 0.8894 GB, free: 15.23 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.004e-06/0.2603, allocations: 0 / 0.8894 GB, free: 15.23 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 0.0002007/0.2605, allocations: 4 kB / 0.8894 GB, free: 15.23 MB / 0.6387 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.009261/0.2697, allocations: 3.466 MB / 0.8928 GB, free: 11.71 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 5.051e-05/0.2698, allocations: 17.27 kB / 0.8928 GB, free: 11.7 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001068/0.2699, allocations: 90.14 kB / 0.8929 GB, free: 11.61 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007399/0.2706, allocations: 454.6 kB / 0.8933 GB, free: 11.15 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003452/0.2741, allocations: 0.6468 MB / 0.8939 GB, free: 10.5 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004411/0.2785, allocations: 2.001 MB / 0.8959 GB, free: 8.449 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001878/0.2787, allocations: 222.3 kB / 0.8961 GB, free: 8.23 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005878/0.2793, allocations: 299.9 kB / 0.8964 GB, free: 7.938 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008935/0.2882, allocations: 4.882 MB / 0.9011 GB, free: 2.859 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.302e-05/0.2883, allocations: 19.89 kB / 0.9012 GB, free: 2.84 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003222/0.2886, allocations: 124 kB / 0.9013 GB, free: 2.719 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004616/0.2891, allocations: 229.7 kB / 0.9015 GB, free: 2.492 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006605/0.2957, allocations: 3.75 MB / 0.9052 GB, free: 14.73 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02755/0.3232, allocations: 21.24 MB / 0.9259 GB, free: 7.488 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00199/0.3252, allocations: 1.238 MB / 0.9271 GB, free: 6.242 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001511/0.3267, allocations: 0.9763 MB / 0.9281 GB, free: 5.266 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 6.561e-05/0.3268, allocations: 13 kB / 0.9281 GB, free: 5.25 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.893e-05/0.3268, allocations: 43.56 kB / 0.9281 GB, free: 5.199 MB / 0.67 GB Notification: Performance of pre-optimization done (n=107): time 2.555e-06/0.3268, allocations: 4 kB / 0.9281 GB, free: 5.195 MB / 0.67 GB Notification: Performance of matching and sorting (n=138): time 0.02559/0.3524, allocations: 8.436 MB / 0.9364 GB, free: 12.75 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.785e-05/0.3525, allocations: 64.72 kB / 0.9364 GB, free: 12.68 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00179/0.3543, allocations: 1.13 MB / 0.9375 GB, free: 11.54 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.000166/0.3544, allocations: 49.7 kB / 0.9376 GB, free: 11.48 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.001084/0.3555, allocations: 1.339 MB / 0.9389 GB, free: 10.13 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006034/0.3561, allocations: 0.4957 MB / 0.9394 GB, free: 9.633 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005321/0.3567, allocations: 291.4 kB / 0.9396 GB, free: 9.344 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.000138/0.3568, allocations: 309 kB / 0.9399 GB, free: 9.039 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001414/0.3582, allocations: 0.9135 MB / 0.9408 GB, free: 8.125 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001732/0.3599, allocations: 1.322 MB / 0.9421 GB, free: 6.637 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00332/0.3633, allocations: 2.426 MB / 0.9445 GB, free: 4.039 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.827e-06/0.3633, allocations: 4 kB / 0.9445 GB, free: 4.035 MB / 0.6856 GB Notification: Performance of matching and sorting (n=203) (initialization): time 0.006471/0.3697, allocations: 3.433 MB / 0.9478 GB, free: 0.582 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.663e-05/0.3698, allocations: 12 kB / 0.9479 GB, free: 0.5703 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.005e-05/0.3698, allocations: 12.09 kB / 0.9479 GB, free: 0.5586 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00331/0.3731, allocations: 1.189 MB / 0.949 GB, free: 15.36 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009273/0.374, allocations: 255.6 kB / 0.9493 GB, free: 15.11 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01891/0.3929, allocations: 13.54 MB / 0.9625 GB, free: 1.234 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001312/0.3942, allocations: 95.97 kB / 0.9626 GB, free: 1.141 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002164/0.3945, allocations: 60 kB / 0.9627 GB, free: 1.082 MB / 0.7012 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.00192/0.3964, allocations: 1.121 MB / 0.9637 GB, free: 15.95 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003988/0.3968, allocations: 170.9 kB / 0.9639 GB, free: 15.78 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006087/0.4029, allocations: 3.126 MB / 0.967 GB, free: 12.63 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.646e-05/0.4029, allocations: 15.94 kB / 0.967 GB, free: 12.61 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.376e-05/0.4029, allocations: 12 kB / 0.967 GB, free: 12.6 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.487e-05/0.4029, allocations: 7.969 kB / 0.967 GB, free: 12.59 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01101/0.4139, allocations: 6.185 MB / 0.973 GB, free: 6.277 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.074e-05/0.414, allocations: 7.938 kB / 0.973 GB, free: 6.27 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005931/0.4146, allocations: 144.3 kB / 0.9732 GB, free: 6.129 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002949/0.4175, allocations: 1.075 MB / 0.9742 GB, free: 5.047 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.597e-05/0.4176, allocations: 31.98 kB / 0.9743 GB, free: 5.016 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01817/0.4358, allocations: 13.24 MB / 0.9872 GB, free: 7.438 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.176e-06/0.4358, allocations: 7.938 kB / 0.9872 GB, free: 7.43 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005955/0.4417, allocations: 3.12 MB / 0.9902 GB, free: 4.227 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000964/0.4427, allocations: 362.6 kB / 0.9906 GB, free: 3.875 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003619/0.4431, allocations: 28 kB / 0.9906 GB, free: 3.848 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001021/0.4441, allocations: 83.89 kB / 0.9907 GB, free: 3.766 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004034/0.4445, allocations: 136.6 kB / 0.9908 GB, free: 3.633 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001069/0.4446, allocations: 40 kB / 0.9909 GB, free: 3.594 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001351/0.4459, allocations: 0.7632 MB / 0.9916 GB, free: 2.828 MB / 0.7325 GB Notification: Performance of sort global known variables: time 9e-08/0.4459, allocations: 4 kB / 0.9916 GB, free: 2.824 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.002318/0.4483, allocations: 0.6641 MB / 0.9923 GB, free: 2.16 MB / 0.7325 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.3432/0.7915, allocations: 3.698 MB / 0.9959 GB, free: 146.7 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.004876/0.7964, allocations: 3.002 MB / 0.9988 GB, free: 146.3 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 7.755e-06/0.7964, allocations: 1.344 kB / 0.9988 GB, free: 146.3 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0028/0.7992, allocations: 1.892 MB / 1.001 GB, free: 145.8 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002108/0.8013, allocations: 0.5056 MB / 1.001 GB, free: 145.8 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02776/0.829, allocations: 19.18 MB / 1.02 GB, free: 137.5 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001783/0.8308, allocations: 2.341 MB / 1.022 GB, free: 136.4 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0009842/0.8318, allocations: 355.6 kB / 1.023 GB, free: 136.4 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008412/0.8326, allocations: 1.006 MB / 1.023 GB, free: 135.5 MB / 0.7325 GB Notification: Performance of SimCode: time 1.042e-06/0.8326, allocations: 0 / 1.023 GB, free: 135.5 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07777/0.9104, allocations: 54.22 MB / 1.076 GB, free: 87.52 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.62/15.53, allocations: 14.25 kB / 1.076 GB, free: 87.51 MB / 0.7325 GB " [Timeout remaining time 644] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 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: 20.09921461500926] Failed to read output from testmodel.py, exit status != 0: 15.714254279038869 15.730402229 15.466723742 Calling exit ...