Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low") translateModel(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001086/0.001086, allocations: 107.9 kB / 16.38 MB, free: 6.004 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001116/0.001116, allocations: 192.7 kB / 17.31 MB, free: 5.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.453/1.453, allocations: 205.1 MB / 223.2 MB, free: 12.26 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.941/1.941, allocations: 292.3 MB / 0.5496 GB, free: 17.48 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0015/0.0015, allocations: 67.91 kB / 0.6729 GB, free: 5.867 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2215/0.223, allocations: 114.6 MB / 0.7848 GB, free: 3.191 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low): time 0.002914/0.226, allocations: 1.404 MB / 0.7862 GB, free: 1.77 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.3909/0.6169, allocations: 1.913 MB / 0.788 GB, free: 46.46 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.082e-05/0.617, allocations: 4.875 kB / 0.788 GB, free: 46.46 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0012/0.6183, allocations: 380.6 kB / 0.7884 GB, free: 46.46 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 5.228e-05/0.6184, allocations: 24.84 kB / 0.7884 GB, free: 46.46 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 4.809e-06/0.6184, allocations: 0 / 0.7884 GB, free: 46.46 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0002083/0.6186, allocations: 127 kB / 0.7886 GB, free: 46.46 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 6.178e-05/0.6187, allocations: 19.7 kB / 0.7886 GB, free: 46.46 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 5.269e-05/0.6187, allocations: 45.02 kB / 0.7886 GB, free: 46.46 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001128/0.6189, allocations: 58.69 kB / 0.7887 GB, free: 46.45 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.498e-05/0.6189, allocations: 2.938 kB / 0.7887 GB, free: 46.45 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004449/0.6193, allocations: 189.2 kB / 0.7889 GB, free: 46.44 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 4.65e-05/0.6194, allocations: 30.3 kB / 0.7889 GB, free: 46.43 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 7.282e-05/0.6195, allocations: 73.5 kB / 0.789 GB, free: 46.41 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0004349/0.6199, allocations: 285.9 kB / 0.7892 GB, free: 46.38 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.119e-06/0.6199, allocations: 5.5 kB / 0.7892 GB, free: 46.38 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.392e-06/0.6199, allocations: 0 / 0.7892 GB, free: 46.38 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.751e-06/0.6199, allocations: 2.031 kB / 0.7892 GB, free: 46.38 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0006032/0.6206, allocations: 488.5 kB / 0.7897 GB, free: 45.97 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.932e-05/0.6206, allocations: 14.28 kB / 0.7897 GB, free: 45.96 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001397/0.6208, allocations: 99.19 kB / 0.7898 GB, free: 45.88 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000163/0.6209, allocations: 292.6 kB / 0.7901 GB, free: 45.6 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.663e-05/0.621, allocations: 151.9 kB / 0.7902 GB, free: 45.45 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.772e-05/0.621, allocations: 156.7 kB / 0.7904 GB, free: 45.3 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.181e-05/0.6211, allocations: 115.2 kB / 0.7905 GB, free: 45.19 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.472e-05/0.6211, allocations: 75.28 kB / 0.7906 GB, free: 45.12 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.348e-05/0.6211, allocations: 150.6 kB / 0.7907 GB, free: 44.97 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.88e-05/0.6211, allocations: 150.6 kB / 0.7908 GB, free: 44.82 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.447e-05/0.6212, allocations: 155.2 kB / 0.791 GB, free: 44.67 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002446/0.6214, allocations: 0.5027 MB / 0.7915 GB, free: 44.19 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 4.211e-05/0.6215, allocations: 171.7 kB / 0.7917 GB, free: 44.02 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.792e-05/0.6215, allocations: 83.48 kB / 0.7917 GB, free: 43.93 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.511e-05/0.6215, allocations: 75.28 kB / 0.7918 GB, free: 43.86 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.337e-05/0.6215, allocations: 110.4 kB / 0.7919 GB, free: 43.74 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=0): time 9.02e-07/0.6215, allocations: 3.094 kB / 0.7919 GB, free: 43.74 MB / 0.6544 GB Notification: Performance of matching and sorting (n=0): time 0.0001626/0.6217, allocations: 51.33 kB / 0.792 GB, free: 43.7 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.701e-05/0.6217, allocations: 52.59 kB / 0.792 GB, free: 43.64 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002754/0.622, allocations: 321.2 kB / 0.7923 GB, free: 43.52 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 8.616e-06/0.622, allocations: 30.83 kB / 0.7923 GB, free: 43.49 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 5.362e-05/0.6221, allocations: 119.4 kB / 0.7925 GB, free: 43.4 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.184e-06/0.6221, allocations: 2.688 kB / 0.7925 GB, free: 43.4 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.738e-05/0.6222, allocations: 60.67 kB / 0.7925 GB, free: 43.38 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 6.354e-05/0.6222, allocations: 330.3 kB / 0.7928 GB, free: 43.07 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.447e-05/0.6223, allocations: 60.39 kB / 0.7929 GB, free: 43.07 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001012/0.6224, allocations: 121.9 kB / 0.793 GB, free: 43.02 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001899/0.6226, allocations: 209.9 kB / 0.7932 GB, free: 42.96 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.6226, allocations: 2.125 kB / 0.7932 GB, free: 42.96 MB / 0.6544 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0003854/0.623, allocations: 232.4 kB / 0.7934 GB, free: 42.92 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.352e-05/0.623, allocations: 9.188 kB / 0.7934 GB, free: 42.92 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.444e-06/0.623, allocations: 3.406 kB / 0.7934 GB, free: 42.92 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.495e-05/0.6231, allocations: 2.625 kB / 0.7934 GB, free: 42.92 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.292e-06/0.6231, allocations: 4.25 kB / 0.7935 GB, free: 42.92 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.706e-06/0.6231, allocations: 6.375 kB / 0.7935 GB, free: 42.92 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001127/0.6232, allocations: 36.31 kB / 0.7935 GB, free: 42.89 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.004e-05/0.6232, allocations: 2.625 kB / 0.7935 GB, free: 42.89 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 7 (cab[1].material,cab[2].material,cab[3].material,cab[4].material,cab[5].material,cab[6].material,cab[7].material) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 7 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001174/0.6233, allocations: 226.5 kB / 0.7937 GB, free: 42.7 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.6e-05/0.6234, allocations: 119.5 kB / 0.7938 GB, free: 42.59 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.881e-05/0.6234, allocations: 122.2 kB / 0.7939 GB, free: 42.48 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.393e-05/0.6235, allocations: 180 kB / 0.7941 GB, free: 42.3 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.336e-05/0.6235, allocations: 103.2 kB / 0.7942 GB, free: 42.2 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 4.912e-05/0.6235, allocations: 198.5 kB / 0.7944 GB, free: 41.98 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.153e-05/0.6236, allocations: 184.5 kB / 0.7946 GB, free: 41.8 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001058/0.6237, allocations: 107.5 kB / 0.7947 GB, free: 41.7 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.663e-05/0.6238, allocations: 180.4 kB / 0.7949 GB, free: 41.52 MB / 0.6544 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 5.345e-05/0.6238, allocations: 257.8 kB / 0.7951 GB, free: 41.27 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001181/0.6239, allocations: 410.2 kB / 0.7955 GB, free: 40.87 MB / 0.6544 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 4.453e-05/0.624, allocations: 103.6 kB / 0.7956 GB, free: 40.76 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0001648/0.6242, allocations: 214.8 kB / 0.7958 GB, free: 40.68 MB / 0.6544 GB Notification: Performance of Backend: time 3.7e-07/0.6242, allocations: 1.5 kB / 0.7958 GB, free: 40.68 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0006347/0.6248, allocations: 272.6 kB / 0.7961 GB, free: 40.61 MB / 0.6544 GB Notification: Performance of SimCode: time 0.0005606/0.6254, allocations: 1.066 MB / 0.7971 GB, free: 39.67 MB / 0.6544 GB Notification: Performance of Templates: time 0.004857/0.6302, allocations: 2.317 MB / 0.7994 GB, free: 39.48 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.makefile (rm -f Buildings_8_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe ; mkfifo Buildings_8_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe >> ../files/Buildings_8_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.sim & ./Buildings_8_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe 2>&1)