Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_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.00133/0.00133, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001561/0.001561, allocations: 208.8 kB / 22.24 MB, free: 4.859 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.593/1.593, allocations: 230.6 MB / 256 MB, free: 8.004 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.002571/0.002571, allocations: 279 kB / 312.7 MB, free: 2.652 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.243/1.243, allocations: 180.6 MB / 0.5369 GB, free: 14.54 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.ACLineMatrix_RL_N,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N",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.00302/0.00302, allocations: 109 kB / 0.7395 GB, free: 28.1 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1623/0.1653, allocations: 95.39 MB / 0.8327 GB, free: 8.387 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N): time 0.02973/0.1951, allocations: 22.24 MB / 0.8544 GB, free: 2.074 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01426/0.2093, allocations: 6.453 MB / 0.8607 GB, free: 11.6 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002631/0.212, allocations: 127.1 kB / 0.8608 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.004771/0.2167, allocations: 1.505 MB / 0.8623 GB, free: 9.965 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.005063/0.2218, allocations: 1.945 MB / 0.8642 GB, free: 8.012 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.00396/0.2258, allocations: 1.468 MB / 0.8656 GB, free: 6.547 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.008388/0.2342, allocations: 6.897 MB / 0.8723 GB, free: 15.63 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007262/0.2414, allocations: 3.73 MB / 0.876 GB, free: 11.8 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006206/0.2476, allocations: 2.933 MB / 0.8788 GB, free: 8.859 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006365/0.254, allocations: 3.563 MB / 0.8823 GB, free: 5.285 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.001553/0.2555, allocations: 0.5273 MB / 0.8828 GB, free: 4.758 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003588/0.2591, allocations: 1.108 MB / 0.8839 GB, free: 3.648 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.004322/0.2634, allocations: 2.537 MB / 0.8864 GB, free: 1.105 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.005627/0.2691, allocations: 2.054 MB / 0.8884 GB, free: 15.04 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.01222/0.2813, allocations: 8.589 MB / 0.8968 GB, free: 6.426 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 7.574e-06/0.2813, allocations: 0 / 0.8968 GB, free: 6.426 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.245e-06/0.2813, allocations: 0 / 0.8968 GB, free: 6.426 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 0.0002801/0.2816, allocations: 0 / 0.8968 GB, free: 6.426 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: 1053 * Number of variables: 1053 Notification: Performance of Generate backend data structure: time 0.01123/0.2928, allocations: 4.472 MB / 0.9012 GB, free: 1.898 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.828e-05/0.2929, allocations: 13.34 kB / 0.9012 GB, free: 1.887 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001436/0.2943, allocations: 0.5675 MB / 0.9017 GB, free: 1.309 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008802/0.3031, allocations: 1.699 MB / 0.9034 GB, free: 15.61 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00699/0.3101, allocations: 2.672 MB / 0.906 GB, free: 12.89 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002655/0.3104, allocations: 279.7 kB / 0.9063 GB, free: 12.62 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001097/0.3115, allocations: 360.3 kB / 0.9066 GB, free: 12.27 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01402/0.3255, allocations: 7.716 MB / 0.9141 GB, free: 4.227 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.32e-05/0.3256, allocations: 15.88 kB / 0.9142 GB, free: 4.211 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004577/0.326, allocations: 159.9 kB / 0.9143 GB, free: 4.055 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006279/0.3267, allocations: 479.3 kB / 0.9148 GB, free: 3.586 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01099/0.3376, allocations: 5.693 MB / 0.9203 GB, free: 13.89 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03651/0.3742, allocations: 20.56 MB / 0.9404 GB, free: 8.852 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003218/0.3774, allocations: 2.024 MB / 0.9424 GB, free: 6.82 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003218/0.3806, allocations: 2.092 MB / 0.9444 GB, free: 4.723 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001313/0.3807, allocations: 21.3 kB / 0.9444 GB, free: 4.703 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.768e-05/0.3808, allocations: 51.88 kB / 0.9445 GB, free: 4.641 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=146): time 3.577e-06/0.3808, allocations: 0 / 0.9445 GB, free: 4.641 MB / 0.6856 GB Notification: Performance of matching and sorting (n=251): time 0.6781/1.059, allocations: 76.71 MB / 1.019 GB, free: 117 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.745e-05/1.059, allocations: 77.41 kB / 1.019 GB, free: 116.9 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002313/1.061, allocations: 1.696 MB / 1.021 GB, free: 115.2 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0003914/1.062, allocations: 69.7 kB / 1.021 GB, free: 115.1 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007633/1.062, allocations: 1.794 MB / 1.023 GB, free: 113.5 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007565/1.063, allocations: 0.897 MB / 1.024 GB, free: 112.6 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009593/1.064, allocations: 489.4 kB / 1.024 GB, free: 112.1 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.457e-05/1.064, allocations: 301.1 kB / 1.025 GB, free: 111.8 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003072/1.067, allocations: 2.73 MB / 1.027 GB, free: 109.1 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003222/1.07, allocations: 3.328 MB / 1.031 GB, free: 105.5 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006555/1.077, allocations: 6.393 MB / 1.037 GB, free: 98.87 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.161e-05/1.077, allocations: 10.78 kB / 1.037 GB, free: 98.86 MB / 0.7169 GB Notification: Performance of matching and sorting (n=331) (initialization): time 0.02804/1.105, allocations: 14.41 MB / 1.051 GB, free: 84.4 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.835e-05/1.105, allocations: 12 kB / 1.051 GB, free: 84.39 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.193e-05/1.105, allocations: 20 kB / 1.051 GB, free: 84.37 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02629/1.131, allocations: 9.196 MB / 1.06 GB, free: 75.16 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001111/1.132, allocations: 299.4 kB / 1.06 GB, free: 74.87 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06599/1.198, allocations: 51.03 MB / 1.11 GB, free: 23.17 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002826/1.201, allocations: 227.7 kB / 1.11 GB, free: 22.95 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002736/1.202, allocations: 96 kB / 1.11 GB, free: 22.86 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (157): * Single equations (assignments): 151 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(19,19,64.8%), (19,19,60.9%), (12,18,50.0%), (12,18,50.0%), (12,10,52.8%), (12,10,52.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002144/1.204, allocations: 1.591 MB / 1.112 GB, free: 21.25 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000544/1.204, allocations: 254.6 kB / 1.112 GB, free: 21 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02824/1.232, allocations: 14.47 MB / 1.126 GB, free: 6.477 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.01e-05/1.233, allocations: 24 kB / 1.126 GB, free: 6.453 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.000107/1.233, allocations: 44 kB / 1.126 GB, free: 6.41 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.452e-05/1.233, allocations: 15.7 kB / 1.126 GB, free: 6.398 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04243/1.275, allocations: 19.54 MB / 1.145 GB, free: 2.719 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.641e-05/1.275, allocations: 8 kB / 1.145 GB, free: 2.711 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007932/1.276, allocations: 155.8 kB / 1.146 GB, free: 2.559 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.03163/1.308, allocations: 8.98 MB / 1.154 GB, free: 9.555 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006637/1.308, allocations: 48 kB / 1.154 GB, free: 9.508 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.08809/1.396, allocations: 50.61 MB / 1.204 GB, free: 6.23 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.948e-06/1.396, allocations: 7.938 kB / 1.204 GB, free: 6.223 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03488/1.431, allocations: 14.09 MB / 1.218 GB, free: 7.996 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002941/1.434, allocations: 0.787 MB / 1.218 GB, free: 7.207 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006133/1.435, allocations: 48 kB / 1.218 GB, free: 7.16 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002339/1.437, allocations: 215.6 kB / 1.219 GB, free: 6.949 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001225/1.438, allocations: 250.5 kB / 1.219 GB, free: 6.707 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000234/1.439, allocations: 64 kB / 1.219 GB, free: 6.645 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.001759/1.44, allocations: 1.125 MB / 1.22 GB, free: 5.496 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.1e-07/1.44, allocations: 0 / 1.22 GB, free: 5.496 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.005229/1.446, allocations: 1.613 MB / 1.222 GB, free: 3.883 MB / 0.8106 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (80): * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(12,10,53.5%), (12,18,50.0%), (19,19,64.8%), (12,10,53.5%), (12,18,50.0%), (19,19,54.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.03529/1.481, allocations: 14.71 MB / 1.236 GB, free: 5.02 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.02477/1.506, allocations: 10.2 MB / 1.246 GB, free: 10.76 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.227e-05/1.506, allocations: 4.875 kB / 1.246 GB, free: 10.75 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0192/1.525, allocations: 7.001 MB / 1.253 GB, free: 3.699 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00339/1.528, allocations: 0.5629 MB / 1.253 GB, free: 3.164 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1087/1.637, allocations: 50.51 MB / 1.303 GB, free: 15.59 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004127/1.641, allocations: 2.685 MB / 1.305 GB, free: 12.86 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.001193/1.642, allocations: 387.3 kB / 1.306 GB, free: 12.48 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001895/1.644, allocations: 1.464 MB / 1.307 GB, free: 11.02 MB / 0.9044 GB Notification: Performance of SimCode: time 1.263e-06/1.644, allocations: 3.938 kB / 1.307 GB, free: 11.01 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5363/2.18, allocations: 129.3 MB / 1.433 GB, free: 252 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.71/16.89, allocations: 10.84 kB / 1.433 GB, free: 252 MB / 0.92 GB " [Timeout remaining time 643] (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N.fmu > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 21.5226443069987] Failed to read output from testmodel.py, exit status != 0: 17.05798042193055 17.069531333 16.78564095 Calling exit ...